mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(tab): A11Y - tabindex with string values.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user