Closed
Bug 2019988
Opened 2 months ago
Closed 2 months ago
Update the panel-list variant of moz-select to use role="combobox"
Categories
(Toolkit :: UI Widgets, task)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
150 Branch
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: hjones, Assigned: akulyk)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [recomp])
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
Details |
Based on some of the issues flagged in bug 2019492 it looks like we need to make improvements to the accessibility semantics of the panel-list variant of moz-select to have it announce properly to screen readers. According to :akulyk updating the panelTargetTemplate to have the following attributes causes this select to announce in the same way as the native select:
role="combobox"
aria-label=${ifDefined(this.ariaLabel)}
aria-labelledby="label"
We should double check if we need both the aria-label and aria-labelledby, since according to MDN aria-labelledby will take precedence over all other methods of providing an accessible name.
| Reporter | ||
Updated•2 months ago
|
Whiteboard: [recomp]
Updated•2 months ago
|
Updated•2 months ago
|
Attachment #9548769 -
Attachment description: WIP: Bug 2019988 - Update the panel-list variant of moz-select to use role="combobox" r=#recomp-reviewers,hjones → Bug 2019988 - Update the panel-list variant of moz-select to use role="combobox" r=#recomp-reviewers,hjones
Pushed by akulyk@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c30a86fae120
https://hg.mozilla.org/integration/autoland/rev/0b7cd0cf7ce9
Update the panel-list variant of moz-select to use role="combobox" r=hjones
Pushed by imoraru@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f1370b7bcba0
https://hg.mozilla.org/integration/autoland/rev/0d7fd62a3b05
Revert "Bug 2019988 - Update the panel-list variant of moz-select to use role="combobox" r=hjones" for causing bc failures on browser_searchDefaultEngine.js.
Comment 4•2 months ago
|
||
Revert for causing bc failures on browser_searchDefaultEngine.js.
Flags: needinfo?(akulyk)
Pushed by akulyk@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/9399fd35dc6e
https://hg.mozilla.org/integration/autoland/rev/9aeaa63f2696
Update the panel-list variant of moz-select to use role="combobox" r=hjones
Comment 6•2 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in
before you can comment on or make changes to this bug.
Description
•