role must be valid

Definition role attribute value must be a widget, section, landmark or live region role.
  • Elements with role attributes describe the section of a document (i.e landmarks) and the types of interactive elements (i.e. widgets) to users of assistive technologies, especially screen reader users.
  • HTML4 Legacy Techniques (Required)
  • HTML5 and ARIA Techniques (Required)
WCAG 2.0 Success Criteria

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

Rule Category Widgets/Scripting
Scope Element
Target Resources Elements with role attribute values
  • [role]
  • Use ARIA landmark roles to describe the sections of a web page.
  • Use ARIA widget roles to describe interactive elements on a web page
Informational Links