fix video player various buttons accessibility

This commit is contained in:
Jeff Witt
2019-01-14 11:31:03 -05:00
committed by DawoudSheraz
parent 4fbb4a2674
commit ccbd9d5b83
4 changed files with 8 additions and 3 deletions

View File

@@ -573,7 +573,8 @@ $cool-dark: rgb(79, 89, 93); // UXPL cool dark
color: rgb(231, 236, 238); // UXPL grayscale-cool x-light
@media (max-width: 1120px) {
display: none;
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}
}

View File

@@ -4,6 +4,8 @@
var template = [
'<button class="control add-fullscreen" aria-disabled="false" title="',
gettext('Fill browser'),
'" aria-label="',
gettext('Fill browser'),
'">',
'<span class="icon fa fa-arrows-alt" aria-hidden="true"></span>',
'</button>'

View File

@@ -46,6 +46,8 @@ function(HtmlUtils) {
'<button class="control" aria-disabled="false"',
'" aria-expanded="false" title="',
'{adjustVideoVolume}',
'" aria-label="',
'{adjustVideoVolume}',
'">',
'<span class="icon fa fa-volume-up" aria-hidden="true"></span>',
'</button>',

View File

@@ -41,9 +41,9 @@
'<span>',
'<span class="icon fa fa-caret-right" aria-hidden="true"></span>',
'</span>',
'<span class="label" aria-hidden="true">',
'<span class="label">',
gettext('Speed'),
'</span>',
' </span>',
'<span class="value"></span>',
'</button>',
'<ol class="video-speeds menu"></ol>',