Make colorpicker keyboard-friendly
See original GitHub issueNow that we can open with Ctrl-K
it would be nice if the whole component could be usable with just the keyboard.
I suggest:
- make it possible to tab between inputs. (currently, if I’m in RGB mode and press
tab
, it changes the mode and blurs the input 😦 - make the sliders focusable and use arrow keys to change value. Maybe even shift+arrow for fine adjustment
- make the gradient focusable and editable with keyboard.
- listen for
Esc
andEnter
and use those to close dialog and return focus to CM.
Thanks. 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Mobile-friendly & Keyboard Accessible Color Picker - Alwan
A lightweight, touch-enabled, and keyboard-accessible color picker component made in pure Vanilla JavaScript.
Read more >Accessible Color Pickers - DEV Community
So, I set out to create a Color Picker with range-sliders, which are both touch- and keyboard-friendly (using arrow-keys).
Read more >Just Color Picker 5.7 - best free colour tool for Windows and ...
Free portable colour picker and colour editor for webmasters, photographers, graphic designers and digital artists. Works on Mac and Windows PC, ...
Read more >Assign a Keyboard Shortcut To The Foreground Color Picker
Press Ctrl Alt Shift K (Mac: Command Option Shift K). Then choose “Tools” and under “Shortcuts For” scroll down until you see “Foreground...
Read more >Keyboard Shortcut for the Foreground Color Picker | Facebook
shortcut to the Foreground Color Picker. ... Option Shift K). ... then click on it to assign a keyboard shortcut. Article: http://bit.ly/2jqjmzu.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@teleclimber
https://store.jui.io/v2/view.php?id=58f8d68594976c182b7b23c7
I am refactoring for keyboard features.
Tab key is change selection area. Arrow keys is change real value for selection area.
The “HEX” mode works great if you have the outer wrapper focused, but if you focus the hex input, the movement and color selection is awkward.