Permalink
Browse files

feat(pagination-nav): Better tab/focus management

  • Loading branch information...
tmorehouse committed Oct 4, 2017
1 parent 42b31da commit adf8dcca592558643604e0a4deff8a0e3f340875
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/components/pagination-nav.vue
@@ -5,7 +5,6 @@
:aria-label="ariaLabel ? ariaLabel : null"
role="menubar"
tabindex="0"
@focusin.self="focusCurrent"
@keydown.left.prevent="focusPrev"
@keydown.right.prevent="focusNext"
@keydown.shift.left.prevent="focusFirst"
@@ -60,7 +59,7 @@
:aria-posinset="page.number"
:aria-setsize="numberOfPages"
role="menuitemradio"
tabindex="-1"
:tabindex="isActive(page.number) ? '0' : '-1'"
@click="onClick(page.number)"
v-html="makePage(page.number)"
></b-link>

0 comments on commit adf8dcc

Please sign in to comment.