mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +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 a new issue