2.5.3: Label in Name [A]
Description
For user interface components with labels that include text or images of text, the name contains the text that is presented visually.
Note
A best practice is to have the text of the label at the start of the name.
Sufficient Techniques
Sufficient Techniques for Success Criterion 2.5.3
Note: Other techniques may also be sufficient if they meet the success criterion. See Understanding Techniques.
Advisory Techniques
Advisory Techniques for Success Criterion 2.5.3
- If an icon has no accompanying text, consider using its hover text as its accessible name (Potential future technique)
Failures
Failures for Success Criterion 2.5.3
- F96: Failure due to the accessible name not containing the visible label text
- Accessible name contains the visible label text, but the words of the visible label are not in the same order as they are in the visible label text (Potential future technique)
- Accessible name contains the visible label text, but one or more other words are interspersed in the label (Potential future technique)