From 14129ccae39b8b3c55a1cb4e0033c3e46441c9be Mon Sep 17 00:00:00 2001 From: AnnaRybkina <37986637+AnnaRybkina@users.noreply.github.com> Date: Wed, 20 Sep 2023 12:02:54 +0200 Subject: [PATCH] fix: make tabs accessible for using keyboard keys again (#71) --- components/tabs/w-tab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tabs/w-tab.vue b/components/tabs/w-tab.vue index a6c28eff..f1484cc7 100644 --- a/components/tabs/w-tab.vue +++ b/components/tabs/w-tab.vue @@ -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" >