mirror of
https://github.com/owncast/owncast.git
synced 2025-11-04 05:17:27 +08:00
Add aria-label to player settings button. For #1826
This commit is contained in:
@ -93,6 +93,7 @@ export function createVideoSettingsMenuButton(player, videojs, qualities, latenc
|
|||||||
}
|
}
|
||||||
|
|
||||||
const menuButton = new MenuButton();
|
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.
|
// If none of the settings in this menu are applicable then don't show it.
|
||||||
const tech = player.tech({ IWillNotUseThisInPlugins: true });
|
const tech = player.tech({ IWillNotUseThisInPlugins: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user