Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
|
It's just to add a little more information to the link. Maybe the link needs to be kept to a single word to fit into your navigation, but you want to offer people more information before they click on the link. Most browsers will display what's in the title attribute as a tooltip.
The alt attribute is for images and it's main use is to present information to people who can't see your image. Screen readers will speak the alt attribute. For images that are only 'eye candy' like a gradient background behind a menu it's best to just leave the alt attribute blank.
For an image that's meant to transfer some information add that information in the alt attribute.
Here's a good article I came across awhile back about how to use alt and title attributes.
|