Forum Moderators: open

Message Too Old, No Replies

What's the importance of alt text for images in blog posts?

Why is alt text crucial for blog post images?

         

Julie Nester

5:45 am on Oct 4, 2023 (gmt 0)



Looking to boost your blog's accessibility and SEO? Learn why alt text for images in blog posts is essential. Share your insights on this topic!

tangor

3:17 am on Oct 5, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I just keep it simple, such as W3C:

Definition and Usage

The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).

Note: The alt attribute is required for the <img> element.

Note: For <input> elements, the alt attribute can only be used with <input type="image">.

Tip: To create a tooltip for an image, use the title attribute!

phranque

4:44 am on Oct 5, 2023 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



using a text-based browser such as lynx will answer all your alt text questions.

Oktavian

10:35 am on Mar 13, 2024 (gmt 0)

Top Contributors Of The Month



Does this mean that if I never alt - I'm making a mistake? Adds a photo title and description - but never alternative text. Should I fix it?

Should I add the same thing as the description or something completely different?

not2easy

1:59 pm on Mar 13, 2024 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The alt="text" is what is read instead of an image so that people with vision problems can understand what they can't see. The Alt text should describe the image. It also allows reading software to describe what is not included in the text.

Google offers a How-to group of articles to help site creators learn the what and why of such details: https://web.dev/

lucy24

5:07 pm on Mar 13, 2024 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Adds a photo title and description - but never alternative text.
What do you mean by “description”? That's not an html tag. In general, the alt is a description; that’s why it exists. Similarly, what do you mean by “title”? The <title> tag, or something else? Titles are rarely necessary with images, unless you’re adding optional extra information (looking at you, xkcd) or it’s text-as-image.

I have been known to use “[see caption]” * as the alt text, where an image already has a long descriptive caption. But that’s more likely if you’re reformatting existing material, such as an old book.

* Also, in rare and special cases, “clay pot” repeated hundreds of times. But generally this is Not Nice.