PIP feature in Firefox: The PIP video buttons don't announce to NVDA/screen reader
Categories
(Toolkit :: Video/Audio Controls, defect, P1)
Tracking
()
People
(Reporter: Dwellaz, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Steps to reproduce:
I have a custom html5 video player that has audio, therefore, the new PIP button appears on hover.
In Firefox + Windows 10, turn on NVDA screen reader. I also use highlighter plugin on NVDA to see where focus moves, but you do you.
Hover the video and invoke the PIP.
PIP launches the video in focusTrap popup.
Tab onto this video.
Notice that NVDA focuses each video player button, but only announces "Button". Each time you tab to another button, NVDA says "Button".
The user doesn't know if they are on play, close, etc.
Actual results:
Using NVDA on a PIP video, the video player buttons do not announce. They only say "button"
Expected results:
Each button on the video player should announce its name to the screen reader. For example, if play button has NVDA focus, it should announce "Play"
A screen reader user would not know which button they need to use to control video playback or close the PIP video unless the buttons announce their proper names.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Assignee | ||
Comment 2•5 years ago
|
||
All of these buttons:
probably want an aria-label
attribute with a text description of what the button does. For the play/pause button, we'll want to update that when the video plays/pauses.
If we want to use FTL here I don't think we can fix this for 73. If we're using DTD we may be able to reuse the videocontrols strings, though that's messy for the play/pause button and live updates.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D60199
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Assignee | ||
Comment 7•5 years ago
|
||
Let's move the close button stuff to bug 1610334.
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cf65ab95f911
https://hg.mozilla.org/mozilla-central/rev/c714bda799cf
Assignee | ||
Comment 9•5 years ago
|
||
Comment on attachment 9121432 [details]
Bug 1608923 - reuse some DTD strings so at least play/pause and the mute/unmute button are labeled, r?mconley
Beta/Release Uplift Approval Request
- User impact if declined: No AT/screenreader support on a new feature
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment #0
- List of other uplifts needed: n/a
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This reuses existing strings to add some labels to some of the buttons in the PiP window where possible. Given anything else requires new strings, this is our best bet for beta.
Note: please do NOT uplift the second commit/patch.
- String changes made/needed: Not in this patch.
Assignee | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Comment on attachment 9121432 [details]
Bug 1608923 - reuse some DTD strings so at least play/pause and the mute/unmute button are labeled, r?mconley
Improves screen reader support for the PiP feature. Approved for 73.0b8. Note that only this patch should be uplifted to Beta.
Comment 11•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Comment 12•5 years ago
|
||
I tried to verify this bug on Windows 10 x64 using Firefox Nightly 74.0a1 (2020-01-22) and only "Play" and "Mute" buttons are announced while using screen reader, "X" and "PIP" buttons are not.
I'm not sure if this is the expected behaviour or not, could you please help us out?
Assignee | ||
Comment 13•5 years ago
|
||
(In reply to Hani Yacoub from comment #12)
I tried to verify this bug on Windows 10 x64 using Firefox Nightly 74.0a1 (2020-01-22) and only "Play" and "Mute" buttons are announced while using screen reader, "X" and "PIP" buttons are not.
I'm not sure if this is the expected behaviour or not, could you please help us out?
Yes, it's expected, I filed bug 1610334 for the [X] and PIP buttons, see comment #7.
Comment 14•5 years ago
|
||
My bad, thanks for the clarification.
Marking this as verified asa fixed on Firefox Nightly 74.0a1 (2020-01-22)
Comment 15•5 years ago
|
||
One more question, is it expected that on Beta while PIP mode is activated the "Volume" button is not displayed?
Assignee | ||
Comment 16•5 years ago
|
||
(In reply to Hani Yacoub from comment #15)
One more question, is it expected that on Beta while PIP mode is activated the "Volume" button is not displayed?
Comment 17•5 years ago
|
||
Verified as fixed on Firefox 73.0b8.
Description
•