Skip to content

Conversation

@GideonPARANOID
Copy link

An icon isn't enough for a lot of screenreaders to infer what an action does so introduced captions for screenreaders to the table header previous/next buttons. Included internationalisation support taking the locale code from Moment.

Tests to exercise the text across various languages/datepicker types.

an icon isn't enough for a lot of screenreaders to infer what an action does
        so introduced captions for screenreaders to the table header
        previous/next buttons. included internationalisation support taking
        the locale code from moment.

tests to exercise the text across various languages/datepicker types
@dalelotts
Copy link
Owner

I just had a brief scan of this, and it looks great! Thanks!

Where did you get the translations? The Chinese is correct so I know it wasn't Google translate. =)

@dalelotts
Copy link
Owner

I'm not seeing any changes to the scss files in this PR - are those changes no longer needed?

@GideonPARANOID
Copy link
Author

Good stuff!

The translations came from a pagination gem which I've used before. Figured better to use something with open contributions rather than risking a translation service.

When I ran the tests/demo on a clean develop branch, the style for the class was already included (it's a basic Bootstrap one), so I figured it could be missed out.

dalelotts added a commit that referenced this pull request Nov 20, 2015
Add hidden text to the left and right arrows so that screen readers can use it.
@dalelotts dalelotts merged commit 62b1f05 into dalelotts:develop Nov 20, 2015
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

Successfully merging this pull request may close these issues.

2 participants