- What are WAI-ARIA roles?
- What is WAI-ARIA standards?
- When should we use WAI-ARIA roles?
- What are the three types of ARIA attributes?
What are WAI-ARIA roles?
2.1 WAI-ARIA Roles§
A WAI-ARIA role is set on an element using a role attribute, similar to the role attribute defined in Role Attribute [ role-attribute ]. The roles defined in this specification include a collection of document landmarks and the WAI-ARIA role taxonomy.
What is WAI-ARIA standards?
WAI-ARIA (Web Accessibility Initiative - Accessible Rich Internet Applications) is a specification written by the W3C, defining a set of additional HTML attributes that can be applied to elements to provide additional semantics and improve accessibility wherever it is lacking.
When should we use WAI-ARIA roles?
An ARIA role attribute can be added to an element to instruct assistive technologies to treat the element as something other than its native HTML element type. For example, an <a> element with role="button" will be treated as a button, not as a link.
What are the three types of ARIA attributes?
Widget attributes. Live region attributes. Drag-and-drop attributes.