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

Difference between button and role="button" #79

Open
kubasto opened this issue Nov 28, 2021 · 1 comment
Open

Difference between button and role="button" #79

kubasto opened this issue Nov 28, 2021 · 1 comment
Labels

Comments

@kubasto
Copy link

kubasto commented Nov 28, 2021

If the trigger element is a div with a role="button" it doesn't act the same as a regular button - i.e. doesn't accept spacebar and enter keys. I think it should (for accessibility).

@uidev1116
Copy link

@kubasto

Sorry for the late reply.

The idea sounds good. But sorry I have less motivation to implement it by myself, because I personally won't use the feature on my daily life. If you seriously need it, please fork this repository and implement it the feature, and send me a pull request if needed. I may merge it if it is enough reasonable for this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants