Open
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
- Enter into a Menu with a disabled item
- Use keyboard to navigate Menu
- Observe that disabled items cannot be focused
Expected behavior 🤔
- Enter into a Menu with a disabled item
- Use keyboard to navigate Menu
- Disabled items can be focused
- Disabled items cannot be activated
Steps to reproduce 🕹
Steps:
https://codesandbox.io/s/mui-disabled-menu-item-keyboard-navigation-8k3rwl
- Move focus into Menu
- Use keyboard to navigate
- Observe behaviour
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/
Metadata
Metadata
Assignees
Projects
Status
No status