[Koha-bugs] [Bug 28937] Use Flatpickr on circulation and patron pages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 27 13:57:15 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28937

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #11 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
OK, I think my follow-up should resolve the accessibility concerns I had..
Please test it.

With that in mind, I'm happy to PQA on the original patch, but would really
like someone to SO my follow-up to check for anything I've missed.

In short, I add a listener onto the flatpickr instance at it's creation time
and watch for the 'Down arrow' keydown even.. upon detection of that event we
temporarily disable the buggy allowInput configuration option of the flatpickr
instant and restore the keyboard navigation of the picker widget in doing so. 
The only caveat I can see with this is that there's not a clear keyboard
navigable escape back to the input to get manual input back once you've enabled
down arrowed into the widget... hitting escape does close the widget, but it
drops you back at totally different focus location for some reason.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list