SIA-R42Elements with a role have required parent
This rule tests conformance of the following accessibility requirements:
This rule checks that an element with a semantic role exists inside its required context.
- The element has a parent in the accessibility tree with a semantic role that is one of the required context roles of the semantic role of the target element.
This rule makes no assumptions.
This rule has the following accessibility support concerns:
User agents do not all have the same accessibility tree. Particularly the method of deriving which element owns which other elements varies between browsers. This can lead to different results for this rule, depending on which accessibility tree is used as input.
aria-ownshas limited support in some user agents.
This document includes material copied from or derived from https://act-rules.github.io/rules/ff89c9/. Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang).