Reply to Re: required attribute "ALT" not specified .

Your name:

Reply:


Posted by Neredbojias on 06/02/07 17:11

On Sat, 02 Jun 2007 16:43:04 GMT Adrienne Boswell scribed:

> You leave the alt attribute blank if the image is for decoration. For
> example:
>
> <h1><img src="companylogo.png" alt="" height="100" width="200">Company
> Name</h1>
>
> or
>
> <h1><a href="index.php" title="Return to Company Index Page"><img
> src="companylogo.png" alt="" height="100" width="200">Company Name</a>
> </h1>
>
> vs
>
> <p><img src="rolo.png" alt="Our cat Rolo sitting at the window"
> height="100" width="100"> This picture of our Maine Coon, Rolo, was
> taken when we first got her. Rolo loves to sit at the window and wait
> for the birds, then she "sings" to them.</p>
>
> Notice 1 and 2 have no alt text because they are for decoration. The
> second example uses the title attribute to give the user a hint to the
> destination. The third example DOES use have alt text because it is
> NOT purely for decoration.

Being out-of-scope content-wise and being just "for decoration" are not the
same thing. I suggest both the first and second images could benefit from
alt text as well.

--
Neredbojias
He who laughs last sounds like an idiot.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация