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

[core] fix(NumericInput): improve a11y markup, add spinbutton role #5396

Merged

Conversation

bvandercar-vt
Copy link
Contributor

@bvandercar-vt bvandercar-vt commented Jun 21, 2022

Fixes #0000

Checklist

  • [N/A] Includes tests
  • [N/A] Update documentation

Changes proposed in this pull request:

Add aria-controls prop for the increment/decrement buttons of the numericInput.

Add other aria props to make a proper spinbox a11y-wise-- see example https://w3c.github.io/aria-practices/examples/spinbutton/datepicker-spinbuttons.html

@adidahiya
Copy link
Contributor

@adidahiya adidahiya changed the title a11y: add aria-controls prop for numericInput increment/decrement buttons [core] fix(NumericInput): improve a11y markup, add spinbutton role Jul 8, 2022
@adidahiya adidahiya merged commit 259517c into palantir:develop Jul 8, 2022
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.

None yet

2 participants