3 ms·
Take it fairly seriously. Using the wrong elements and markup messes with screen readers, which makes the web harder to use for people with visual impairments a
by spcebar 3y ago
Take it fairly seriously. Using the wrong elements and markup messes with screen readers, which makes the web harder to use for people with visual impairments and makes your websites vulnerable to ADA lawsuits. If you need CSS help, there's a lot of free resources for that. Some pitfalls you might run into when styling links and buttons to look alike are font faces, display properties, widths, borders/outlines, and paddings, so check those as your first culprits. You can use aria-roles in a pinch, but really you should use the right tool for the right job.
- carlosjobim 3y agoTotal fear mongering. Then you can be sued as well for writing your comment in a too small font.
- spcebar 3y agoI've had multiple clients who have been sued for wrong font sizes and incorrect contrast ratios. This is absolutely real and prevalent.
- carlosjobim 3y agoCan't imagine such a lawsuit having any success, unless you have a corrupt judge, who will find or make up any fake reason for a guilty charge. In real life there are 100 times as many accessibility problems as on any web page – why shouldn't they be sued?