Update 09_play_pause_control.js

change title attribute to aria-label on Play button for better screen reader UX
This commit is contained in:
Jeff Witt
2019-01-14 11:02:59 -05:00
parent 48073300e7
commit 13bfc7dc1b

View File

@@ -25,7 +25,7 @@
PlayPauseControl.prototype = {
template: [
'<button class="control video_control play" aria-disabled="false" title="',
'<button class="control video_control play" aria-disabled="false" aria-label="',
gettext('Play'),
'">',
'<span class="icon fa fa-play" aria-hidden="true"></span>',