1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-24 08:42:25 +02:00

fix: Remove unnecessary ARIA role on the Control Bar. (#5154)

There doesn't seem to be any point in indicating the Control Bar as a separate object - it's all just part of the video player. Perhaps in the future, if there's content which isn't part of the control bar that needs to be clearly distinguishable from the control bar, then it would make sense, but right now you don't interact with the control bar and it doesn't convey any concept of grouping.

Fixes #5134
This commit is contained in:
Owen Edwards 2018-05-11 11:00:07 -07:00 committed by Gary Katsevman
parent 1c74e4fa0b
commit 8a08957835

View File

@ -39,10 +39,6 @@ class ControlBar extends Component {
return super.createEl('div', {
className: 'vjs-control-bar',
dir: 'ltr'
}, {
// The control bar is a group, but we don't aria-label it to avoid
// over-announcing by JAWS
role: 'group'
});
}
}