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
- This list itemizes all ARIA roles. Refer to W3C's list of description of roles for more information.
- Selecting an item in the list, by clicking on the item or by using the arrow keys, populates the Bottom List.
- 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.
- Parent
Description
Bottom List
Lineage
- Role Subclass Hierarchy - displays the tree of hierarchy of the role selected in the Defined RDF Roles List. The child roletype is displayed as the trunk and the parent roletype as the leafs.
States
- This list is populated when a role in the Defined RDF Roles list is selected.
- 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.
- Supported States - All
Other
- This list is populated when a role in the Defined RDF Roles list is selected.
- This list lists predicated
aria-state attributes other than those listed in Lineage and States, i.emustContainfor the rolecomboboxandrelatedConcept. - Columns
- Predicate - The name of the predicated
aria-state attribute for the selected role is displayed. - Object - The value for the Predicate is displayed.
- Predicate - The name of the predicated
Buttons
- Refresh - re-examines the resource to check presence of roles. See Was On Page.
