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

Add aria-label to inputs #21

Closed
nickbristow opened this issue May 16, 2019 · 3 comments
Closed

Add aria-label to inputs #21

nickbristow opened this issue May 16, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@nickbristow
Copy link
Contributor

For accessibility reasons, each of the inputs generated should have a label.

Adding aria-label='hour'to the hour input, and one for minute, and PM/AM should be on by default, or give us the option to enable them.

@wojtekmaj
Copy link
Owner

Will introduce:

  • hourAriaLabel
  • minuteAriaLabel
  • secondAriaLabel
  • amPmAriaLabel

@emilyuhde
Copy link
Contributor

The x to clear icon button and the clock icon button should both have props to add an aria-label as well. Anything clickable needs an aria-label.

@wojtekmaj
Copy link
Owner

Closed via 318845a

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

No branches or pull requests

3 participants