[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
Wed Sep 22 10:15:48 CEST 2021


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

--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Does it mean we should drop Flatpickr and revert what has been pushed already?

It seems that their accessibility issues don't get much attention:
https://github.com/flatpickr/flatpickr/milestone/5

See also https://github.com/flatpickr/flatpickr/issues/1329

Workaround suggested at
https://github.com/flatpickr/flatpickr/issues/1329#issuecomment-380805839

(In reply to Martin Renvoize from comment #7)
> (In reply to Katrin Fischer from comment #6)
> > > But would that not be the intended behavior if we want to allow for direct
> > > input of the date in the input field for accessibility?
> 
> For full accessibility, you should support both options ;)
> 
> > 
> > Also it seems that the behaviour is the same with our current widget:
> > 
> > * new patron
> > * tab to date of birth input field
> > * enter date with keyboard - ok
> > * try to use widget with keyboard keys/arrows - doesn't work
> 
> I worked on this recently for an accessibility audit of the OPAC ;).
> 
> Try the arrow keys whilst holding ctrl or shift ;). Holding ctrl sets the
> arrow keys to navigate through days, holding shift allows them to navigate
> month to month, year to year.  (This also works with the screen reader,
> reading out the date after a small pause on your selected date.
> 
> I think I even submitted a documentation patch for this.. it was a
> requirement to ensure it worked this way to pass the accessibility audit
> undertaken by UK Gov.

I do confirm that ctrl allows to navigate through days, however shift does
nothing for me. Alt does but conflicts with browser's shortcuts (tab switch).

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


More information about the Koha-bugs mailing list