Label in Name
For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.
In plain language
The name a screen reader announces for a button or link must include the same text that's visibly written on it.
Why it matters
People who use speech-input software (saying "click Search" out loud) rely on the visible label matching what's programmed behind the scenes. If they don't match, voice commands fail, and screen reader users also hear something different from what they see, causing confusion.
In practice
Fails this criterion
A button visibly says "Submit," but the code labels it "Send Form" for assistive technology — someone saying "click Submit" via voice control can't activate it.
Meets this criterion
The same button's visible text ("Submit") and its accessible name match, so both voice commands and screen readers refer to it consistently.
Test it yourself
Compare each button or link's visible text against what a screen reader announces for it (or check the accessible name in browser dev tools). If they don't match, this criterion is failing.