fix(tab): A11Y - tabindex with string values.

This commit is contained in:
José Rio
2025-02-05 16:13:05 +00:00
parent a6e734cf1a
commit 52d6e09b27

View File

@@ -88,7 +88,7 @@ export class Tab implements ComponentInterface {
'ion-page': component === undefined,
'tab-hidden': !active,
}}
tabIndex={!active ? -1 : 0}
tabIndex={!active ? '-1' : '0'}
>
<slot></slot>
</Host>