Keyboard shortcuts

假装没事ソ 提交于 2019-12-01 20:20:51

问题


Is there a standard when it comes to implementing keyboard shortcuts / accelerator keys for web applications. Example: Navigating through a list of items presented in a grid Are their guidelines on how to implement this? Google has one for GMail in the "labs" section.

Also would it make business sense in investing time for implementing keyboard shortcuts / accelerator keys in web apps


回答1:


I have used a number of web sites and web applications that define their own keyboard shortcuts. They are usually poorly documented and offer little value over conventional mouse-based use.

As Galwegian mentions, you should be careful of interfering with accessibility options, especially if you want to comply with ADA Guidelines for the Web.

You should also test your web app with respect to keyboard shortcuts in popular web browsers. Some people use these, and get annoyed when your web app overrides the browser's keys.

I think it would be more worth your time to test tab order for web forms and other page elements. When I fill out web forms, I tend to use tab to advance to the next form field, but I find some web sites in which a tab jumps to some unexpected place on the page instead of to the visually adjacent element.




回答2:


From an accessibility point of view, keyboard shorts are dangerous as they may interfere with the pre-programmed shortcuts of software like screen readers used by visually impaired users.

For this reason, I either avoid their use, or ensure that you can turn off this feature.

Good luck!



来源:https://stackoverflow.com/questions/299776/keyboard-shortcuts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!