Open Bug 1840883 Opened 2 years ago Updated 2 years ago

Audio doesn't play from keyboard input

Categories

(Core :: Audio/Video: Playback, defect, P3)

Firefox 114
defect

Tracking

()

People

(Reporter: jesse.greenberg, Unassigned)

References

(Depends on 1 open bug)

Details

Steps to reproduce:

Actual results:

The object moves, but no sound plays.

Expected results:

Sound should play from the webpage. The fact that it will only start playing from specific mouse or activation events is poor for accessibility because people that rely on keyboard input will often miss out on audio feedback.

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Form Controls
Product: Firefox → Core

Doesn't really seem like a Form Controls issue; I'm not sure where this belongs, though. It's presumably related to the fact that auto-playing audio is blocked by default. Moving to the A/V component for triage.

Component: Layout: Form Controls → Audio/Video: Playback

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)

Interesting bug. May well be expected since the user hasn't interacted with the tab aside from a tab into it.

Blocks: media-triage
Severity: -- → S4
Flags: needinfo?(jmathies)

For non-printable keys, currently we only allow space and enter.

Edgar, do you know if the spec defines a full list about what keys should be treated as user gestures? Do you think if it's reasonable to add arrow up/down/left/right into user gesture as well? We initially block those arrow keys in bug 1452536. However, it seems reasonable to me that adding them to user gesture as well because in web game those keys are widely used for control, which should trigger game sound to play as well.

But the only concern is that, using arrow down to scroll page might be distracted if they are not intended to play any media, just wanting to browsing content.

Thanks!

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(echen)
Priority: -- → P3
No longer blocks: media-triage

Yes, it make sense to treat arrow key as user gesture it they are interacting with web content, I think the long-term solution is having a better way to handle browser shortcuts, see bug 1641171.

Depends on: 1641171
Flags: needinfo?(echen)
You need to log in before you can comment on or make changes to this bug.