What the person is doing
The product behaves like an application or editor with many stable commands.
Application · lesson 19 of 20 · Selection And Choice
Underlying principle: Choice controls express how many options are available, how many may be selected, and when the selection takes effect. The control should reveal the meaning and consequence of each choice.
Provide a persistent menu or menubar with top-level command groups, managed composite focus, submenus, checked and disabled command state, predictable keyboard navigation, activation, dismissal, and focus return.
Choice controls express how many options are available, how many may be selected, and when the selection takes effect. The control should reveal the meaning and consequence of each choice.
The product behaves like an application or editor with many stable commands.
Provide a persistent menu or menubar with top-level command groups, managed composite focus, submenus, checked and disabled command state, predictable keyboard navigation, activation, dismissal, and focus return.
Persistent closed menubar state with labelled top-level command groups.
Is this truly a persistent application command system, or is it navigation, a toolbar, or a local overflow?
The persistent bar has role menubar and a visible label or accessible name.
The product behaves like an application or editor with many stable commands.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The product behaves like an application or editor with many stable commands.
Provide a persistent menu or menubar with top-level command groups, managed composite focus, submenus, checked and disabled command state, predictable keyboard navigation, activation, dismissal, and focus return.
Persistent closed menubar state with labelled top-level command groups.
A menubar announces command semantics but behaves like a normal link row.
Use role menubar for a persistent application command bar and role menu for submenus.
W3C WAI - checked
APG defines menu and menubar as application command widgets with composite focus, top-level and submenu keyboard behavior, item roles, disabled state, checked state, groups, separators, labeling, and orientation.
MDN Web Docs - checked
MDN documents menubar as a persistent horizontal command surface with focusable menu items, roving tabindex, submenus, accessible naming, orientation, disabled item focusability, and keyboard behavior.
MDN Web Docs - checked
MDN distinguishes ARIA menu from generic site navigation and documents action-oriented menu semantics, item roles, disabled state, separators, labeling, and focus management.
Adobe Spectrum - checked
Spectrum documents menu item labels, descriptions, values, unavailable and disabled states, sections, dividers, checkable selection states, keyboard focus, text wrapping, and keyboard interactions.
Source trail checked: