W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: unifying alternate content across embedded content element types

From: Thomas Broyer <t.broyer@gmail.com>
Date: Wed, 18 Jul 2007 21:23:13 +0200
Message-ID: <a9699fd20707181223n192f6afds1262ad5ad497c04f@mail.gmail.com>
To: public-html@w3.org

2007/7/18, w3c@appxweb.com:
>
> Case 1
> <img src="../images/valid-xhtml10-blue.gif" alt="Valid XHTML 1.0
> Transitional" height="31" width="88"/>
>
> Case 2
> <a href="http://validator.w3.org/check?uri=referer"
> style="float:right;"><img src="../images/valid-xhtml10-blue.gif"
> alt="Valid XHTML 1.0 Transitional" height="31" width="88"/></a>
>
> In the first case the image is used as a icon to demonstrate the
> webpage is valid  XHTML 1.0 and in the second it does this as well as
> providing a mechanism to validate the page (by clicking the image link).
> The alt text  "Valid XHTML 1.0 Tansitional" does not adequately convey
> the meaning of both of these cases  because the primary context is lost.

How about:
<a href="http://validator.w3.org/check?uri=referer"
   title="This page is valid XHTML 1.0 Transitional: check yourself"
><img src="../images/valid-xhtml10-blue.gif"
   alt="Valid XHTML 1.0 Transitional" height="31" width="88"></a>

-- 
Thomas Broyer
Received on Wednesday, 18 July 2007 19:23:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT