Web应用程序中的关键快捷方式 [英] Key shortcuts in a web application

查看:71
本文介绍了Web应用程序中的关键快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑在Web应用程序中创建一些键盘快捷键.但是,大多数重要的快捷方式已经附加到浏览器本身(例如 F1 F2 Fn Ctrl + N ; Ctrl + P Alt + P Alt + A ,等等...)

我注意到浏览器没有使用任何 Shift 组合.但是,已经保留了 Shift 来键入大写字母,因此,我认为使用 Shift + Key 组合不是一个好主意.

是否有一些指南可以在网络上编写键盘快捷键?

或者,我应该放弃使用它吗?

解决方案

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

它们到底有什么关系并不重要,因为高级用户无论如何都会学到它们.但是,最安全使用的是箭头键.同样, 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.

这篇关于Web应用程序中的关键快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆