Add aria-label to player settings button. For #1826

This commit is contained in:
Gabe Kangas 2023-01-23 19:36:28 -08:00
parent 24f6bb1ea5
commit e6be36af31
No known key found for this signature in database
GPG key ID: 4345B2060657F330

View file

@ -93,6 +93,7 @@ export function createVideoSettingsMenuButton(player, videojs, qualities, latenc
}
const menuButton = new MenuButton();
menuButton.el().setAttribute('aria-label', 'Settings');
// If none of the settings in this menu are applicable then don't show it.
const tech = player.tech({ IWillNotUseThisInPlugins: true });