-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some ARIA parent roles must contain specific child roles to perform their intended accessibility functions. #62
Comments
.dropdown-menu should probably be role="group" instead of a menubar within a menubar, but I'm not expert. I believe the issue is that there is a menubar within a menubar when using a dropdown menu |
@danderson421 yup, that's definitely a bug! Submenus should be role "menu". This is probably an upstream issue, so we'll fix it in accessible-menu and that it'll update here as well. https://www.w3.org/WAI/ARIA/apg/patterns/menubar/examples/menubar-navigation/ |
It's probably also worth looking into automated lighthouse tests so prevent these kinds of bugs in the future. I'll need to look into that. |
This is to resolve issues with menubar submenu roles See #62
This is to fix menubar submenu roles See #62
This fixes menubar submenu roles See NickDJM/accessible-menu-bootstrap-5#62
Thanks! Love the script. |
@danderson421 Glad to hear it! This change is now captured in v1.0.3 (and also in the latest releases of the beta, main accessible-menu project, and the bs4 version). |
Lighthouse reports new error:
Some ARIA parent roles must contain specific child roles to perform their intended accessibility functions.
What are the steps to reproduce this issue?
The text was updated successfully, but these errors were encountered: