1
0
mirror of https://github.com/videojs/video.js.git synced 2025-07-15 01:34:23 +02:00

fix(accessibility): frame must have a title attribute (#7754)

This commit is contained in:
Grzegorz Blaszczyk
2022-05-18 17:00:41 +02:00
committed by Pat O'Neill
parent efde614c11
commit 05d52783e6
2 changed files with 4 additions and 2 deletions

View File

@ -85,5 +85,6 @@
"End of dialog window.": "End of dialog window.",
"{1} is loading.": "{1} is loading.",
"Exit Picture-in-Picture": "Exit Picture-in-Picture",
"Picture-in-Picture": "Picture-in-Picture"
"Picture-in-Picture": "Picture-in-Picture",
"No content": "No content"
}

View File

@ -92,7 +92,8 @@ class ResizeManager extends Component {
createEl() {
return super.createEl('iframe', {
className: 'vjs-resize-manager',
tabIndex: -1
tabIndex: -1,
title: this.localize('No content')
}, {
'aria-hidden': 'true'
});