1. Home
  2. Docs
  3. SiteLint
  4. Accessibility Rules
  5. missing-alt-attribute


Print this article


This rule determines if following HTML elements have defined an alternative description through an alt attribute for non-decorative images, images within a link, form fields, and other interface elements.

  • img
  • area
  • input[type="image"]


People who are blind or have low vision may need additional information presented as text so they can access information and control interface elements. Complex images may require detailed descriptions to convey important or useful information. For instance, provide a more detailed description for a chart demonstrating a growth trend.

How to fix it

Give the purpose and function of the picture within the context of the surrounding information and provide any text shown in the image, verbatim.


Was this article helpful to you? Yes No