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

Clear button is not accessible #64

Closed
vtx-anton-chashchin opened this issue Jan 15, 2024 · 1 comment
Closed

Clear button is not accessible #64

vtx-anton-chashchin opened this issue Jan 15, 2024 · 1 comment

Comments

@vtx-anton-chashchin
Copy link
Contributor

Hello, we discovered that clear button which appears when allowClear property used is not accessible due to 2 reasons:

  • button wrapper uses tabindex=-1 which makes it inaccessible through the keyboard using tab/shift+tab
  • button wrapper uses span tag which prevent to click it via space or shift when it is on focus

I opened PR to fix this and added tests to check behavior, could you check it please

#63

@afc163
Copy link
Member

afc163 commented Nov 30, 2024

Fixed in #63

@afc163 afc163 closed this as completed Nov 30, 2024
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

No branches or pull requests

2 participants