Scripting: List of ARIA RDF Roles

List of RDF Roles is more of an informative referrence than an evaluating tool.

Top List

Defined RDF Roles List

  1. This list itemizes all ARIA roles. Refer to W3C's list of description of roles for more information.
  2. Selecting an item in the list, by clicking on the item or by using the arrow keys, populates the Bottom List.
  3. Columns
    • Parent
      • If the role is a subclass of another role, the name of the parent role is displayed. Roletype is at the top of the hierarchy; but roletype itself is not a role.
      • If the role is a direct subclass of multiple other roles, then the name of the parent role that is first in alphabetical order among the direct parents is displayed and + is added at the end of the name.
    • Role - Names of roles are displayed.
    • Was On Page - The message true is displayed if the role is present on the page, and the message false is displayed if not.
    • Namespace - The namespace used to defined the roletype of an element in the source is displayed, which is wairole by default.

Description

Bottom List

Lineage

States

  1. This list is populated when a role in the Defined RDF Roles list is selected.
  2. Columns
    • Supported States - All aria- state attributes that are supported by the selected role is displayed.
    • Inherited From - The name of the role that the selected role inherits the states from, i.e. the role in which the state was defined or orginated.
    • Namespace - The namespace used to defined the roletype of an element in the source is displayed, which is wairole by default.

Other

  1. This list is populated when a role in the Defined RDF Roles list is selected.
  2. This list lists predicated aria- state attributes other than those listed in Lineage and States, i.e mustContain for the role combobox and relatedConcept.
  3. Columns
    • Predicate - The name of the predicated aria- state attribute for the selected role is displayed.
    • Object - The value for the Predicate is displayed.

Buttons