Elements with 'content-visibility: hidden' are visible in the accessibility tree
Categories
(Core :: Disability Access APIs, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: jihye, Assigned: jihye, NeedInfo)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Steps to reproduce:
- Load the test page with content having 'content-visibility: hidden'
- Open the "Web Developer Tools"
- Select the "Accessibility" Tab
- Check if the content having 'content-visibility: hidden' is shown in the accessibility tree
Actual results:
The content having 'content-visibility: hidden' is shown in the accessibility tree
Expected results:
Referring to the CSS Containment spec,
(https://www.w3.org/TR/css-contain-2/#cv-a11y)
The skipped contents of content-visibility: hidden elements must similarly be "skipped" (omitted) in the accessibility tree (similar to how display: none elements are omitted in all views of the document).
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
This change fixs that the element specified with 'content-visibility:hidden' doesn't appear in the accessibility tree.
The approach is not to create the node in a11y tree if the element has 'content-visibility:hidden'.
With this patch, all the tests related to the accessibility tests in wpt_internal directory* are passed.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jihye, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
This should be a tad simpler.
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c670332e2cf1 Omit the element hidden by 'content-visibility:hidden' from the accessibility tree r=emilio,Jamie https://hg.mozilla.org/integration/autoland/rev/0d107468f537 Clean-ups and test fixes on top of the previous patch. r=Jamie
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/cb7498983717 Address comment nits that I forgot to upload.
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c670332e2cf1
https://hg.mozilla.org/mozilla-central/rev/0d107468f537
https://hg.mozilla.org/mozilla-central/rev/cb7498983717
Description
•