What is good alt text to use?



For step 1 of this exercise, is “A photo of a brown bear’s head” good alt text to use?


This text certainly is descriptive and you are off to a great start here! With few exceptions, we generally want to avoid phrases like “photo of…”, “graphic of …”, “image of …” with our alt attributes as this information is usually redundant. I would recommend the more concise yet sufficiently descriptive alt value of “Brown Bear”.

For more information on how to create great alternative text, take a look at these examples.

FAQ: Learn HTML Elements - Intro to HTML - Image Alts

Why doesn’t the alt text display itself along with the image? How do we make the text accompanying the image visible for a normal web reader?