Open
Bug 1631695
Opened 5 years ago
Updated 4 years ago
img alt and aria-label ignored on hidden targets of aria-labelledby/aria-describedby
Categories
(Core :: Disability Access APIs, defect, P3)
Core
Disability Access APIs
Tracking
()
NEW
People
(Reporter: Jamie, Unassigned)
References
(Blocks 1 open bug)
Details
STR:
- Open this test case:
data:text/html,<a href="https://mozilla.org/" aria-describedby="icon"><img id="icon" aria-hidden="true" alt="PDF" src="https://via.placeholder.com/10x10.png">Document</a>
- Right click the link and choose Inspect Accessibility Properties.
- Check the description property.
- Expected: "PDF"
- Actual: ""
ARIA allows hidden elements to be targets of aria-labelledby/aria-describedby. We support this for text content inside hidden elements. However, we don't consider the alt or aria-label attributes.
This is probably going to require explicit code for each attribute, as hidden elements aren't in the a11y tree.
Originally reported as NVDA issue: https://github.com/nvaccess/nvda/issues/9443
Updated•4 years ago
|
Severity: -- → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•