Skip to content

Commit

Permalink
fix: make tabs accessible for using keyboard keys again (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaRybkina committed Sep 20, 2023
1 parent cb157c9 commit 14129cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tabs/w-tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const contentClasses = computed(() => ({
:aria-selected="isActive"
:aria-controls="isActive ? `warp-tabpanel-${name}` : undefined"
:tabindex="isActive ? 0 : -1"
@keydown="onKeydown"
@keydown="controller.onKeydown"
>
<span v-if="$slots.default" :class="iconClasses">
<slot />
Expand Down

0 comments on commit 14129cc

Please sign in to comment.