Rule: role must be valid

Rule ID Widget 3
Conformance Required
Definition role attribute value must be a widget, section, landmark or live region role.
Purpose
  • Elements with role attributes describe the sections of a document (i.e landmarks) or the types of interactive elements (i.e. widgets) to users of assistive technologies, especially screen reader users.
Conformance Required
WCAG Success Criteria

Success Criterion 4.1.2 Name, Role, Value

Rule Category ARIA Widgets
Rule Scope Element
Techniques
  • Use ARIA landmark roles to describe the sections of a web page.
  • Use ARIA widget roles to describe interactive elements on a web page
  • Note: DPUB roles are designed to be used for digital books and not the web. If you use DPUB roles on your web pages verify that they add the functionality you intend by testing with the assistive technologies that support DPUB.
Information Links