Skip to content

Commit a7f2532

Browse files
fix(accessibility): frame must have a title attribute (#7754)
1 parent d9d8c77 commit a7f2532

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: lang/en.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,6 @@
8585
"End of dialog window.": "End of dialog window.",
8686
"{1} is loading.": "{1} is loading.",
8787
"Exit Picture-in-Picture": "Exit Picture-in-Picture",
88-
"Picture-in-Picture": "Picture-in-Picture"
88+
"Picture-in-Picture": "Picture-in-Picture",
89+
"No content": "No content"
8990
}

Diff for: src/js/resize-manager.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ class ResizeManager extends Component {
9292
createEl() {
9393
return super.createEl('iframe', {
9494
className: 'vjs-resize-manager',
95-
tabIndex: -1
95+
tabIndex: -1,
96+
title: this.localize('No content')
9697
}, {
9798
'aria-hidden': 'true'
9899
});

0 commit comments

Comments
 (0)