Rule: Role does not support accessible name.

Rule ID Widget 13
Conformance Required
Definition ARIA roles that prohibit accessible names should 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.
Conformance Required
WCAG Success Criteria

Success Criterion 4.1.2 Name, Role, Value

Rule Category ARIA Widgets
Rule Scope Element
  • Remove aria-label or aria-labelledby attribute from the element.
Information Links