Ignore use of aria-hidden=true on root doc elements (e.g., html and body elements)
Categories
(Core :: Disability Access APIs, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: scottaohara, Assigned: morgan)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
Bug 1880578: Ignore aria-hidden when applied to root document elements and root svg elements r?Jamie
48 bytes,
text/x-phabricator-request
|
Details | Review |
The ARIA spec is updating with a new requirement where user agents must ignore the aria-hidden=true attribute when used on the HTML or BODY element of a web page.
The specific text:
To prevent authors erroneously hiding entire window-rendered documents only to those using assistive technology, user agents MUST NOT expose the hidden state to assistive technologies if it is specified on the root element or the host language element that represents the contents of the primary document in view. For instance, the html or body elements in an HTML document, or the root svg element if it is rendered as its own primary document in the browser window. If authors were to specify aria-hidden="true" on the opening tag for an embedded document, for instance on a math or svg embedded within an HTML document, user agents would still be expected to hide these elements from assistive technologies.
A basic test case, such as, would result in no ignored elements, as the aria-hidden=true on the html element would be ignored.
<html lang=en aria-hidden=true> <h1>hello world</h1> <p>my content</p> <a href=#>a hyperlink</a> </html>
ARIA PR 1880 - https://github.com/w3c/aria/pull/1880
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Description
•