Accessibility · Middle · Question 52 of 75

A photo set via CSS background-image carries meaning. What's the issue?

Show the answer

Correct answer: There's no text alternative unless you add one

Explanation

CSS images don't reach the accessibility tree. Use <img>, or add role="img" with aria-label.

Further reading

Problem with a question

Accessibility · Middle · question 52

Test yourself

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

Take this quiz