W3C home > Mailing lists > Public > www-html@w3.org > July 2005

Re: Best Practices: Presentational Images

From: Orion Adrian <orion.adrian@gmail.com>
Date: Thu, 7 Jul 2005 13:01:54 -0400
Message-ID: <abd6c80105070710015ce916e8@mail.gmail.com>
To: www-html@w3.org

On 7/7/05, Jeremy Rand <jeremy@asofok.org> wrote:
> When you want to include presentational images (alt text as ""; is not
> content) in an XHTML document, is it best practice to include them in
> the document itself, or to add them through XSLT?  I'm thinking it would
> be XSLT, since that would separate content from presentation, but I'm
> wondering what the people on this list think.

All images need alt text. It doesn't matter how an image gets to the
user (via XSLT or hard coded), images should always be used as content
and not as presentation unless they're purely styling and that should
be handled by CSS.

Group, correct me if I'm wrong.


Orion Adrian
Received on Thursday, 7 July 2005 17:02:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:11 UTC