From 4fe5eb33b61e07515b42575bc3d3df6970feba4c Mon Sep 17 00:00:00 2001 From: Shunguo Date: Tue, 1 Apr 2025 09:30:01 -0500 Subject: [PATCH 01/10] update the examples for aria-required-owned rule --- _rules/aria-required-owned-element-bc4a75.md | 22 ++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/_rules/aria-required-owned-element-bc4a75.md b/_rules/aria-required-owned-element-bc4a75.md index 038a7edd81..0118ad5c7c 100755 --- a/_rules/aria-required-owned-element-bc4a75.md +++ b/_rules/aria-required-owned-element-bc4a75.md @@ -27,7 +27,7 @@ acknowledgments: ## Applicability -This rule applies to any [HTML or SVG element][] that is [included in the accessibility tree][] and has a [WAI-ARIA 1.2][] [explicit semantic role][] with [required owned elements][], except if the element has an [inclusive ancestor][] in the accessibility tree with an `aria-busy` [attribute value][] of `true`. +This rule applies to any [HTML or SVG element][] that is [included in the accessibility tree][] and has a [WAI-ARIA 1.2][] [explicit or implicit semantic role][] with [required owned elements][], except if the element has an [inclusive ancestor][] in the accessibility tree with an `aria-busy` [attribute value][] of `true`. ## Expectation @@ -93,8 +93,8 @@ This element with the `menu` role only owns elements with the `menuitem`, `menui ```html
-
  • -
  • Item 1
  • +
    +
    Item 1
    Item 2
    Item 3
    @@ -139,6 +139,16 @@ This element with the `menu` role only owns an element with a `group` role. The
    ``` +#### Passed Example 7 + +The element `ul` with an implicit `list` role owns an element `li` with an implicit role `listitem` role. + +```html + +``` + ### Failed #### Failed Example 1 @@ -237,11 +247,11 @@ This element with the `list` role is not included in the accessibility tree beca #### Inapplicable Example 2 -This `ul` element does not have an [explicit semantic role][]. +This `div` element with the `list` role is not included in the accessibility tree because it is hidden . ```html - ``` From 834c355b73236535519d0e6025f52a543b81724b Mon Sep 17 00:00:00 2001 From: Shunguo Date: Tue, 1 Apr 2025 10:54:19 -0500 Subject: [PATCH 02/10] update the test cases --- _rules/aria-required-owned-element-bc4a75.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_rules/aria-required-owned-element-bc4a75.md b/_rules/aria-required-owned-element-bc4a75.md index 0118ad5c7c..a3b91a3b59 100755 --- a/_rules/aria-required-owned-element-bc4a75.md +++ b/_rules/aria-required-owned-element-bc4a75.md @@ -93,8 +93,8 @@ This element with the `menu` role only owns elements with the `menuitem`, `menui ```html
    -
    -
    Item 1 +
    +
    Item 1
    Item 2
    Item 3
    @@ -251,7 +251,7 @@ This `div` element with the `list` role is not included in the accessibility tre ```html