Accessibility
The ContextMenu
is accessible by screen readers and provides full WAI-ARIA support.
WAI-ARIA Support
The ContextMenu uses the following aria
attributes:
aria-orientation
—If the Menu is vertical.aria-label
—For the item text.aria-disabled
—For disabled items.aria-haspopup
andaria-expanded
—For items with children.
The ContextMenu uses the menubar
, menuitem
, and menu
roles.
To move the focus to the current keyboard navigation position, the ContextMenu utilizes the tabindex
approach.
The ContextMenu also follows the WAI-ARIA best practices for implementing the keyboard navigation and is tested against the popular screen readers.
Section 508
The ContextMenu is compliant with the Section 508 requirements.