Writing & StyleStyle guide

Writing Unique Accessible Names

Writing Unique Accessible Names records a distinct W3C-supported interface-writing task while keeping implementation mechanics outside the writing guidance.

Quick answer

When repeated controls or regions need to be distinguished, add the smallest meaningful context that makes each accessible name unambiguous.

Key details

Core IssueW3C APG advises composing names that distinguish elements from others on the page, especially when multiple elements have the same role or basic action.
Registerweb accessibility and interface content

Important caveats

Scope Boundary

Do not force artificial differences when controls truly perform the same action in the same context; uniqueness should communicate a meaningful distinction.

Further guidance

Content

Add the minimum distinguishing context—such as the affected item, destination, or section—when otherwise identical names would leave users unable to tell elements apart.

Purpose

Distinct names make lists of controls and landmarks understandable when users navigate out of visual context.

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. Providing Accessible Names and Descriptions — W3C WAI ARIA APG (opens in a new tab)W3C Web Accessibility Initiative · W3C WAI-ARIA Authoring Practices guidance for descriptive accessible names, visible labels, and button/control naming.

Explore the topic