且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Web应用程序中的关键快捷方式

更新时间:2022-12-30 07:45:52

如果它是一个内部应用程序,许多人每天都在使用它,则键盘快捷键可以极大地提高工作效率.

它们到底有什么关系并不重要,因为高级用户无论如何都会学到它们.但是,最安全使用的是箭头键.同样, Ctrl + + 任何字母通常都是安全的.

如果它是内部应用程序,则您(通常)也可以奢侈地开发一组设置的浏览器/配置/版本.这也可以使映射键绑定更加容易.

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?

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.