How to highlight images with empty `alt` attribute?

img[alt=""]:not([aria-hidden]),
img:not([alt]) {
  outline: 5px solid #ff0000;
}
Copy

July 31st, 2019

# Highlight all images without alt attribute

Add to bookmarks

Highlight apply a red outline on all images with empty or missing alt attribute.

Tracking with Matomo to improve the UX. See Privacy Policy for more details.