Role does not support accessible name.

Rule ID Widget 13
Definition ARIA roles that prohibit accessible names must not have an accessible name defined using aria-label or aria-labelledby attributes.
  • 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-label or 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.
Required No for HTML4 Legacy Techniques ruleset mapping
WCAG Success Criteria

4.1.2 Name, Role, Value (Level A, Primary Success Criterion)

Rule Category Widgets/Scripting
Scope Element
Target Resources ARIA roles which prohibit an accessible name
  • Remove aria-label or aria-labelledby attribute from the element.
Informational Links