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

[whatwg] The IMG element, proposing a CAPTION attribute

From: James Graham <jg307@cam.ac.uk>
Date: Fri, 10 Nov 2006 16:54:52 +0000
Message-ID: <4554AEDC.3030804@cam.ac.uk>
Elliotte Harold wrote:

> Given that, I suspect we're probably better off just using regular 
> paragraphs in text with appropriate CSS instructions rather than 
> introducing a new element.

I strongly disagree. The caption is intrinsically linked to the image and, by 
making this relationship explicit, UAs should be able to provide more helpful 
information. For example in something like a scientific paper, figures and their 
caption are "out of the flow" in the sense that one can read all the figures and 
captions separately to the main body of text. With a <caption> element an aural 
UA can read the captions only on user request, improving the flow of the text. 
One can also imagine other types of UA making use of this information e.g. the 
googlebot to improve image search.

-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead
Received on Friday, 10 November 2006 08:54:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC