Link Search Menu Expand Document

Add a Text Alternative to Images for Visually Impaired Accessibility

Summary

  • alt attributes are used to describe images/content when the content fails to load, or the user is using a screenreader.
  • Per HTML5 specification, the ‘alt’ attribute is considered mandatory.

Final Code

<img src="doingKarateWow.jpeg" alt="Camper Cat's profile picture">