mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 09:58:27 +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}
|
bind:this={tab}
|
||||||
on:focus={() => showTab(tab)}
|
on:focus={() => showTab(tab)}
|
||||||
role="tab"
|
role="tab"
|
||||||
|
aria-selected={isTabActive}
|
||||||
>
|
>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
{$t(`tabs.${tabName}`)}
|
{$t(`tabs.${tabName}`)}
|
||||||
|
Loading…
Reference in New Issue
Block a user