Accessibility in Blazor ContextMenu component
03 Aug 2021 / 2 minutes to read
Context Menu provides built-in compliance with
WAI-ARIA support is achieved through the attributes like
aria-haspopup applied for menu item in
Context Menu. It helps the people with disabilities by providing information about the widget for assistive
technology in the screen readers. Context Menu component contains the
menu role and
||This role will be specified for an item which have sub menu.
||This role will be specified for an item that do not have sub menus.
||Indicates the availability and type of interactive popup element.
||Indicates whether the subtree can be expanded or collapsed, as well as indicates whether its current state is expanded or collapsed.
Closes the opened ContextMenu.|
Selects the focused item.|
Navigates up or to the previous menu item.|
Navigates down or to the next menu item.|
Close the current sub menu and navigates to the parent menu.|
Navigates and open the next sub menu.|