From d3e891eec3fc88504a015dbaab780698ca1745ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Mon, 12 Aug 2024 17:10:08 +0200 Subject: [PATCH] :sparkles: Enable focusing on tab-switcher* panel --- frontend/src/app/main/ui/ds/tab_switcher.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/ds/tab_switcher.cljs b/frontend/src/app/main/ui/ds/tab_switcher.cljs index bcb9c8c54..5a5d5218a 100644 --- a/frontend/src/app/main/ui/ds/tab_switcher.cljs +++ b/frontend/src/app/main/ui/ds/tab_switcher.cljs @@ -27,7 +27,7 @@ :role "tab" :aria-selected selected :title (or label aria-label) - :tab-index (if selected 0 -1) + :tab-index (if selected nil -1) :ref tab-ref :data-id id})] @@ -155,6 +155,6 @@ :on-click handle-click :tabs-refs tabs-refs}]] - [:> tab-panel* {} + [:> tab-panel* {:tab-index 0} panel-content]]))