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.
Purpose
  • 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.
Mappings
  • HTML4 Legacy Techniques (Recommended)
  • HTML5 and ARIA Techniques (Required)
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
Techniques
  • Remove aria-label or aria-labelledby attribute from the element.
Informational Links