WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Do native HTML date pickers automatically fail SC 1.4.4 (Resize Text)?

for

From: Birkir R. Gunnarsson
Date: May 26, 2024 2:56PM


Yeah man, it's a tough situation.
You can use the date input type, though it doesn't offer much in the way of
auto-formatting.
You can add some Javascript auto formatting without too much work (i.e.
allow the user a more flexible input.
e.g.
https://codepen.io/tutsplus/pen/KMWqRr

With some copying and pasting it should only take an extra hour of work,
definitely a lot less work than trying to write an accessible datepicker.

That's the route I'd try to go with this, but honestly it's up to the
client and your feel for the dynamics. Whatever you do, make sure to file
or comment on browser bugs for this in Firefox/Safari/Chrome/Edge.
If you post the URL for the issues back here I'll take time to comment on
them and ask some of my colleagues to do the same . It may not be much, but
if you can point to the fact you have tried to do something about the
inaccessibility of the datepickers that might be of some value.