mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 17:38:31 +00:00
web/SidebarTab: indicate that tab is selected in aria
This commit is contained in:
parent
862366b5c5
commit
6570d163e9
@ -37,6 +37,7 @@
|
||||
bind:this={tab}
|
||||
on:focus={() => showTab(tab)}
|
||||
role="tab"
|
||||
aria-selected={isTabActive}
|
||||
>
|
||||
<slot></slot>
|
||||
{$t(`tabs.${tabName}`)}
|
||||
|
Loading…
Reference in New Issue
Block a user