[whatwg] image captions

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