Page Title: PROP MONEY | Ready Prop Money FOR SALE ONLINE
August 01, 2021 02:16

Role must have parent

Actions

Severity Action
no actions

Details

Rule ID Widget 8
Definition Role must have a required parent role using the HTML DOM structure or the aria-owns attribute.
Purpose
  • ARIA roles, properties and states describes the features of interactive widgets to users of assistive technologies, especially screen reader users.
  • Roles that are associated with container widgets have important parent/child relationships with other roles.
  • Parent/child relationships are used by assistive technologies for computing the number of items owned by a container and the position of an item (e.g. "third of five links").
  • Container roles are also used by assistive technologies to provide enhanced navigation features for moving between items in lists, tables, grids and treegrids.
WCAG Success Criteria

4.1.2 Name, Role, Value (Level A, Primary Success Criterion)

Rule Category Widgets/Scripting
Scope Element
Target Resources Role with required parent role
Techniques
  • Parent roles can be defined using the HTML DOM structure or the aria-owns attribute.
  • Required parent role is a DOM ancestor of the element.
  • Required parent role references the element using the aria-owns attribute.
  • NOTE: HTML DOM parent/child relationships for defining relationships is preferred over the use of aria-owns attribute, since it is less likely to result in authoring errors associated with creating and referencing elements with unique ids.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.