Eric Bailey avatar Eric Bailey

Add punctuation to your alt text

Screenshot of “Add punctuation to your alt text”

To add a description to an image, author a string inside of an alt attribute declared on an img element. Assistive technology will recognize the presence of the alt attribute and read the string as it moves through the page or view.

In addition to making sure your alt description is accurate, there’s one other thing you can do that makes for a good experience: ending your alt text string with punctuation.

I didn't know that, but it makes sense!