-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Menu] ARIA APG: Disabled menu items should be focusable with keyboard navigation #33603
Comments
This could be made into a separate issue or this could be scoped down. I'm not sure how actually |
We've got this working in the unstyled version of the Menu: MenuUnstyled. It will serve as a foundation for Material UI component in the future (we aim for the next major version - v6). I'll keep this issue open for reference. |
Duplicates
Latest version
Current behavior 😯
Expected behavior 🤔
Steps to reproduce 🕹
Steps:
https://codesandbox.io/s/mui-disabled-menu-item-keyboard-navigation-8k3rwl
Context 🔦
According to APG menu/menubar pattern[1], disabled menu items should be focusable but cannot be activated (see "NOTE" in [1]).
The APG menu button pattern[2] does not override these requirements, and instead specifies that the specifications of Menu/Menubar should be followed after a menu is opened.
[1] https://www.w3.org/WAI/ARIA/apg/patterns/menu/
[2] https://www.w3.org/WAI/ARIA/apg/patterns/menubutton/
The text was updated successfully, but these errors were encountered: