We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32beb5d commit f9bc507Copy full SHA for f9bc507
1 file changed
src/components/NcAppSidebar/NcAppSidebarTabs.vue
@@ -33,6 +33,8 @@
33
@keydown.left.exact.prevent="focusPreviousTab"
34
@keydown.right.exact.prevent="focusNextTab"
35
@keydown.tab.exact.prevent="focusActiveTabContent"
36
+ @keydown.home.exact.prevent="focusFirstTab"
37
+ @keydown.end.exact.prevent="focusLastTab"
38
@keydown.33.exact.prevent="focusFirstTab"
39
@keydown.34.exact.prevent="focusLastTab">
40
<ul>
@@ -43,7 +45,7 @@
43
45
:class="{ active: activeTab === tab.id }"
44
46
:data-id="tab.id"
47
:href="`#tab-${tab.id}`"
- :tabindex="activeTab === tab.id ? undefined : -1"
48
+ :tabindex="activeTab === tab.id ? 0 : -1"
49
role="tab"
50
@click.prevent="setActive(tab.id)">
51
<span class="app-sidebar-tabs__tab-icon">
0 commit comments