W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2006

[whatwg] image captions

From: David Walbert <dwalbert@learnnc.org>
Date: Tue, 27 Jun 2006 08:23:50 -0400
Message-ID: <1C9452B8-E9F9-4392-B7FB-09F5A6637328@learnnc.org>
On Jun 27, 2006, at 7:42 AM, dolphinling wrote:

> But there's the implicit association given by the fact that they're  
> there, together, in the <div>, and nothing else is. Do you really  
> need anything more than that?

There is also the implicit association given by the fact that the  
caption immediately follows the image. Visually, one assumes that the  
caption would be placed next to or beneath the image; nonvisually,  
one would hear or read the caption directly after the image or its  
alternate text. So there is certainly nothing "wrong," in practical  
terms, with simply placing them together in a logical div and not  
worrying further about it. (One also assumes that the text of the  
caption should clearly relate to the image -- clear writing will help  
make the association clear.)

For scripting purposes I have occasionally needed to tie an image and  
its caption explicitly by giving them related IDs that a particular  
javascript function can call (e.g. img id="img1" and p id="img- 
caption"), and it would be helpful in these situations to have a  
standard syntax for that explicit relation. But the availability of  
such syntax should not imply that everyone needs to use it for all  
markup, all the time; I can't see it being useful in ordinary web  
design (to the reader/user, which should ultimately be the point)  
unless there are actions associated with the image and caption.


____________________________________
David J. Walbert
Editorial Director & Information Designer
LEARN NC
School of Education
The University of North Carolina at Chapel Hill



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20060627/c15980ac/attachment.htm>
Received on Tuesday, 27 June 2006 05:23:50 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC