Skip to content

Commit 52d6e09

Browse files
committed
fix(tab): A11Y - tabindex with string values.
1 parent a6e734c commit 52d6e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/tab/tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class Tab implements ComponentInterface {
8888
'ion-page': component === undefined,
8989
'tab-hidden': !active,
9090
}}
91-
tabIndex={!active ? -1 : 0}
91+
tabIndex={!active ? '-1' : '0'}
9292
>
9393
<slot></slot>
9494
</Host>

0 commit comments

Comments
 (0)