freqdec / datePicker

An attempt at writing a flexible, framework free, feature-rich and accessible datepicker
http://freqdec.github.io/datePicker/
MIT License
171 stars 56 forks source link

JAWS not allowing keyboard control of the datepicker #42

Open dasjestyr opened 10 years ago

dasjestyr commented 10 years ago

While JAWS is running, the datepicker is not controllable via keyboard. I see that you applied role=application to the div and role=grid to the table and I'm not sure if one is overriding the other but it appears that the application role isn't being respected in order to release the control of the screen reader. The problem seems to be present in the latest version of JAWS and NVDA.

If it helps, here is a demo of a datepicker that works with JAWS: http://whatsock.com/tsg/Coding%20Arena/ARIA%20Date%20Pickers/ARIA%20Date%20Picker%20(Basic)/demo.htm

And some explanation of some details of the tag nuances: http://whatsock.com/training

freqdec commented 10 years ago

Hi,

Yikes, this is horrible news. I shall remove the "grid" role which should do the trick. I take accessibility very seriously so shall treat this as a priority.

Many thanks for the info.

freqdec commented 10 years ago

Hi Again,

My laptop has decided to die on me so I had to resort to editing the script using the github code editor. I ave removed the grid, rowheader and columnheader roles to see if this fixes the accessibility problems.

I still have to migrate the update to both the minified version of the file and the gh-pages version.

Regards, Brian

freqdec commented 9 years ago

Latest version moves these changes into the minified file also.

freqdec commented 9 years ago

...and I closed the issue without thinking. Reopening now.

I am currently working on a V7 of the control that updates the HTML structure (to make it easier to style and to add appropriate aria- roles and states) and, if time permits, updates the CSS to use BEM syntax. Shall keep this thread updated with a status.

JamesK89 commented 6 years ago

I've also encountered this issue.