Spørsmål

Testar på krav:

  • 1.3.1 Informasjon og relasjoner

Innhaldstype:

Krav til samsvar:

Applicability

This rule applies to any role attribute for which all the following are true:

Expectation

Each test target has at least one token which is a valid value corresponding to a non-abstract role from WAI-ARIA Specifications.

Assumptions

  • This rule assumes that the role attribute is used to provide an ARIA semantic role to the elements. If it is used for other purposes, this rule shouldn't be used.
  • This rule assumes that elements with a role attribute have their intended structure and relationship conveyed through some sort of presentation. If it is not the case, it is possible to fail this rule while still satisfying Success Criterion 1.3.1 Info and Relationship.
  • This rule assumes that the intended role of the element is not its implicit role. If no token is valid, User Agents will default to the implicit role for the element; if that role is the intended one, it is possible to fail this rule but still satisfy Success Criterion 1.3.1 Info and Relationship.