diff --git a/src/components/NcAppSidebar/NcAppSidebarTabs.vue b/src/components/NcAppSidebar/NcAppSidebarTabs.vue index 085d5655e0..d6270ce5e7 100644 --- a/src/components/NcAppSidebar/NcAppSidebarTabs.vue +++ b/src/components/NcAppSidebar/NcAppSidebarTabs.vue @@ -36,8 +36,8 @@ @keydown.tab.exact.prevent.stop="focusActiveTabContent" @keydown.home.exact.prevent.stop="focusFirstTab" @keydown.end.exact.prevent.stop="focusLastTab" - @keydown.33.exact.prevent.stop="focusFirstTab" - @keydown.34.exact.prevent.stop="focusLastTab"> + @keydown.page-up.exact.prevent.stop="focusFirstTab" + @keydown.page-down.exact.prevent.stop="focusLastTab"> this.activeTab) getActiveTab: () => this.activeTab, + // Used to check whether the tab header is shown so the tabs can reference the tab header for `aria-labelledby` or not + isTablistShown: () => this.hasMultipleTabs, } }, diff --git a/src/components/NcAppSidebarTab/NcAppSidebarTab.vue b/src/components/NcAppSidebarTab/NcAppSidebarTab.vue index 45899ac7bc..038928bd7a 100644 --- a/src/components/NcAppSidebarTab/NcAppSidebarTab.vue +++ b/src/components/NcAppSidebarTab/NcAppSidebarTab.vue @@ -27,7 +27,8 @@