I was thinking of implementing shortcut keys in a pet web application, I am developing for me. I am using c# and asp.net.
I have seen very few web-sites( frankly I remember only g-mail), which have shortcut keys.
Has anyone ever implemented shortcut keys for a web application, if yes how to go about it?
Thanks.
Accesskeys are useless, but visit this site if you insist on using them. Much better to use this than javascript, though the ways of accessing access keys varies across browsers. The advantage of this over ugly Javascript solutions is that it leaves it up to the browser and the user's browser settings to handle them.
Mousetrap is an excellent JavaScript library for handling shortcut keys.
Based on how I've seen other apps (Gmail, JIRA) use shortcut keys, and based on my own experience, I would make a couple of suggestions:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With