DEV Community

Discussion on: CSS can help improve your HTML⁉ - Ep 1: alt attributes

Collapse
 
siddharthshyniben profile image
Siddharth • Edited

This isn't a pretty new idea, there are a few CSS stylesheets out there which highlight these errors. The first one which comes to mind is the a11y.css bookmarklet.

a11y.css in action

Maybe you could compile all the a11y errors into a bookmarklet?

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

You are right, but the new parts in this are the enforced use of role=“presentation none” for decorative images and catching default output, neither of which I have seen before (and won’t see as they are not things a generic library could do).

The idea is to show how you can enforce company wide policies etc.

However I will be introducing that project later in this series as they have some great tricks etc! 👍❤️