ARIA Widget Roles
ARIA role: menu
A composite list of commands with application-menu keyboard behavior. Use menuitem variants; implement arrows, activation and Escape for popups. Ordinary site navigation should use links. Static structure only. Explicit roles do not implement visual presentation, interaction or focus management; verify allowed role/element combinations in ARIA in HTML. Accessibility exposure varies with browser, platform and assistive technology. Test relevant combinations; rendering is not proof of accessibility.
Formal Syntax & Structure
html syntaxhtml
role="menu"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| role | token | Explicit role token menu; use only where allowed. Omit when native semantics match. |
Working Example
Example Snippethtml
<div role="menu" aria-label="Edit"> <div role="menuitem" tabindex="0">Copy</div> <div role="menuitem" tabindex="-1">Paste</div></div>