-
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
Accessibility: Remove the "command" shortcut #3285
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3285 +/- ##
==========================================
+ Coverage 31.02% 31.18% +0.15%
==========================================
Files 232 232
Lines 6518 6504 -14
Branches 1163 1159 -4
==========================================
+ Hits 2022 2028 +6
+ Misses 3770 3755 -15
+ Partials 726 721 -5
Continue to review full report at Codecov.
|
I can confirm that this works. In my case, I have the Mac keyboard set to use function keys instead of F keys, so I had to press Alt + Fn + F10, which is a super awkward key combination. But it works, which also means it works when I set MacOS to use the F keys instead of the function keys. It's also a standard, so this is a good baseline for the feature. I understand the removal of the ⌘ key because of the technical issues it introduces. I respect that. Is there a way we can have a different command key we can use for this, in addition to Alt F10? To be clear, if yes, we can have multiple keyboard shortcuts, totally fine to explore that in a separate PR. |
Yes and I'd be happy to add this to the current PR, I just don't know which shortcut to use. |
Brainstorm:
|
To clarify, the issues I experienced in #2960 (comment) were not technical in nature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise, 👍
Alt+F10 can be awkward on MacBook Pro with Touch Display since... there are no function keys 😄
Let's add another shortcut once we settle on a new one. |
The "command" shortcut to navigate to the editor's toolbar has proven to be technically difficult to implement properly without edge-cases and also have side effects. This PR removes it in favor of the
alt+f10
alternative. See #2960 (comment) and #3183If you can think of another simple shortcut, I'd be happy to add.
This also refactors the navigation to use the KeyboardShortcuts component.
Testing instructions
closes #3183