Usability Exam Question
- What is the alt argument on an HTML img tag, and why is it
important to use it?
(5 marks)
- Marking scheme:
2 points for what it does
3 points for saying it's needed for the visually impaired
- Sample answer:
An img tag is the way you put a picture
into an HTML page. The alt tag is what browsers display when
they can't display the picture; some display the text when
you put the mouse over the picture. If a user is visually
impaired, they may not be able to see the picture properly.
So, the alt tag is necessary for many visually impaired users
to make use of the picture.