Skip to main content

Menu

Menus are multi-level navigational components that organize hierarchical data into selectable items.

Accessibility Support

Out of the box, the Telerik and Kendo UI Menu provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.

The Menu is compliant with the Web Content Accessibility Guidelines (WCAG) 2.2 standards and Section 508 requirements, follows the Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) best practices for implementing the keyboard navigation and provides options for managing its focus and is tested against the most popular screen readers.

Menu

ARIA Attributes

AttributeDescription
aria-orientation="vertical"Announces the Menu orientation when vertical.
aria-hidden="true"Expand arrow elements are hidden from assistive technologies.
tabindex="-1"Scroll buttons are removed from the tab sequence.
aria-labelScroll buttons have an accessible label.
role="menu"|"menubar"When true, renders as context menu (role="menu"); otherwise role="menubar".

Keyboard Navigation

TriggerBehavior
ArrowUp(For root items) Opens the item and focuses the last child.; (For child items) Focuses the previous item.
ArrowDown(For root items) Opens the item and focuses the first child.; (For child items) Focuses the next item.
ArrowLeft(For root items) Focuses the previous item.; (For child items) For direct children of a root item, focuses and opens the previous root item. Otherwise, closes and focuses the parent.
ArrowRight(For root items) Focuses the next item.; (For child items) If the item has children, opens the item and focuses the first child. Otherwise, focuses and opens the next root item.
HomeFocuses the first item.
EndFocuses the last item.
EnterSelects the focused item. If the item has children, opens the item and focuses the first child. If the item does not have children and has a URL, navigates to the specified URL.
SpaceSelects the focused item. If the item has children, opens the item and focuses the first child. If the item does not have children and has a URL, navigates to the specified URL.
Escape(For child items) Closes and focuses the parent.
Alphanumeric characterFocuses the next item with text starting with the character.
ArrowUpFocuses the previous item.
ArrowDownFocuses the next item.
ArrowLeft(For root items) opens the item and focuses the last child.; (For child items) closes and focuses the parent.
ArrowRightIf the item has children, opens the item and focuses the first child. For child items without children, focuses and opens the next root item.

UX Behavior

FeatureDescription
Horizontal / VerticalCan be rendered as a horizontal menu bar or a vertical sidebar.
SubmenusItems with children open a flyout submenu on hover or click.
Popup positioningSubmenus automatically flip when they would overflow the viewport.
Disabled itemsIndividual items can be disabled and are skipped during keyboard navigation.

MenuItem

ARIA Attributes

AttributeDescription
role="menuitem"Announces the Menu item role.
aria-haspopup="menu"Indicates a popup menu is associated with the item.
aria-disabled="true"Informs assistive technologies that a Menu item is disabled.
tabindex="0"The focused item has tabindex 0.
aria-controls="ul.k-menu-group id"Points to the ID of the submenu. Only present when the item controls a submenu element.
aria-expandedstate for expandable items

UX Behavior

FeatureDescription
Action triggerClicking the item executes its associated action or navigates to its link.
Submenu indicatorDisplays an arrow when the item has a nested submenu.
Disabled stateWhen disabled, the item is non-interactive.
SeparatorA horizontal line variant visually divides groups of items.

MenuList

ARIA Attributes

AttributeDescription
role="menu"The role of the nested menu displayed in a popup.
idEach nested menu has a deterministic id linked to the parent aria-controls.

MenuListItem

ARIA Attributes

AttributeDescription
aria-expandedstate for expandable items

Testing

The Menu has been extensively tested automatically with axe-core and manually with the most popular screen readers.

Screen Readers

The Menu has been tested with the following screen readers and browsers combinations:

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS

Resources

Feedback