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

fix(NumberInput): set negative tabindex on number controls #8090

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Mar 15, 2021

Closes #4185

This PR sets a negative tabindex on the increment/decrement controls on the number input so that it is not tabbable to match the vanilla number input and w3 examples. The component currently reads correctly in VO and this change should have no effect on the VO behavior

Testing / Reviewing

Confirm the number input controls are not tabbable and that VO still correctly reads number input interactions

@netlify
Copy link

netlify bot commented Mar 15, 2021

Deploy preview for carbon-elements ready!

Built with commit a1dff40

https://deploy-preview-8090--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Mar 15, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit a1dff40

https://deploy-preview-8090--carbon-components-react.netlify.app

Copy link
Contributor

@dakahn dakahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Windows 10 with JAWS and NVDA and works as intended 👍🏽

Copy link
Contributor

@jnm2377 jnm2377 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as expected for me 👍🏽

@kodiakhq kodiakhq bot merged commit e342c5a into carbon-design-system:main Mar 17, 2021
@emyarod emyarod deleted the 4185-remove-numberinput-controls-tabindex branch March 17, 2021 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants