Current Posts

ALT, Long Description, D-Link

Good and bad examples of the ALT parameter. Long descriptions and D-links: what are they and how do you code one?

Download Web Axe Episode 5

W3C on text equivalents

Code samples:

<img href="mskensington.jpg" alt="Ornate photo of Ms. Kensington" />

<img href="earningschart1.jpg" alt="Chart of XYZ Corporation Earnings 1995 through 2005" longdesc="long_desc_earningschart1.htm" />

<img href="earningschart1.jpg" alt="Chart of XYZ Corporation Earnings 1995 through 2005" />
[<a href="long_desc_earningschart1.htm" title="Long text description of earnings chart">d</a>]

Labels: , , , , , ,

7 Comments:

At 2:05 PM, Blogger Dennis Lembree said...

Editor's note: It's good practice for the d-link to include a title attribute to clarify what it's for. See third code example.

 
At 12:40 PM, Anonymous Chris Charlton said...

D-link, cool, learn something everyday! :)

 
At 4:33 AM, Blogger Ambrish Shrivastava said...

Hi can you tell me that the alt tags that i put on the my website is ok http://www.dimensioni.net i think according to your it should not be but what can i do for this becasue i need to put all the keywords of my website in the alt tag is any other methods to put lot of keywords in our site. plz tell me

 
At 6:30 PM, Blogger Dennis Lembree said...

Hello Ambrish, I've looked at your web site home page. The ALT attribute for the images with numbers should only state the number i.e. alt="one". For the image with a URL, why not just use text? Spacer images should have an empty ALT attribute i.e. alt="". Bullets images should also be empty or a "*". I would highly recommend using web standards which would eliminate both of thest types of elements altogether. Also, try not to stuff keywords into ALT attributes as search engines may give you less credibility or even blacklist you.

 
At 2:59 AM, Blogger Ambrish Shrivastava said...

Oh thanks for this valuable information i will try to follow this.
please keep me in your touch.

 
At 5:46 AM, Blogger Raj said...

This post has been removed by a blog administrator.

 
At 11:10 PM, Anonymous shiv kumar gupta said...

Hi can you tell me that the alt tags that i put on the my website is ok
http://www.impactitsolutions.com
thanks

 

Post a Comment

<< Home

RSS icon; follow the RSS feed for Web Axe Twitter icon; follow Web Axe on Twitter

Like Web Axe?

Podcast Alley

Odeo

Mapper on Frappr

Add yourself to the Web Accessibility Enthusiasts mapper

Previous Posts

Related Sites

About the Hosts

About Dennis

Dennis Lembree is the founder of web development company Web Overhauls, which specializes in web usability, standards, and accessibility. Follow Dennis on Twitter: @dennisl

About Ross

Ross Johnson runs a web design company (3.7 Designs) that takes a wholistic view on the web and art of constructing pages. They strive to be creative and unique. Follow Ross on Twitter: @3pointross