问题
I'm thinking about creating some keyboard shortcuts in my web application. But, most of the important shortcuts are already attached to the browser itself (like F1, F2, Fn; Ctrl + N; Ctrl + P, Alt + P, Alt + A, etc...)
I've notice that the browsers don't use any Shift combination. But, Shift is already reserved to type uppercase letters, so, I think using Shift + Key combinations isn't a good idea.
Are there some guidelines to write keyboard shortcuts on the web?
Or, should I give up using it?
回答1:
If it's an internal application which a number of people use all day everyday, keyboard shortcuts can increase productivity immensely.
It doesn't matter too much what they are, because advanced users will learn them regardless. The safest ones to use, however, are the arrow keys. Also, Ctrl + ⇧ + ANY LETTER are usually safe.
If it's an internal application, you also have the luxury (normally) of developing for a set browser/configuration/version. This can make it easier to map out key bindings also.
来源:https://stackoverflow.com/questions/912018/key-shortcuts-in-a-web-application