WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: caption?

for

From: Steven Splinter
Date: May 7, 2002 4:49PM


One idea I've used is to put the image in a single-cell table, and then use the
caption within the table cell. Would that meet accessibility?

Jukka Korpela wrote:

> Unfortunately there is no structured markup for image captions in HTML.
> Usually authors use a table, with the image in one cell and the caption text
> in another cell below it:
>
> <table>
> <tr><td><img alt="..." src="..."></td></tr>
> <tr><td>Your caption here</h></tr>
> </table>
>
> (Probably to be accompanied with presentational attributes and/or CSS rules
> to tune the visual appearance.)
>
> This might even be regarded as "tabular data", or genuine (structural)
> table, stretching a bit; it would then be logical to use <th> markup for the
> cell containing the caption. But in practical terms, it wouldn't help much,
> I'm afraid. The visual appearance might give sufficient clue of the intended
> relationship, but non-visual user agents couldn't deal with it very well.

--
-Steven Splinter
UMass Dartmouth Web Development
<EMAIL REMOVED>
508-910-6483



----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/