Writing Accessible Menubar Labels
Writing Accessible Menubar Labels records a distinct W3C APG-supported wording task while keeping implementation mechanics outside the writing guidance.
Give a menubar a concise name that identifies the purpose of its command set and distinguishes it from other menubars.
Key details
Important caveats
Scope Boundary
This page covers the menubar container name; individual menu-item text, submenu behavior, and keyboard navigation are separate concerns.
Further guidance
Content
Label a menubar by the purpose or command set it provides, using wording that distinguishes it from other menubars on the page or in the application.
Practical Application
Give a menubar a concise name for the command set or application area it represents, especially when more than one menu-like region is present; avoid generic labels that do not distinguish one menubar from another.
Purpose
A purpose-based menubar name gives screen-reader users context before they move through the contained menu items.
Reader Check
If two menubars were listed by name, could a user tell which one contains the commands they need?
Worked Example
Example: Use “Document commands” and “Table commands” for two distinct menubars rather than naming both simply “Menu.”
Sources and evidence
Sources are shown with the role they play in this guide. Historical or style-sensitive claims are kept within the evidence boundary described above.
- Menu and Menubar Pattern — WAI-ARIA Authoring Practices Guide (opens in a new tab)World Wide Web Consortium (W3C) · W3C APG guidance for accessible naming of menubars and their purpose.