Audio Output Devices prompt is not automatically focused if there's only 1 speaker
Categories
(Core :: Audio/Video, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox138 | --- | fixed |
People
(Reporter: gabrielchl, Assigned: gabrielchl)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:135.0) Gecko/20100101 Firefox/135.0
Steps to reproduce:
- ensure there's only 1 speaker available in your device
- go to https://jan-ivar.github.io/dummy/gum_picker_output2.html
- select "other..." in the speakers dropdown (with mouse / keyboard, which triggers selectAudioOutput())
Actual results:
notice that the prompt is shown, but keyboard focus stays in the webpage
Expected results:
focus should be moved to the prompt & stay trapped in the prompt
Assignee | ||
Comment 1•22 days ago
|
||
Assignee | ||
Comment 2•22 days ago
|
||
Assignee | ||
Comment 3•22 days ago
|
||
it appears that in this patch https://phabricator.services.mozilla.com/D182319 it was made so that it'll tried to focus on the listbox, but in the case of a single there isn't a listbox and therefore focus isn't moved to the prompt
Assignee | ||
Updated•22 days ago
|
Assignee | ||
Comment 4•22 days ago
|
||
Focus the first button in the popup if the list is not shown in the prompt.
This happens when there is only 1 speaker.
Updated•22 days ago
|
Comment 6•15 days ago
|
||
Backed out for causing bc failures @ browser_fullscreen_permissions_prompt.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/cee76168229efcad37112a53e7765a503a4ae0cf
Assignee | ||
Updated•10 days ago
|
Comment 8•9 days ago
|
||
bugherder |
Description
•