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

prevButton and nextButton should have text or aria-label #258

Closed
helgefredheim opened this issue Feb 16, 2017 · 3 comments
Closed

prevButton and nextButton should have text or aria-label #258

helgefredheim opened this issue Feb 16, 2017 · 3 comments

Comments

@helgefredheim
Copy link

helgefredheim commented Feb 16, 2017

Great component!

An issue after having tested accessibility with a blind person: The previous and next buttons should have aria-label="Previous | Next" (localizeable) or a text:

<span role="button" {...}>Previous</span>

This is due to screen reader accessibility. Without the aria-label or text, the button is read as something weird.

@gpbl gpbl added the aria label Feb 16, 2017
@gpbl
Copy link
Owner

gpbl commented Feb 16, 2017

Thanks for the report! This will be added soon. Meanwhile, you can create your own navbar:

http://react-day-picker.js.org/examples/?customElements

@helgefredheim
Copy link
Author

So I did, thank you!

@gpbl
Copy link
Owner

gpbl commented Mar 3, 2017

Published as v5.1.1. Check the new labels prop!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants