Skip to content

Commit

Permalink
fix aria attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed Feb 24, 2018
1 parent 14973b6 commit 42147f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/veui/src/components/Tabs/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ export default {
return this.items.map((tab, index) => {
return {
role: 'tab',
ariaSelected: String(index === this.localIndex),
ariaSetsize: this.items.length,
ariaPosinset: index + 1
'aria-selected': String(index === this.localIndex),
'aria-setsize': this.items.length,
'aria-posinset': index + 1
}
})
}
Expand Down

0 comments on commit 42147f4

Please sign in to comment.