Open
Bug 1401374
Opened 7 years ago
Updated 2 years ago
dom-cyclical aria-owns does not resolve correctly
Categories
(Core :: Disability Access APIs, enhancement, P2)
Core
Disability Access APIs
Tracking
()
NEW
People
(Reporter: eeejay, Unassigned)
References
(Blocks 1 open bug)
Details
Given the following markup:
<div id="a">
<div id="b">
<div id="c" aria-owns="a"></div>
</div>
</div>
<div id="d" aria-owns="b"></div>
The correct a11y tree would be:
-d
--b
---c
----a
Instead we get:
-a
-d
--b
---c
(This markup looks invalid because "c" is a descendant of "a" and it owns it, but in fact "d" breaks the hierarchy of "a" by taking "b" and making that possible).
Chrome resolves this markup correctly.
This has to do with the order in which we process the relocations. If we do it strictly in markup order, aria-owns="a" is ignored.
In contrast, this markup resolves correctly to the tree above:
<div id="d" aria-owns="b"></div>
<div id="a">
<div id="b">
<div id="c" aria-owns="a"></div>
</div>
</div>
Reporter | ||
Updated•7 years ago
|
Priority: -- → P2
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•