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

Brendan Lawlor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |[email protected]

--- Comment #13 from Brendan Lawlor <[email protected]> ---
Overall I liked how the split input works for entering dates. It's also nice
that it can be controlled per field.

I'm failing QA because when navigating the form with the keyboard, on a split
input date, if you hit enter on the calendar icon to open the date picker, the
focus stays on the calendar icon, and you can't navigate the date picker using
using the arrow keys at all.

That violates WCAG 2.4.3 Focus Order. Someone using keyboard navigation is able
use the button that says 'Open calendar', but focus remains on the icon instead
going into the calendar that they opened. They would have to try tabbing
through the rest of the page to hopefully get to the date picker 

With the standard flatpickr inputs currently in Koha, focus is not handled
properly, but you can at least navigate the calendar using the arrow keys and
use enter to select a date. There are some more specific accessibility issues
with flatpickr mentioned here:
https://github.com/flatpickr/flatpickr/issues/3065

(In reply to David from comment #11)
> We should look into using the form input types for dates and time: date, 
> datetime-local, and time 
> https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/date

I agree with this idea, but understand it would be a big change. 

The input type date allows for for similar split style input for dates, but
with full keyboard support. You can use up and down arrows on each date part
and focus is properly handled in the calendar date picker too.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to