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

[whatwg] image captions

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 05 Apr 2006 18:10:28 -0400
Message-ID: <44344054.9020401@inkedblade.net>
Ian Hickson wrote:
> On Tue, 4 Apr 2006, fantasai wrote:
> 
>>I'm wondering what WA1 considers appropriate markup for a figure with a 
>>caption.
> 
>    <p><img src="image-equivalent-of-text" alt="text" title="caption"></p>

As Lachlan points out, putting caption text in an attribute isn't very
good design and it gets in the way of a lot of things: marking up the
text, styling it without having to be a web tech expert of your caliber,
etc. The alt attribute has similar problems, but at least there we have
<object> as an alternative.

~fantasai
Received on Wednesday, 5 April 2006 15:10:28 UTC

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