From d9f8c1352fccef364937cfa50ae9f23b5940c755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Rio?= Date: Wed, 5 Feb 2025 14:58:29 +0000 Subject: [PATCH] fix(tabbutton): A11Y - enable tabindex. --- core/src/components/tab-button/tab-button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/tab-button/tab-button.tsx b/core/src/components/tab-button/tab-button.tsx index 7babc4573b..b839dc22c5 100644 --- a/core/src/components/tab-button/tab-button.tsx +++ b/core/src/components/tab-button/tab-button.tsx @@ -172,7 +172,7 @@ export class TabButton implements ComponentInterface, AnchorInterface { role="tab" aria-selected={selected ? 'true' : null} aria-disabled={disabled ? 'true' : null} - tabindex={disabled ? '-1' : undefined} + tabindex={disabled ? '-1' : '0'} {...inheritedAttributes} >