♿Accessible Name
Also known as aria-label, Accessible Label, Control Name
The name a screen reader says for a control, like Search or Close.
Think of it like
It is like the name a friend calls out for you. Without it, nobody knows who to look for.
Example
A row of icon buttons reads as button, button, button. After adding names, it reads as Edit, Share, Delete.
Why it matters
A control with no name is a guess. People cannot use what they cannot name.
Definition
Example code
html
<button aria-label="Close">
<svg aria-hidden="true">...</svg>
</button>Common mistake
Key takeaways
- 1What is spoken. For each control.
- 2From visible text first. Label, content, alt.
- 3Match what is shown. Voice users say it.