Writing & StyleStyle guide

Writing Accessible Menubar Labels

Writing Accessible Menubar Labels records a distinct W3C APG-supported wording task while keeping implementation mechanics outside the writing guidance.

Quick answer

Give a menubar a concise name that identifies the purpose of its command set and distinguishes it from other menubars.

Key details

Core IssueW3C APG recommends an accessible name for a menubar so users can understand its context and purpose, especially when more than one menu-like structure is present.
Registerweb accessibility and interface content

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.

  1. 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.

Explore the topic