David Dixon wrote:
you can use the alt attribute to describe the image itself
which would vastly improve the accessibility (eg. "An image of a
wheelchair, a symbol for accessibility").
No, that's a bad example of alt text. The alt text should serve the
same purpose as the image, not necessarily describe it. The only cases
where the alt text should describe the image is when the content is
actually talking about the image itself.
This case appears to be one of those edge cases where there are good
arguments to include the image within the markup and others to include
it within the CSS. However, it all comes down to whether or not the
image is *semantically relevant* to the content, not just whether or not
it is presentational.
In this case, the wheelchair icon, being an iconic representation of the
surrounding text, is semantically relevant to the content. However, it
does not convey any additional meaning beyond that conveyed by the
surrounding text, and so it should have no alternate text.
The text you proposed is not suitable as alt text because it describes
the image, not the purpose of the image. It would, however, be suitable
content for the title attribute.
You could markup the image like this:
<img src="/images/accessibility.jpg" width="100" height="89" alt=""
title="An image of a wheelchair: the symbol for accessibility">
Here are some very useful resources that describe how to write suitable
alternate text
http://joeclark.org/book/sashay/serialization/Chapter06.html
http://hixie.ch/advocacy/alttext
http://www.htmlhelp.com/feature/art3.htm
--
Lachlan Hunt
http://lachy.id.au/
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************