WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: jQuery Datepicker - expected kb behavior?

for

From: JP Jamous
Date: Oct 12, 2018 3:02PM


Jeff,

You are correct. No need for the CTRL key. Only the arrow keys would
suffice.

Typically, screen readers use the CTRL + left or right to read previous or
next word. The CTRL + Up or Down would be to read previous or next
paragraph.

If CTRL + arrow keys are implemented, they can conflict with screen readers
navigation scripts in a browser, thereby disabling the read word or
paragraph functionality.



--------------------
JP Jamous
Senior Digital Accessibility Engineer
E-Mail Me |Join My LinkedIn Network
--------------------


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Jeff
Gutsell
Sent: Friday, October 12, 2018 3:31 PM
To: 'WebAIM Discussion List' < <EMAIL REMOVED> >
Subject: Re: [WebAIM] jQuery Datepicker - expected kb behavior?

I am a self-taught scripter, and perhaps I am missing something about using
Control plus arrow keys. A fundamental part of the keyboard accessibility
described by the W3C is using arrow keys to move focus. I don't recall the
W3C ever mentioning the need for the control key.
A :"keydown" event that wants to move focus should include the
preventDefault() method to avoid scrolling the page while the focus is
within the widget. That is how the W3C aria example for popup menus works.


-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf
Of glen walker
Sent: Thursday, October 11, 2018 12:45 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] jQuery Datepicker - expected kb behavior?

I don't know if ctrl+arrow is the "typical" way to navigate through a
calendar but I've found that if unmodified arrows don't work, then I try
ctrl+arrows.

Of course, with a screen reader running, the unmodified arrow keys will walk
the accessibility tree and not navigate the calendar unless the calendar
goes into forms/application mode, so perhaps that's why some calendars
choose to use ctrl+arrow to navigate.
http://webaim.org/discussion/archives
http://webaim.org/discussion/archives