[a11y] Button lacks accessible name
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 ("Weather change location" dialog, "List" widget)
Steps to Reproduce
On HNT, open DevTools. Activate the ••• button in the top right corner of the "Weather" widget, and activate the "Change location" button in the dropdown. In the resulting dialog, inspect the x icon button in the "Search location" input. On HNT while the "List" widget has two or more lists, there is an arrow icon button to the right of the list name. Inspect that button.
Expected Behavior
name conveys button function.
Actual Behavior
name is undefined.
User Impact
Visual users can associate the x icon button with the "Search location" input based on proximity. Screen reader users know that the button immediately follows the input, but won’t be certain whether the button is still associated with the item or they have moved on to something else. For the arrow icon button in the "List" widget, it has the function of "Change List".
WCAG 2.2 References
Recommendations
Apply aria-label="Clear" to the x icon button. Apply aria-label="Change List" to the arrow icon button.
Testing Environment
Any
Assistive Technology Used
Any or None
Further Reference
Severity
2-Significant
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•2 months ago
|
Comment 1•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.
Comment 2•2 months ago
|
||
The severity should only be set by the triage owner. Thanks.
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 3•1 month ago
|
||
I'm going to apply aria-label="Clear text" for the weather input's X button so as to match what we currently have in topsites/shortcuts: https://searchfox.org/firefox-main/source/browser/locales/en-US/browser/newtab/newtab.ftl#68
| Assignee | ||
Comment 4•1 month ago
|
||
Updated•1 month ago
|
Comment 6•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
Description
•