Skip to content

Commit 8a08957

Browse files
OwenEdwardsgkatsev
authored andcommitted
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
1 parent 1c74e4f commit 8a08957

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/js/control-bar/control-bar.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ class ControlBar extends Component {
3939
return super.createEl('div', {
4040
className: 'vjs-control-bar',
4141
dir: 'ltr'
42-
}, {
43-
// The control bar is a group, but we don't aria-label it to avoid
44-
// over-announcing by JAWS
45-
role: 'group'
4642
});
4743
}
4844
}

0 commit comments

Comments
 (0)