Closed Bug 1871596 Opened 2 years ago Closed 1 year ago

Submit Search image button on the Search bar lacks interactive role

Categories

(Firefox :: Search, defect)

defect

Tracking

()

RESOLVED FIXED
123 Branch
Accessibility Severity s3
Tracking Status
firefox123 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

(Blocks 2 open bugs)

Details

(Keywords: access)

Attachments

(2 files)

search-go-button urlbar-icon is an <image> element that has an accessible name but lacks an appropriate interactive role, because it functions as a button (not focusable with keyboard because the alternative - Enter key - exists and works for the search submission and we do not want to create an additional tab stop for keyboard-only users). This would prevent users of speech-to-text/Voice Control from being able to send a click to it by calling its label and screen reader users and users of other assistive technology would not be able to get to this control via shortcuts like a list of controls, etc.

This issue is similar to the Go button on the URL bar resolved in the bug 1864962

To activate the searchbar next to the URL Bar that includes this go button: about:preferences > Search > Search Bar > select Add search bar in toolbar.

search-go-button urlbar-icon is an <image> element that has an accessible name but lacks an appropriate interactive role, because it functions as a button (not focusable with keyboard because the alternative - Enter key - exists and works for the search submission and we do not want to create an additional tab stop for keyboard-only users). This would prevent users of speech-to-text/Voice Control from being able to send a click to it by calling its label and screen reader users and users of other assistive technology would not be able to get to this control via shortcuts like a list of controls, etc.

This issue is similar to the Go button on the URL bar resolved in the bug 1864962

To activate the searchbar next to the URL Bar that includes this go button: about:preferences > Search > Search Bar > select Add search bar in toolbar.

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Blocks: 1871980
Blocks: 1823573
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8146df27da1a Add a programmatic role to the search-go-button image within the Searchbar. r=search-reviewers,Standard8
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Blocks: 1286211

Adding the pre-patch visual reference for the control in question

Duplicate of this bug: 1286211
Regressions: 1875654
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: