AX: iOS: Video "start playback" playback controls not accessible
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Jul 2015 07:59:35 +0000 (07:59 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Jul 2015 07:59:35 +0000 (07:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=147285

Reviewed by Jer Noble.

The start playback control also needs the right label.

* Modules/mediacontrols/mediaControlsiOS.js:
(ControllerIOS.prototype.createBase):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187386 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js

index 36dcb39..fd04202 100644 (file)
@@ -1,3 +1,15 @@
+2015-07-25  Chris Fleizach  <cfleizach@apple.com>
+
+        AX: iOS: Video "start playback" playback controls not accessible
+        https://bugs.webkit.org/show_bug.cgi?id=147285
+
+        Reviewed by Jer Noble.
+
+        The start playback control also needs the right label.
+
+        * Modules/mediacontrols/mediaControlsiOS.js:
+        (ControllerIOS.prototype.createBase):
+
 2015-07-24  Tim Horton  <timothy_horton@apple.com>
 
         Remove a file that was accidentally added in r142320
index 7756ef3..1a33c60 100644 (file)
@@ -52,6 +52,7 @@ ControllerIOS.prototype = {
         var startPlaybackButton = this.controls.startPlaybackButton = document.createElement('div');
         startPlaybackButton.setAttribute('pseudo', '-webkit-media-controls-start-playback-button');
         startPlaybackButton.setAttribute('aria-label', this.UIString('Start Playback'));
+        startPlaybackButton.setAttribute('role', 'button');
 
         var startPlaybackBackground = document.createElement('div');
         startPlaybackBackground.setAttribute('pseudo', '-webkit-media-controls-start-playback-background');