Accessibility Issues
-
With website accessibility lawsuits on the rise, I decided to run a few different accessibility website scans. These ADA accessibility scans don’t seem to agree with each other. That said, these issues came from: https://accessibe.com/accessscan
ISSUE 1:
Elements that act as buttons but use non-button tags (e.g., span, div, a) should include a role=”button” attribute.
Code snapshots of failed elements
- <a href=”#” class=”woocommerce-store-notice__dismiss-link” >Dismiss</a>
ISSUE 2:
Menu items that have a dropdown should include an aria-haspopup=”true” attribute.
3 Code snapshots of failed elements
- <a href=”***” >Shop</a>
- <a href=”***” >Terms</a>
- <a href=”***” >About Us</a>
(These are the main headings in the navbar. I went to Appearance – Menus. There I set Shop, Terms, and About Us as top-level items in the navbar menu. I then nested some other items under each of these by moving them over to the right, so when you hover over these top three links on the website there are additional nested links that will show only on hover.)
ISSUE 3:
Menu items that have a dropdown should include an “aria-expanded” attribute set to “false” by default, which changes to “true” when the dropdown is opened, and back to “false” when closed.
3 Code snapshots of failed elements
- <a href=”***” >Shop</a>
- <a href=”***” >Terms</a>
- <a href=”***” >About Us</a>
If there’s any easy solutions or you believe these are not valid issues, just let me know.
- You must be logged in to reply to this topic.