Commit 721fffc9 by Chris Rodriguez

AC-407 adding lable to video progress

parent bf938052
......@@ -44,7 +44,7 @@
expect(timeControl).toHaveAttrs({
'role': 'slider',
'title': 'Video position',
'aria-label': 'Video position',
'aria-disabled': 'false'
});
......
......@@ -83,7 +83,6 @@ function () {
// handle, behaves as a slider named 'video position'.
state.videoProgressSlider.handle.attr({
'role': 'slider',
'title': gettext('Video position'),
'aria-disabled': false,
'aria-valuetext': getTimeDescription(state.videoProgressSlider
.slider.slider('option', 'value')),
......@@ -91,6 +90,7 @@ function () {
'aria-valuemin': '0',
'aria-valuenow': state.videoPlayer.currentTime,
'tabindex': '0'
'aria-label': gettext('Video position')
});
state.el.on('destroy', state.videoProgressSlider.destroy);
......
......@@ -50,7 +50,9 @@ function() {
'</span>',
'</span>',
'</button>',
'<div class="volume-slider-container" aria-hidden="true" title="' + gettext('Adjust video volume') + '">', // jshint ignore: line
'<div class="volume-slider-container" aria-hidden="true" title="',
gettext('Adjust video volume'),
'">',
'<div class="volume-slider" ',
'role="slider"',
'aria-orientation="vertical" ',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment