mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(tabbutton): A11Y - enable tabindex.
This commit is contained in:
@@ -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}
|
||||
>
|
||||
<span class="button-inner">
|
||||
|
||||
Reference in New Issue
Block a user