|ARIA roles that prohibit accessible names must not have an accessible name defined using
- Providing an accessible name for elements or roles provides a way for users to identify the purpose of each landmark, widget, link, table and form control on a web page.
- Versions of the ARIA specification before 1.2 allowed
aria-labelledby to be used on any element, even if an accessible name was not useful .
- For example, defining an accessible name on a
p element or an element with
role=none does not provide any useful accessibility information to assistive technologies. For a
p element the text content is the only part that is needed by assistive technologies.
HTML4 Legacy Techniques
HTML5 and ARIA Techniques
|WCAG Success Criteria
4.1.2 Name, Role, Value (Level A, Primary Success Criterion)
ARIA roles which prohibit an accessible name
aria-labelledby attribute from the element.