RESOLVED FIXED Bug 123749
AX: media controls accessibility needs more work
https://bugs.webkit.org/show_bug.cgi?id=123749
Summary AX: media controls accessibility needs more work
James Craig
Reported 2013-11-04 11:09:59 PST
AX: usability clean up on media controls accessibility Bug 121990 resolved the accessibility regressions in the media controls, but some of the button roles/descriptions could be improved. For example, there is a "Display Full Screen" check box, that would be better exposed as "Exit Full Screen, button" than "Display Full Screen, checked check box". Similarly, the Mute button should switch to an "Unmute, button" rather than "Mute, checked check box." There are probably a few more items to clean up, too.
Attachments
partial patch (may need more) (13.12 KB, patch)
2013-11-04 18:51 PST, James Craig
jcraig: commit-queue-
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2 (526.78 KB, application/zip)
2013-11-04 19:40 PST, Build Bot
no flags
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion (585.18 KB, application/zip)
2013-11-04 20:22 PST, Build Bot
no flags
patch (23.35 KB, patch)
2013-11-04 22:17 PST, James Craig
jer.noble: review+
patch with review feedback (24.42 KB, patch)
2013-11-05 17:55 PST, James Craig
no flags
Radar WebKit Bug Importer
Comment 1 2013-11-04 11:10:26 PST
James Craig
Comment 2 2013-11-04 13:45:56 PST
Looks like the captions popup never really worked properly either. (Not a regression, but needs fixing.)
James Craig
Comment 3 2013-11-04 18:51:59 PST
Created attachment 215982 [details] partial patch (may need more)
James Craig
Comment 4 2013-11-04 18:58:54 PST
Now the caption popup is screen reader and keyboard accessible, assuming you can get keyboard focus into the shadow DOM (e.g. with a screen reader or with a mouse click on the Captions popup button). Arrow keys change selection, escape will close the menu, and spacebar/return/enter will select the current menu item, matching OS X HI guidelines for keyboard control of menus.
James Craig
Comment 5 2013-11-04 19:02:05 PST
(In reply to comment #4) > …assuming you can get keyboard focus into the shadow DOM… This is in reference to Bug 117857 - FKA: Default HTML 5 Video controls are not keyboard accessible
Build Bot
Comment 6 2013-11-04 19:40:56 PST
Comment on attachment 215982 [details] partial patch (may need more) Attachment 215982 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/19598935 New failing tests: media/controls-styling-strict.html accessibility/media-element.html media/controls-strict.html media/audio-controls-rendering.html media/controls-without-preload.html
Build Bot
Comment 7 2013-11-04 19:40:58 PST
Created attachment 215985 [details] Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-15 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 8 2013-11-04 20:22:35 PST
Comment on attachment 215982 [details] partial patch (may need more) Attachment 215982 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/20328818 New failing tests: media/controls-strict.html media/controls-styling-strict.html media/audio-controls-rendering.html accessibility/media-element.html media/controls-without-preload.html media/controls-after-reload.html
Build Bot
Comment 9 2013-11-04 20:22:36 PST
Created attachment 215989 [details] Archive of layout-test-results from webkit-ews-02 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-02 Port: mac-mountainlion Platform: Mac OS X 10.8.5
James Craig
Comment 10 2013-11-04 22:17:30 PST
Jer Noble
Comment 11 2013-11-05 17:32:36 PST
Comment on attachment 216004 [details] patch r=me. It'd be nice if the change from aria-checked -> aria-label for muteButton, fullscreenButton, and captionButton was mentioned in the ChangeLog.
James Craig
Comment 12 2013-11-05 17:42:15 PST
(In reply to comment #11) > (From update of attachment 216004 [details]) > r=me. It'd be nice if the change from aria-checked -> aria-label for muteButton, fullscreenButton, and captionButton was mentioned in the ChangeLog. That was this comment: "Updated some of the control labels/roles to improve accessibilty." …but I'll update to provide more specifics.
James Craig
Comment 13 2013-11-05 17:55:54 PST
Created attachment 216105 [details] patch with review feedback
WebKit Commit Bot
Comment 14 2013-11-05 19:48:55 PST
Comment on attachment 216105 [details] patch with review feedback Clearing flags on attachment: 216105 Committed r158713: <http://trac.webkit.org/changeset/158713>
WebKit Commit Bot
Comment 15 2013-11-05 19:48:58 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.