MDN ARIA menu role
Documents the menu role as a composite widget for lists of actions or functions, with menuitem, menuitemcheckbox, and menuitemradio descendants, focus management, labeling, disabled state, and keyboard behavior; it also distinguishes menu semantics from ordinary page content.
What this source can teach
Use this source to check a technical or accessibility requirement against its exact wording and scope.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- Check the setting. Compare the source's platform, people, and constraints with your own decision.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Menu / menubar | Choose a menu or menubar when the interface has a stable, application-like command hierarchy that users revisit frequently. | The persistent bar has role menubar and a visible label or accessible name. | MDN distinguishes ARIA menu from generic site navigation and documents action-oriented menu semantics, item roles, disabled state, separators, labeling, and focus management. |
| Menu button | Choose a menu button when one trigger reveals a short local set of actions or command-like links. | The trigger is a button or equivalent control with a clear name, aria-haspopup set to menu or true, and aria-expanded synchronized with visibility. | MDN documents the menu role as a composite command widget with menuitem descendants, focus management, labeling, disabled state, and keyboard expectations. |
Comparisons supported by this source
- Menu / menubar vs menu button vs mega menu vs global navigation
MDN distinguishes ARIA menu from generic site navigation and documents action-oriented menu semantics, item roles, disabled state, and focus management.
- Menu button vs command palette vs select vs confirmation dialog
MDN documents menu role expectations for action-oriented composite widgets and distinguishes them from arbitrary page content.
Evidence Role
This source is treated as spec evidence. Its value comes from the specific claims and setting described above.
Publisher: MDN Web Docs. Last checked: .