Browse Source

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

pull/2632/head
Gabe Kangas 3 years ago
parent
commit
e6be36af31
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 1
      web/components/video/settings-menu.ts

1
web/components/video/settings-menu.ts

@ -93,6 +93,7 @@ export function createVideoSettingsMenuButton(player, videojs, qualities, latenc @@ -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 });

Loading…
Cancel
Save