Re: unifying alternate content across embedded content element types

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 UTC