WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: IMG with a caption?

for

From: Glenda
Date: Mar 3, 2005 1:50PM


Thanks, that explains why I couldn't find any option in my reference book.
Funny, there's ALT for blind users, but nothing simple for sighted users.

Glenda

-----Original Message-----
From: lists38 [mailto: <EMAIL REMOVED> ]
Sent: Thursday, March 03, 2005 1:12 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] IMG with a caption?



glenda wrote:

>I having a brain freeze -- is there a way to add a caption under an img??
>Yes, it would be in addition to an ALT. Just need a quick way to add a
>brief description for sighted users.
>
>
>
There is no HTML element or attribute for that, that would make a
connection between the image and the caption. The caption element is for
tables exclusively.

One option would be to nest the image in the same paragraph, at least
then it has the same element. Setting the image display to block in
the CSS will show it above the text.

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

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.0 - Release Date: 3/2/05

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.0 - Release Date: 3/2/05