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 24, 2024 10:34AM


Would a single text input for the date be equivalent to a datepicker?
In most generaal situations I'd say it would be equivalent.

Where a datepicker provides critical info about what dates to pick, e.g. it
is an appointment calendar and you can see which days have available
appointments, or it's a calendar for booking a flight or hotel and prices
are attached to each day, obviously you need that info when you are
selecting.

So if the datepicker does not show anything over a date input, other than
indicating the days of the week, I think you can justify that it does not
have to be fully accessible, especially when it's native, but if it shows
such info I think you'd have to code something.
Again, opinions vary among experts and an expert can even have different
opinions based on minor context differences, but that's how I would
approach it, for what it's worth (which probably isn't much). ;)