From 52d6e09b278824338acf889e9b8f6f0ce618cc6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Rio?= Date: Wed, 5 Feb 2025 16:13:05 +0000 Subject: [PATCH] fix(tab): A11Y - tabindex with string values. --- core/src/components/tab/tab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/tab/tab.tsx b/core/src/components/tab/tab.tsx index 00ef89376f..6cf7dec8f3 100644 --- a/core/src/components/tab/tab.tsx +++ b/core/src/components/tab/tab.tsx @@ -88,7 +88,7 @@ export class Tab implements ComponentInterface { 'ion-page': component === undefined, 'tab-hidden': !active, }} - tabIndex={!active ? -1 : 0} + tabIndex={!active ? '-1' : '0'} >