Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ContextualMenu: Document onRender accessibility requirement #1560
Pull request checklist
Description of changes
For keyboard accessibility, all custom-rendered context menus entries need to be focusable so that the FocusZone can set the appropriate tabIndex while navigating through the menu.
Previously, this requirement was not documented which made it very easy to inadvertently create non-accessible context menus. For example, the "ContextualMenu customization example" is currently not keyboard-accessible.
Hopefully this documentation update will make it easier for users to create accessible custom-rendered context menus.