NumberControl: Increment and Decrement buttons aren't operable with keyboard #57401
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
I'm not sure what is the reasoning behind making the NumberControl Increment and Decrement buttons not operable with a keyboard. That seems intentional as:
tabIndex="-1"
attribute so they're not focusable.aria-hidden="true"
.aria-label
attribute.Regardless of the inconsistent implementation, there is no apparent reason why these buttons should not be usable with a keyboard.
Screenshot of an instance of NumberControl Increment and Decrement buttons:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: