-
Notifications
You must be signed in to change notification settings - Fork 63
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
Feature Request: Constrain Focus on Color Picker Dialog #87
Comments
Not a bad idea. It's usually referred to as a "focus trap" when you want to keep the focus inside the popup while it's open. |
That's actually a bad idea for accessibility. The color picker dialog is not a modal, you can still interact with the rest of the page while it's open. Using a focus trap means users using keyboard only navigation will have less access to the page and the browser controls than users using a mouse/touchpad. |
Hi, Is there anyway to set color on already initiated colorpicker instance ? |
Could you please create a separate issue please? Your question is unrelated to this one! |
Done: #91 This ticket can be closed. |
I'm reopening this because I've been talking to a few accessibility experts and they made a compelling argument that a focus trap can improve accessibility if implemented properly. |
Hi, would it be possible to constrain the focus on the color picker dialog when it is opened. This way, using the tab key will continue to cycle through the color picker dialog options until either the escape key is clicked or close button is selected using the keyboard.
The text was updated successfully, but these errors were encountered: