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

Add Example Explaining that Alt Text is Dependent Upon the Context

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 23 Aug 2007 14:59:11 +1000
Message-ID: <46CD141F.1010702@lachy.id.au>
To: public-html <public-html@w3.org>

Hi,
   I think it would be good if the spec included a set of examples to 
explain that the alt text is dependent upon the context in which the 
image is used, and the purpose it is used for.  So the same image may be 
used in different locations and have entirely different alt text.

For example, and picture of a flag, such as the Australian flag, may be
used in different contexts.

* As a link to a localised version of a site.
   <a href="/au"><img src="aus-flag.png" alt="Australia"></a>

* In an article about the flag itself
   <img src="aus-flag.png"
        alt="The blue Australian flag features the red and white Union
             Jack in the top left corner, 5 white stars representing
             the Southern Cross on the right hand side and the 7-point
             Federation Star in the lower left corner below the Union
             Jack.">

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Thursday, 23 August 2007 04:59:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:48 UTC