MaterialColorsApp icon indicating copy to clipboard operation
MaterialColorsApp copied to clipboard

Allow Users to Tab Through Hues

Open foohyfooh opened this issue 9 years ago • 2 comments

-Change the click event handler to focus event handler and add a tab index to the hue divs to allow a user to tab through the hues. -Get focus back on the selected hue after the user selects a colour or uses the context menu so that when the user presses tab again it will move to the hue after the selected one.

foohyfooh avatar Aug 11 '16 00:08 foohyfooh

Hey there! Thanks for the PR. I'm a little hesitant on this because I'm actually hoping longer-term that the entire window isn't focusable (there's a FR w/ the electron project for that). Another solution for switching hues is a set of global hot keys, that I think is worth exploring soon.

romannurik avatar Sep 05 '16 16:09 romannurik

If I understand correctly, it would using globalShortcut (https://github.com/electron/electron/blob/master/docs/api/global-shortcut.md) to listen for the tab key or do you have a different key combination in mind?

foohyfooh avatar Oct 28 '16 19:10 foohyfooh