ParulMishra
Crownpeak Employee
Crownpeak Employee

All images should specify an "alt" attribute

Why is this important?

Users who are visually impaired will not be able to see an image in a website. Providing an alternative text for images is an extremely important accessibility practice that allows screen readers to read the alt text and describe the image to the user. If the alt attribute is not set in the code, screen readers try may not read any useful information or read the filename of the image to give context, which may not helpful. It can also improve search engine ranking for images.

How can I resolve this issue?

Have an alt text attribute on all images, if an image is decorative an empty alt text (alt="") should still be added

What topics do this checkpoint affect?

  • Accessibility (WCAG 2.1 Level A, 1.1.1)
  • Legal

Can you explain how this checkpoint works?

The checkpoint flags any page that has <img> tags  with no alt attribute.
An example of an image with an alt attribute: <img src="smiley.gif" alt="Yellow Smiley">

References

Can't find what you are looking for?

Find Answers

Search our DQM Forum to find answers to questions asked by other DQM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question