mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/SidebarTab: indicate that tab is selected in aria
This commit is contained in:
parent
862366b5c5
commit
6570d163e9
1 changed files with 1 additions and 0 deletions
|
@ -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