Kudos to OpenJs!

shortcuts

Shortcuts

In developing the List Central interface for creating and managing lists, I have kept usability as one of my highest priorities; if it’s not easy to use, people won’t use it. To increase the usability of the edit in place functionality used on List Central, I have included a sparse use of keyboard shortcuts. Early on I didn’t think introducing keyboard shortcuts would be worth the effort, but fortunately I happen upon this great little script, over at OpenJS, that made the process nearly trivial.

The OpenJS Keyboard Shortcut script allows the web developer to easily add and remove shortcuts with only a couple of lines of code and the inclusion of a reasonably sized javascript file (shortcut.js). The following example comes directly from OpenJS:

// Add a shortcut
shortcut.add('Ctrl+B', function() {
	alert('Bold');
});

// Remove the shortcut
shortcut.remove('Ctrl+B');

I’d like to thank Binny V A for his contribution of the Keyboard Shortcut script over at OpenJS, you have helped me improve the usability of my site!

Posted in Design, Javascript, Usability. Tagged with , .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.