From e6be36af3129154c32b767dd5424093cc70f12c6 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 23 Jan 2023 19:36:28 -0800 Subject: [PATCH] Add aria-label to player settings button. For #1826 --- web/components/video/settings-menu.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/components/video/settings-menu.ts b/web/components/video/settings-menu.ts index badafbaf1..7456619eb 100644 --- a/web/components/video/settings-menu.ts +++ b/web/components/video/settings-menu.ts @@ -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 });