Open Bug 2056317 Opened 1 month ago Updated 1 hour ago

[a11y] Button lacks accessible name

Categories

(Firefox :: New Tab Page, defect)

Firefox 154
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

Component: General → New Tab Page
Accessibility Severity: --- → s2

The severity field is not set for this bug.
:thecount, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sdowne)
Blocks: 2060957
Severity: -- → S2

The severity should only be set by the triage owner. Thanks.

Severity: S2 → --
Whiteboard: [hnt]
Assignee: nobody → rhamoui

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

Attachment #9632587 - Attachment description: WIP: Bug 2056317 - Add aria-labels and .titles to inline form buttons in Weather and Lists widgets. home-newtab-wattle-reviewers-rotation → Bug 2056317 - Add aria-labels and tooltips to inline form buttons in Weather and Lists widgets. r=#home-newtab-wattle-reviewers-rotation
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: