Accessibility · Junior · Question 10 of 75
What is the alt attribute of an image for?
- 1A tooltip that shows when the mouse is over it
- 2A hint for browsers about how to compress it
- 3A text alternative when the image can't be seen
Show the answer
Correct answer: A text alternative when the image can't be seen
Explanation
Screen readers announce it, and browsers show it when the image fails to load. A tooltip comes from title, which is a different attribute.