E-mail List Archives
Thread: Decorative images with captions
Number of posts in this thread: 2 (In chronological order)
From: Damon van Vessem
Date: Sun, Dec 03 2023 12:33PM
Subject: Decorative images with captions
No previous message | Next message →
Greetings,
What's the best approach for images that would normally have alt="" but
also have an image caption? Hide the caption for screen reader users?
Example: in an article about a person, a headshot of them, with caption
"Steve Steverman in 1977."
Thanks,
Damon
From: Patrick H. Lauke
Date: Sun, Dec 03 2023 12:39PM
Subject: Re: Decorative images with captions
← Previous message | No next message
In general: if they've got a caption, then they're not decorative. If
the caption sufficiently describes the image, then give the image an
empty alt and keep the caption (as that then serves the purpose of
providing the alternative for the image).
Otherwise, keep both the alt that described what the image looks
like/contains, and the caption provides more context on what the image
tries to illustrate/show/mean.
P
On 03/12/2023 19:33, Damon van Vessem wrote:
> Greetings,
>
> What's the best approach for images that would normally have alt="" but
> also have an image caption? Hide the caption for screen reader users?
> Example: in an article about a person, a headshot of them, with caption
> "Steve Steverman in 1977."
>
> Thanks,
> Damon
> > > > --
Patrick H. Lauke
https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
https://mastodon.social/@patrick_h_lauke | skype: patrick_h_lauke