|
1 | 1 | --- |
2 | 2 | id: bc4a75 |
3 | 3 | name: ARIA required owned elements |
| 4 | +rules_format: 1.1 |
4 | 5 | rule_type: atomic |
5 | 6 | description: | |
6 | 7 | This rule checks that an element with an explicit semantic role has at least one of its required owned elements. |
@@ -34,25 +35,25 @@ Each test target only [owns][] elements with a [semantic role][] from the [requi |
34 | 35 |
|
35 | 36 | **Note:** The definition of [owned by][] used in this rule is different than the definition of ["owned element" in WAI-ARIA](https://www.w3.org/TR/wai-aria-1.2/#dfn-owned-element). See more in the [owned by][] definition. |
36 | 37 |
|
37 | | -## Assumptions |
| 38 | +## Background |
| 39 | + |
| 40 | +Some [required owned elements][] are only valid if they themselves [own][owns] (or "contain") elements with a given [semantic role][]. This is denoted by an arrow (meaning "containing") in the role description. For example, the role `menu` has `group → menuitemradio` as one of its [required owned elements][], meaning that elements with a role of `menu` may only [own][owns] elements with a role of `group` who themselves only [own][owns] elements with a role of `menuitemradio`. |
| 41 | + |
| 42 | +The applicability of this rule is limited to the [WAI-ARIA 1.2 Recommendation][wai-aria 1.2] roles. The [WAI-ARIA Graphics Module][] and [Digital Publishing WAI-ARIA Module (DPUB ARIA) 1.1 (Editors draft)][dpub 1.1] do not include any [required owned elements][]. |
| 43 | + |
| 44 | +**Note:** [Subclass roles](https://www.w3.org/TR/wai-aria-1.2/#subclassroles) of [required owned elements][] are not automatically included as possible [required owned elements][]. For example, the `treeitem` role is not a [required owned elements][] for [`list`](https://www.w3.org/TR/wai-aria-1.2/#list), even though `treeitem` is a [subclass role](https://www.w3.org/TR/wai-aria-1.2/#subclassroles) of `listitem`. |
| 45 | + |
| 46 | +### Assumptions |
38 | 47 |
|
39 | 48 | If the [explicit semantic role][] on the target element is incorrectly used, and any relationships between elements are already programmatically determinable, failing this rule may not result in accessibility issues for users of assistive technologies, and it should then not be considered a failure under [WCAG success criterion 1.3.1 Info and Relationships](https://www.w3.org/TR/WCAG22/#info-and-relationships). |
40 | 49 |
|
41 | | -## Accessibility Support |
| 50 | +### Accessibility Support |
42 | 51 |
|
43 | 52 | - 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. |
44 | 53 | - `aria-owns` has limited support in some user agents. |
45 | 54 | - Assistive technologies are not consistent in how they handle situations where a [required owned element][] has a missing or incorrect role. This can lead to situations where inaccurate owned elements behave as expected in one assistive technology, but not in another. |
46 | 55 | - Some user agents treat the value of `aria-busy` as case-sensitive. |
47 | 56 |
|
48 | | -## Background |
49 | | - |
50 | | -Some [required owned elements][] are only valid if they themselves [own][owns] (or "contain") elements with a given [semantic role][]. This is denoted by an arrow (meaning "containing") in the role description. For example, the role `menu` has `group → menuitemradio` as one of its [required owned elements][], meaning that elements with a role of `menu` may only [own][owns] elements with a role of `group` who themselves only [own][owns] elements with a role of `menuitemradio`. |
51 | | - |
52 | | -The applicability of this rule is limited to the [WAI-ARIA 1.2 Recommendation][wai-aria 1.2] roles. The [WAI-ARIA Graphics Module][] and [Digital Publishing WAI-ARIA Module (DPUB ARIA) 1.1 (Editors draft)][dpub 1.1] do not include any [required owned elements][]. |
53 | | - |
54 | | -**Note:** [Subclass roles](https://www.w3.org/TR/wai-aria-1.2/#subclassroles) of [required owned elements][] are not automatically included as possible [required owned elements][]. For example, the `treeitem` role is not a [required owned elements][] for [`list`](https://www.w3.org/TR/wai-aria-1.2/#list), even though `treeitem` is a [subclass role](https://www.w3.org/TR/wai-aria-1.2/#subclassroles) of `listitem`. |
55 | | - |
56 | 57 | ### Bibliography |
57 | 58 |
|
58 | 59 | - [Understanding Success Criterion 1.3.1: Info and Relationships](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html) |
|
0 commit comments