Skip to content

Commit

Permalink
fix(ui): wrong tabindex usage (#2615)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Feb 24, 2024
1 parent a3c5272 commit 913e289
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/common/CommonRouteTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ useCommands(() => command
:to="option.to"
:replace="replace"
relative flex flex-auto cursor-pointer sm:px6 px2 rounded transition-all
tabindex="1"
tabindex="0"
hover:bg-active transition-100
exact-active-class="children:(text-secondary !border-primary !op100 !text-base)"
@click="!preventScrollTop && $scrollToTop()"
Expand All @@ -46,7 +46,7 @@ useCommands(() => command
</template>
<template v-if="isHydrated && moreOptions?.options?.length">
<CommonDropdown placement="bottom" flex cursor-pointer mx-1.25rem>
<CommonTooltip placement="top" :content="moreOptions.tooltip || t('action.more')">
<CommonTooltip placement="top" no-auto-focus :content="moreOptions.tooltip || t('action.more')">
<button
cursor-pointer
flex
Expand Down
2 changes: 1 addition & 1 deletion components/common/CommonTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ useCommands(() => command
><label
flex flex-auto cursor-pointer px3 m1 rounded transition-all
:for="`tab-${toValidName(option.name)}`"
tabindex="1"
tabindex="0"
hover:bg-active transition-100
@keypress.enter="modelValue = option.name"
><span
Expand Down

0 comments on commit 913e289

Please sign in to comment.