WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JavaScript library for display and customization of keyboard shortcuts?

for

From: Asa Baylus
Date: Oct 29, 2015 2:30PM


While it's not a direct answer. I recommend mousetrap.js it's a small library that makes handling keyboard commands trivial, love it.

https://craig.is/killing/mice

But use sensibly :)

Asa

Sent from my iPhone

> On Oct 29, 2015, at 4:20 PM, Brian Lovely < <EMAIL REMOVED> > wrote:
>
> Good points, Jennifer. …and sometimes a simple input with a date mask, or an html5 date input provides more universal usability than a fancy calendar widget.
>
>
> Brian Lovely
> <EMAIL REMOVED>
>
>
>
>> On Oct 29, 2015, at 4:08 PM, Jennifer Sutton < <EMAIL REMOVED> > wrote:
>>
>> I'll try again.
>>
>> First of all, I'm well aware of what jQuery hasn't done/isn't doing.
>>
>> Second, I'm well aware that there are a *lot* of these libraries, so any that are chosen should be considered to see if they're actually being maintained/still work. I'm not going to bother to list probably a half a dozen that I could.
>>
>> But finally, and again trying to repeat my larger point, take care that you're following standard best practices with these ARIA controls, rather than inventing *new* keyboard commands that people will never learn anmd that conflict with keystroke combos already in use.
>>
>> Study history, so you don't repeat some of the wrong turns that have been taken in the past. That's all.
>>
>> And good luck.
>>
>> Jennifer
>>
>>
>> >> >> >> >
> > > >