Skip to content

Commit

Permalink
fix(VTab): disabled tab can be reached by keyboard (#14606)
Browse files Browse the repository at this point in the history
fixes #14601
  • Loading branch information
TheoPez committed Jan 25, 2022
1 parent 9c17790 commit d110f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VTabs/VTab.ts
Expand Up @@ -113,7 +113,7 @@ export default baseMixins.extend<options>().extend(
...data.attrs,
'aria-selected': String(this.isActive),
role: 'tab',
tabindex: 0,
tabindex: this.disabled ? -1 : 0,
}
data.on = {
...data.on,
Expand Down

0 comments on commit d110f58

Please sign in to comment.