-
Notifications
You must be signed in to change notification settings - Fork 446
Open
Labels
community:contributionIssue will/can be addressed by community contributionIssue will/can be addressed by community contribution
Description
🐛 Bug Report
The MenuButton component is not accessible to keyboard users. When opening the MenuButton, entering tab should advance to the first element in the menu. Shift-tab should place focus back on the button.
💻 Repro or Code Sample
Can be reproduced in any of the MenuButton examples -> https://www.fluentui-blazor.net/MenuButton
💁 Possible Solution
Register an onkeydown listener on both the first menu item (if one exists) and the menu button. If focus is on the menu button, tab will place focus on the first item in the menu. If focus is on the first menu item, a shift-tab will place focus back on the button.
🔦 Context
Caught in manual testing. I will provide a fix
Metadata
Metadata
Assignees
Labels
community:contributionIssue will/can be addressed by community contributionIssue will/can be addressed by community contribution