Keyboard and screen reader access for Closed Captions menu is not intuitive
Categories
(Toolkit :: Video/Audio Controls, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: Jamie, Assigned: bigiri)
References
(Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: [fidefe-Quality-Foundation])
Attachments
(2 files)
STR (with the NVDA screen reader):
- Go to about:config and set media.videocontrols.keyboard-tab-to-all-controls to true.
- Open https://www.iandevlin.com/html5test/webvtt/html5-video-webvtt-sample.html
- Tab to the Closed Captions button and press space.
- Expected: NVDA should report that a menu has opened or similar.
- Actual: NVDA says nothing.
- Try to access the CC controls with the keyboard.
- Expected: You should be able to get to the CC options with one press of down arrow or at least tab.
- Actual: You have to tab to the Full Screen button and then tab again to get to the CC options.
Here's one possible solution:
- Give the CC menu role="menu" and aria-haspopup="menu". Give its children role="menuitem".
- When the CC menu is open, up/down arrows should focus the CC items.
- When the CC button or a CC item is focused, escape should dismiss the CC menu, restoring focus to the CC button if it was focused before mousedown.
Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Going to set a severity of S2, since this makes it really difficult for users with screenreaders to get to captions with our built-in video controls.
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
When I test this I am able to access the CC controls by using tab and the space bar. I do find that I cannot use the arrow keys as one might expect, but tab and space bar provide access to all of the menu options.
Reporter | ||
Comment 5•2 years ago
|
||
(In reply to Bernard Igiri from comment #4)
When I test this I am able to access the CC controls by using tab and the space bar. I do find that I cannot use the arrow keys as one might expect, but tab and space bar provide access to all of the menu options.
Right, which is as I described in comment 0. However, this is not at all intuitive, and it's especially bad for screen reader users because they are completely unaware that a menu has appeared. They would have to guess that a menu has appeared and then guess that they could get to it with the tab key, neither of which are remotely intuitive. This is the reason for the high severity.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 6•2 years ago
|
||
Improved keyboard and screen reader accessibility for video closed captions menu by adding ARIA attributes, keyboard arrow navigation, and focus behavior to take the user into and out of the CC menu as it opens and closes.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Pushed by bigiri@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55b737b06eeb Keyboard and Screen Reader access for CC improvements r=ayeddi,kpatenio
Comment 8•2 years ago
|
||
bugherder |
Updated•4 months ago
|
Description
•