[a11y] Button lacks accessible name
Categories
(Firefox :: New Tab Page, defect)
Tracking
()
| Accessibility Severity | s2 |
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•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 1•28 days 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•27 days ago
|
||
The severity should only be set by the triage owner. Thanks.
Updated•15 days ago
|
Updated•15 days ago
|
Updated•15 days ago
|
| Assignee | ||
Comment 3•1 day 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 day ago
|
||
Updated•1 hour ago
|
Description
•