-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[pagination] ARIA attributes + Keyboard navigation #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 tasks
You rock 👍 |
valexiev
added a commit
to valexiev/bootstrap-vue
that referenced
this pull request
May 9, 2017
* upstream/master: (220 commits) [button-toolbar] docs (bootstrap-vue#368) ESLint New component b-button-toolbar (bootstrap-vue#367) [link] fix click event [docs] navbar styling Refactor link mixin [button-group] fix toolbar keynav (bootstrap-vue#366) [Docs] ScrollSpy directive JSFiddle [Link] Small fixes [link] Allow both router links and regular links to co-exist in same document (bootstrap-vue#365) [pagination] ARIA attributes + Keyboard navigation (bootstrap-vue#364) [dropdown-item] explicit component reference (bootstrap-vue#361) Additional ARIA on navs and dropdown (bootstrap-vue#358) ESLint [docs] ScrollSpy [scrollspy] SSR fix v0.15.6 [modal] focusFirst timing tweak (bootstrap-vue#357) [scrollspy] documentation update [scrollspy] Documentation (bootstrap-vue#356) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added ARIA attributes:
aria-label
aria-current
(set to"true"
on the current page button)aria-posinset
reflects the page number the button representsaria-setsize
reflects the total number of pages (appears on each button with anaria-posinset
)Enabled keyboard navigation of buttons:
LEFT
focus previous buttonRIGHT
focus next buttonSHIFT+LEFT
will focus first non-disabled buttonSHIFT+RIGHT
fill focus last non-disabled buttonNew props for localisation of button
aria-label
s:labelPrev
defaults to'Previous Page'
labelNext
defaults to'Next Page'
labelPage
defaults to'Page'
. used on page number buttons (i.e. "Page 1", "Page 2", etc)ariaLabel
will label the pagination widget (defaults to'Pagination'
)Addresses parts of #333