-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Surface keyboard shortcuts when modifier keys are held #13688
Comments
I wouldn't be against seeing it explored visually, but I do worry about it being an incredibly complex visual to navigate. That said, I think this in some respects is a chosen 'mode' so cognitive load negated. I would like to see some different explorations to yellow notes, they feel a little to me like someone has gone a little overboard with post-its. I love post-its but maybe not as indicators of keys. |
Quickly discussed during today's accessibility meeting, agreed it would a nice to have, but not crucial. We do think it would be helpful, however. Also, the general idea could be explored further e.g. pressing a key could reveal other things in the interface (block type breadcrumbs? other?) |
To add a bit more context, this idea borrows from the concepts of the accesskey attribute. While it was never standardized, it provides a lot of functionality with a very simple implementation. The goal here is to try to replicate some of that functionality. Let's say, hypothetically, that My assumption is that a feature like this will benefit new/casual users and particularly those with cognitive disabilities, since they will no longer have to memorize multiple shortcuts in order to navigate and use Gutenberg. I believe power users that want to become more efficient will also appreciate this feature. That being said, the idea of having a single modifier key for all of our shortcuts is simply wild, as there would be countless conflicts between OS, platforms, browsers, AT, etc. Ideally, we could simplify and standarize our modifier keys in a way that we only end with a couple that are easy to memorize and perform. While not a perfect solution, I feel it's one that gets us closer.
This is such an interesting concept! I love it. |
Let's get this into a PR. |
This is related to #13663, and attempts to tackle the same issue. It is unobvious for users how to navigate the various aspects of the interface using primarily keyboard shortcuts, and the "Keyboard Shortcuts" sheet in the More menu is insufficient to surface this. Let's discuss ways we can make keyboard shortcuts more obvious to users.
Surface keyboard shortcuts when modifier keys are held
The first idea comes courtesy of Enrique Sanchez (@enriquesanchez) who submitted an idea for improving this:
The idea is that the keyboard shortcut is surfaced when the accesskey is pressed. This requires some additional work around customizing and improving the accesskey interface in the editor.
But it seems like a first step to explore could be to show the keyboard shortcut as a little bubble tip on top of any button that has a shortcut, when you press and hold the modifier keys. For example the Block Navigation button has the keyboard shortcut
^⌥O
— this button would showO
when you press and hold^⌥
.Is this feasible as a first step, or do we need to look further into accesskeys? Please share your thoughts.
The text was updated successfully, but these errors were encountered: