Accessibility issues with navigation menu #230
Labels
accessibility
Accessibility can be improved
in treatment
question
Further information is requested
wcag
There an issue with WCAG 2.1 AA compliancy
Erik and Roel reported back these issues.
1.1.1 Non-text Content
1.3.1 Info and Relationships
Fix: make the menu an
<ul>
with<li>
's and<a>
's. For example:The mobile menu acts like a modal but does not follow the modal pattern
The menu can technically be used with a screen reader but the user hears no difference between a normal menu item, or an item that will fold out a sub-menu.
The
<nav>
does not need to be inside the<main>
as it is navigation for more than just the<main>
.When navigating, the focus stays on the menu(item). This is unlike normal navigation between webpages and an unusual pattern.
The menu does not make clear what the current page is. Suggest adding this both visually and with the attribute
aria-current
.You're not using
role="menu"
. This is consistent with other places on the web. Please continue to not use this role."More..."-menu sometimes opens when making window smaller.
The text was updated successfully, but these errors were encountered: