Add a Text Alternative to Images for Visually Impaired Accessibility

Add a Text Alternative to Images for Visually Impaired Accessibility
0.0 0

#1

After I passed the lesson, it still does not show the image. Is their an error here?

Tell us what’s happening:

Your code so far


<img src="doingKarateWow.jpeg" alt="logo">

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility


#2

Hi @RomingArt,

There is no problem, because the lesson explain the purpose of alt attribute in <img /> tag, so, they give you broken image link to see the purpose of alt attribute.

The purpose of alt attribute: when the link of image broke, the title you put it in alt attribute appear.

Hope this help you to understand, good luck my friend and have a happy coding.

Regards,
Ali Mosaad


#3

Thank you very much for your answer.