You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test case assumes that the aria-live attribute includes it in the accessibility tree, but in ARIA 1.2 divs and spans are always included in the tree with role=generic unless role=presentation or aria-hidden=true is explicitly applied. That means global aria attributes like aria-live don't affect whether divs and spans appear in the tree, so the failed example produces the same a11y tree as:
The problem is if you fail that, then you fail a large number of pages that previously passed with ARIA 1.1, because divs with no role didn't appear in the a11y tree in ARIA 1.1 (and these pages haven't suddenly become less accessible).
ARIA PR 1454 is trying to fix this by skipping role=generic elements when calculating parent/child in the same way as role=presentation elements are skipped
I think something similar needs done for the ACT Rules otherwise a lot of things that previously passed will now fail. The description of role=generic in ARIA 1.2 says
Failed example 3 looks like it has problems with ARIA 1.2:
https://www.w3.org/WAI/standards-guidelines/act/rules/ff89c9/proposed/#failed-example-3
The test case assumes that the aria-live attribute includes it in the accessibility tree, but in ARIA 1.2 divs and spans are always included in the tree with
role=generic
unlessrole=presentation
oraria-hidden=true
is explicitly applied. That means global aria attributes likearia-live
don't affect whether divs and spans appear in the tree, so the failed example produces the same a11y tree as:The problem is if you fail that, then you fail a large number of pages that previously passed with ARIA 1.1, because divs with no role didn't appear in the a11y tree in ARIA 1.1 (and these pages haven't suddenly become less accessible).
ARIA PR 1454 is trying to fix this by skipping role=generic elements when calculating parent/child in the same way as role=presentation elements are skipped
I think something similar needs done for the ACT Rules otherwise a lot of things that previously passed will now fail. The description of role=generic in ARIA 1.2 says
Edit: the mappings for div and span are here:
https://www.w3.org/TR/html-aam-1.0/#el-div
https://www.w3.org/TR/html-aam-1.0/#el-span
We're trying the approach in PR 1454 - that seems to work except for this test case.
The text was updated successfully, but these errors were encountered: