Accessibility · Junior · Question 11 of 75

What alt should a purely decorative image have?

Show the answer

Correct answer: An empty one: alt=""

Explanation

An empty alt tells assistive technology to skip the image. Leaving the attribute out is worse: some screen readers then read the file name.

Further reading

Problem with a question

Accessibility · Junior · question 11

Test yourself

Take the Accessibility · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz