HTML Bug Hunt Easy +10 XP
Missing Alt Attribute
This image is missing an accessibility attribute.
HTMLFind the bug
1
<img src="photo.jpg"> The bug is on line 1
Select the correct fix
Show answer and explanation
Answer: Add alt="description"
The alt attribute is required for accessibility. Screen readers use it to describe images to visually impaired users.
Hint: Screen readers need text descriptions.
What this challenge tests
Bug Hunt in HTML: accessibility, images.