From 6570d163e9ad0c6853188fa26f5dff6e06bf0ebf Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 8 Jul 2024 12:58:21 +0600 Subject: [PATCH] web/SidebarTab: indicate that tab is selected in aria --- web/src/components/sidebar/SidebarTab.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/components/sidebar/SidebarTab.svelte b/web/src/components/sidebar/SidebarTab.svelte index fdafb312..46c41247 100644 --- a/web/src/components/sidebar/SidebarTab.svelte +++ b/web/src/components/sidebar/SidebarTab.svelte @@ -37,6 +37,7 @@ bind:this={tab} on:focus={() => showTab(tab)} role="tab" + aria-selected={isTabActive} > {$t(`tabs.${tabName}`)}