-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implement keyboard navigation for the whole application #13
Comments
Interesting article about this: https://medium.com/@sashika/j-k-or-how-to-choose-keyboard-shortcuts-for-web-applications-a7c3b7b408ee. Suggestions for keyboard shortcuts:
Some more shortcuts may be needed for the mapping components. |
We should start with enabling default keyboard navigation as provided by the browser, see https://medium.com/@emilymears/getting-started-with-web-accessibility-in-vue-17e2c4ea0842. For instance at the moment component itemName with |
Keyboard-Shortcuts should be configurable shown in a help / settings dialog. Requires #173. |
- ctrl+k or command+k will open the comment editing modal - in the comment editing modal, ctrl+enter or command+enter will save the comment
- Add own implementation for keyboard shortcuts and remove hotkeys-js package. - Adjust existing shortcuts for own implementation. - Add ctrl/command+shift+c to clear MappingEditor. - Add ctrl/command+f/g to search for a concept left (f) or right (g). - Add ctrl/command+shift+f/g to search for a scheme left (f) or right (g).
There are no Shortcuts for the following actions:
|
We can add a shortcut to open the settings, but personally, I don't think it's really necessary. It'll be very cumbersome to navigate the settings by keyboard and it's not something that needs to be done regularly, so it should be fine if it's accessible by mouse only.
They work for me in all major browsers. Can you tell me exactly what browser you are using?
Good point!
How would you implement this? Currently, you can add a concept as favorite by dragging it to the star in the navbar, meaning that you can drag a concept from anywhere within the application. Would you add two keyboard shortcuts for adding the selected concept (left or right) as a favorite? I like the idea of accessing favorite concepts through keyboard shortcuts!
Also good idea!
Yeah, I guess you should at least be able to scroll and cycle through the tabs. |
There should also be a keyboard shortcut to show keyboard shortcuts and/or the shortcuts should be shown as tooltips. |
Also a good idea.
It seems that all shortcuts with ctrl+shift don't work. I can use cmd+shift+f/g on macOS, but ctrl+shift+f/g don't work even though other shortcuts with ctrl are working. I will investigate this. |
To look up existing keyboard shortcuts in other applications see also https://defkey.com/what-means/alt-n |
Ideally, all the features in this application should be accessible with a keyboard only.
The text was updated successfully, but these errors were encountered: