Skip to content
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

feat(datepicker): add accessibility (work in progress) #1281

Closed

Conversation

divdavem
Copy link
Member

@divdavem divdavem commented Feb 1, 2017

This PR is built on top of #1273
It adds ARIA attributes to make the ngb-datepicker usable with screen readers.

I checked with the latest version of NVDA on the latest version of Chrome and it works.

This is a work in progress
Here is the remaining work to do:

  • Add some tests
  • Check on other combinations of browsers / screen readers

The following shortcuts are available:
Arrow left/right: previous/next day
Arrow up/down: previous/next week
Page up/down: previous/next month
Shift+page up/down: previous/next year
Home/end: beginning/end of the current view
Shift+home/end: min/max selectable date
BREAKING CHANGES: NgbDatepickerI18n has a new getWeekdayFullName method
@pkozlowski-opensource
Copy link
Member

@divdavem what is the status of this one, especially given #2165?
cc @maxokorokov @ExFlo

@pkozlowski-opensource pkozlowski-opensource added this to the Purgatory milestone Mar 9, 2018
@maxokorokov
Copy link
Member

Will close this one as @ExFlo used it as a starting point. Thanks!

@maxokorokov maxokorokov closed this Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants