WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Figures, ALT text and lightboxes

for

From: Steve Faulkner
Date: Feb 7, 2016 1:51PM


Hi bernard,

repeating the caption in the alt is not a good idea, but providing some alt
text to indicate the presence of the image is useful:

<figure>
<img src="shadows.jpg" alt="photo:">
<figcaption> Shadow like figures and a graffiti tag drawn on the walls of a
partially demolished building, illuminated by the light from a street lamp.
</figcaption>
</figure>



Here is some further advice on figure usage that may be helpful
https://www.w3.org/TR/2014/WD-html-alt-techniques-20141023/#m6



--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;

On 7 February 2016 at 20:24, Bernard de Broglio <
<EMAIL REMOVED> > wrote:

> Thank you Steve, that was very helpful.
>
> We -can- provide a text alternative for the image, but it would be
> essentially the same as the caption.
>
> My concern was that a screen reader would read the caption twice.
>
> (The images are historic photos of urban locations. The caption names the
> place with a brief description.)
>
>