Permalink
Browse files

fix(pagination-nav): ARIA tabing control

  • Loading branch information...
tmorehouse committed Oct 4, 2017
1 parent 1249f51 commit 92d08102a32345c124bc72bfc4a08fe730d49e3e
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/components/pagination-nav.vue
@@ -4,6 +4,7 @@
:aria-disabled="disabled ? 'true' : 'false'"
:aria-label="ariaLabel ? ariaLabel : null"
role="menubar"
tabindex="0"
@focusin.self="focusCurrent"
@keydown.left.prevent="focusPrev"
@keydown.right.prevent="focusNext"
@@ -98,6 +99,7 @@
v-bind="linkProps(numberOfPages)"
:aria-label="labelLastPage"
role="menuitem"
tabindex="-1"
@click="onClick(numberOfPages)"
><span aria-hidden="true" v-html="lastText"></span></b-link>
</li>
@@ -117,6 +119,11 @@
cursor: not-allowed;
opacity: .65;
}
.page-item .page-link:hover,
.page-item .page-link:focus {
box-shadow: 0 0 0 3px rgba(0,123,255,.5);
z-index: 1;
}
</style>
<script>

0 comments on commit 92d0810

Please sign in to comment.