• 2019-11-20

    Highlight image alt attributes


    Start a discussion

    For SEO, image alt attributes should be added to all images. By default it's not possible to see which images has alt attributes and which has not. With CSS you can highlight them.

    img:not([alt]) {
      outline: 10px solid red;

    <img src="https://placekitten.com/100/100" alt="Alt tag">
    <img src="https://placekitten.com/100/100">