4 Comments


  1. I guess that also helps a bit with the accessibility testing (image ALT tags).

    Reply

      1. Peter,

        As per the W3 take on Accessibility:

        If alt text isn’t provided for images, the image information is inaccessible, for example, to people who cannot see and use a screen reader that reads aloud the information on a page, including the alt text for the visual image.

        As such, images should always use and alt tag (although at times I forget as well).

        Reply

        1. All that the W3 is stating there that without an alt text there is no way for people who cannot see or have images disabled to know what the image is about. That does not mean all images are required to have an alt text. Because not all images are that vital to the content, which the article I linked to does a great job describing.

          It can be put in another way, if an alt text is going to provide such a visitor with relevant information, then an alt text makes things more accessible. I would contend that for blog post images this is usually not the case. Bloggers often use decorative pictures to make people more likely to click and read and to create nicer looking design. And themes encourage featured images, so images get chosen often to make the content visually more appealing.

          People who are not seeing these images in the first place do not really benefit from having a textual description of those pictures.

          In fact the alt text could make things less accessible by disrupting the flow of reading. Take this very blog post, a screen reader would have to parse a hyphenated word “frontend hyphen dev hyphen plugin”. Best case it adds a little meta information that the reader may or may not find interesting, but if you omit it the page didn’t all of a sudden become less accessible.

          Reply

Leave a Reply