CodeHQ

Highlight images with no alt tag

Use this snippet to highlight all images with no alt tag – good way to highlight everywhere you’ve missed a tag!

img[alt=""], img:not([alt]) {
	border: 5px solid red;
}

Original post below:

http://twitter.com/AllThingsSmitty/status/930617039085035520