Re: unifying alternate content across embedded content element types

Robert Burns wrote:
> It might be helpful if you too could provide some examples of what 
> you're saying. For example, in Jon's Fluffy picture example, how would 
> you populate the @alt attribute? I understand one needs context to be 
> able to do this, but feel free to take liberties, make assumptions and 
> fill in the gaps and then craft an example.  It would just be helpful 
> to see how one might attach proper @alt  and @longdesc to an simple 
> example like this.

Context: document about Fluffy
Code: <img alt="Fluffy likes playing with balls of yarn." src="cat.png">
Code: <img alt="My cat Fluffy likes playing with balls of yarn." 
src="cat.png">
Code: <img alt="I let my cat, Fluffy, played with a ball of yarn when we 
were at my friend’s house a year ago. He seemed to enjoy it." src="cat.png">
Code: <img alt="I own a cat named Fluffy. He likes playing with balls of 
yarn." src="cat.png">

You want to convey what the image was meant to convey rather than simply 
describing what’s in the image. If that isn’t clear enough, take the 
following example.

Image: icon depicting a house
Bad Example: <a href="/"><img alt="House Icon" src="home.png"></a>
Good Example: <a href="/"><img alt="Go to the Home Page" src="home.png"></a>

<a href="/">House Icon</a> is, obviously, not what was meant to be conveyed.

Received on Sunday, 15 July 2007 07:37:45 UTC