-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[BUG] - Clear Button of Input is not accessible #4845
Comments
This is by design. The clear button will not be focusable no matter it is disabled or not. ref: https://react-spectrum.adobe.com/react-aria/SearchField.html |
@wingkwong Thank you for your fast reply. If I understand the linked refs correctly, it should clear when hitting |
The ref link only shows you the clear button shouldn't be focused only. For hitting ESC not clearing the value, you may create a new issue. |
Created a new issue #4850 |
HeroUI Version
@heroui/[email protected]
Describe the bug
The clear button of inputs is not accessible (
tabIndex: -1
). Maybe introduced with this commit: 606f757Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
The clear button is accessible if the input is not disabled
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: