[whatwg] image captions

fantasai fantasai.lists at inkedblade.net
Wed Apr 5 15:10:28 PDT 2006


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




More information about the whatwg mailing list