DEV Community

Discussion on: Why can't we solve accessibility with a one line script tag?

Collapse
 
pavlicko profile image
Just Another Developer

not only do those overlays not help much, they provide almost no protection for accessibility lawsuits so use with caution. If you're not sure where to start, make sure that basic stuff like:
being able to tab through links and sections of your website (in a logical order)
alt attributes for images aren't missing (unless it's a pointless image, like a custom bullet)
aria-labels are implemented
contrast of text is compliant

and whoever mentioned popup date pickers was right...it's a black hole with no way out so be very careful when implementing those. safer to use another method

I'm all for improving web accessibility, I just wish users weren't so litigious. A simple request, followed by a warning, followed by an action is a better way to go. I'm of the opinion that most developers still aren't even aware of how important it is.