liveBook · Manning

Accessible name

An accessible name is the programmatically determined text label by which an interface element is identified to assistive technologies.

How 2 Manning books explain it

Architecting Accessibility

An accessible name is the programmatically determined text label that identifies an interface element to users of assistive technologies.

How it is used
Identifies links, controls, and forms programmatically so assistive technology users can understand and interact with them.
How deep it goes
Explains naming through the accessibility tree and works through native labels, image links, ARIA alternatives, and naming precedence.
Examples
Contrasts empty icon links with named links and shows a visibly labeled input and a form named by its heading.
What you can do after
Build it from scratch using visible labels and appropriate alternatives, then check that each name communicates its element’s purpose.

Read how Architecting Accessibility explains accessible name →

React in Depth

An accessible name is the programmatically determined text label by which an interface element is identified to assistive technologies.

How it is used
Guides accessibility-oriented component tests by locating elements through semantic roles and accessible names.
How deep it goes
Defines name sources and demonstrates queries, but defers the complete accessible-name algorithm.
Examples
Uses Blog links with text or image alt text and tests a MenuItem rendered with React Testing Library.
What you can do after
Apply it via React Testing Library to query elements by role and accessible name instead of presentation-specific selectors.

Read how React in Depth explains accessible name →

Related concepts

Questions about accessible name

What is accessible name?

An accessible name is the programmatically determined text label by which an interface element is identified to assistive technologies.

Which Manning books explain accessible name?

Architecting Accessibility and React in Depth.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.