Glossary · Intermediate
Accessible name
An accessible name is the text alternative by which assistive technology identifies a user-interface element.
- Author
- Editorial team
- Reviewer
- Publication review pending
- Review tier
- annual
Definition
An accessible name identifies a control, landmark, image, or other interface object to assistive technology. Visible text often supplies the best name.
Example
<button type="button">Save draft</button>
Here, “Save draft” is both visible and available to the accessibility tree. Prefer that agreement over an invisible label that contradicts the interface.