]> git.koha-community.org Git - koha.git/commit
Bug 28937: (QA follow-up) Accessability improvement
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 27 Sep 2021 11:48:54 +0000 (12:48 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Sep 2021 10:47:33 +0000 (12:47 +0200)
commit281be1ade3a73072083dc739584dd5806e2033cb
tree38d24e1e168f95a8923b74abd379b9915386a4bf
parente5f1ada24940211e14e89a190755128fc0b5cf6a
Bug 28937: (QA follow-up) Accessability improvement

This patch adds a keydown event listener onto the flatpickr instance and
looks for the down arrow key. When such an event is detected we take
that to mean the user wants to keyboard navigate the calendar widget and
so disable the buggy allowInput option allowing keyboard navigation to
work as expected.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc