Weather widget [a11y] Missing alternative text
Categories
(Firefox :: New Tab Page, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: A02291979, Assigned: rhamoui, NeedInfo)
References
(Blocks 2 open bugs)
Details
(Keywords: access, Whiteboard: [hnt])
Attachments
(2 files)
Impacted Section/Element
HNT
Steps to Reproduce
Open DevTools. Inspect the "Weather" widget while its size is set to small. While using a screen reader, navigate into the widget. Compare the visible label to what the screen reader announces.
Expected Behavior
The screen reader announces all of the content visually presented in the widget, including the current weather conditions that are visually represented by a weather icon (for example "Sunny").
Actual Behavior
All information presented visually, except the conditions represented by the weather icon, are exposed to screen reader users.
User Impact
Screen reader users do not receive the current weather conditions because the weather icon lacks a text alternative.
WCAG 2.2 References
Recommendations
Apply role="img" and an aria-label indicating the conditions, e.g., <span class="weatherIcon iconId1 role="img" aria-label="sunny"></span>.
Testing Environment
Any
Assistive Technology Used
Any
Further Reference
Severity
3-Moderate
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 1•2 months ago
|
||
S2 because there is information which is available to some users but not others.
Updated•2 months ago
|
Comment 2•2 months ago
|
||
The severity field is not set for this bug.
:thecount, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 month ago
|
Comment 3•1 month ago
|
||
FYI - This should be a straight forward fix. We have a hidden element, weather-info-description that contains the conditions string in text. We can add that prop to an ARIA-attr, etc.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Comment 4•1 month ago
|
||
Updated•1 month ago
|
Updated•1 month ago
|
Comment 6•1 month ago
|
||
| bugherder | ||
Updated•21 days ago
|
Description
•