One of the first things anyone learns about accessible web design is the importance of the alt attribute on images. If you are using XHTML, image tags without alt attributes won't even validate, so ensuring this information is provided becomes even more important. Writing alt text is easy, but writing it well enough for it to be a help rather than a hindrance can take some thought.
The alt attribute is meant as an alternative to the image; if the image is displayed, the alt attribute should not be (unfortunately Internet Explorer gets this wrong by displaying alt attributes as a tooltip, a function better served by the title attribute). When writing alt text, it is important to ask yourself what information the image is conveying.
Most sites contain a large number of images which are there for purely decorative purposes: things like spacer gifs, images forming the corner of a pretty drop shadow effect, floral patterns attached to item headers. All of these should have their alt attributes left empty. They add no extra information to the content, so as far as a screen reader or text browser is concerned they do not exist.
Images containing text are frequently used when a non-standard typeface is required by a site design. There is absolutely nothing wrong with this technique from an accessibility point of view, provided the alt text exactly replicates the text on the image. There are no exceptions to this rule: if an image contains text, the alt text must be the same. This is particularly important when images are used for navigation elements that also act as links.
Charts and graphs are one of the harder image types to make accessible. The phrase "a picture speaks a thousand words" definitely applies here. Often though, a chart will be being used to highlight a specific trend. The alt text can therefore be used to summarise that trend, for example "unemployment rates rose from 5% in January to 7% in March". The longdesc attribute may become useful here (more on that below).
If an image is being used as a custom bullet point for a list, consider using CSS instead. CSS provides an easy way of replacing the bullet points in an HTML list with a custom image, and doing so will reduce the size of your markup while making things more accessible as well. If for some reason this is not an option (you need to serve up a pixel-perfect design to users of outdated browsers such as Netscape 4) then it is acceptable to use a single asterisk instead: this will at least serve text browsers such as Lynx
The above advice covers the most common easy cases; for images that are there for a purpose and are not covered above you really need to use your imagination. What information is the image conveying? For example, a photograph of your Uncle may be served by "My Uncle, standing in our living room, holding our black and white cat". Writing suitable alt attributes for photographs is particularly difficult. There are no hard and fast guidelines, so it is up to you to make the best of a tricky situation.
The Lynx text only browser is a great tool for testing whether or not your alt attributes are effective. It can be downloaded from the Lynx site, but there is also an online tool which emulates your site as displayed by Lynx without the need to install any additional software.
Less well known than the alt attribute is the longdesc attribute, an optional extra for the image tag which can be used to point to the URL of a full description of an image. Support for longdesc in modern user agents is almost non-existent, but that may well change in the future. Depending on the information conveyed by an image, you may be well served to write up a separate long description and link to it using this attribute. One clever technique (demonstrated by Mark Pilgrim in his 100 series) is to include the description on a page below a photgraph, and use the longdesc attribute to link to that part of the page using a fragment identifier.
Essay Writing | Sun Apr 19 2009
Essay Writing | Sun Apr 19 2009
Office Templates | Wed Apr 15 2009
water damage atlanta | Wed Apr 15 2009
water damage miami | Wed Apr 15 2009
water damage miami | Wed Apr 15 2009
stag weekends | Mon Apr 13 2009
government grants | Sun Apr 12 2009
Custom Dissertation | Fri Apr 10 2009
rezv | Thu Apr 09 2009
cooking games | Thu Apr 09 2009
China Tours | Wed Apr 08 2009
Toplist | Wed Apr 01 2009
FlyerTemplates | Wed Mar 25 2009
XRumer | Mon Mar 23 2009
Sonia | Sat Mar 21 2009
Romee | Fri Mar 13 2009
Smooth Pixel | Tue Feb 17 2009
Trip insurance | Fri Feb 06 2009
Telepresence | Fri Feb 06 2009
Jeff | Wed Jan 28 2009
baby toys | Fri Jan 16 2009
Bluedir | Sun Jan 11 2009
Robert Riley | Sat Jan 03 2009
Kyle Mallard | Wed Dec 10 2008
Gareth | Thu Nov 06 2008
Mr & Mrs Smith | Tue Nov 04 2008
gömlek | Tue Oct 28 2008
sohbet | Tue Oct 28 2008
toplist | Tue Oct 28 2008
seoibiza | Tue Apr 08 2008
seoibiza | Tue Apr 08 2008
Julian Bowler | Tue Apr 08 2008
seoibiza | Tue Apr 08 2008
Julian Bowler | Sun Apr 06 2008
Julian Bowler | Mon Mar 03 2008
Julian Bowler | Mon Mar 03 2008
Francisco | Sun Oct 14 2007
Roy Egas | Mon Aug 06 2007
Susan B. | Tue May 01 2007
kelly adams | Mon Apr 23 2007
Bryce | Fri Apr 06 2007
Sheila | Tue Mar 20 2007
Rambo | Wed Dec 13 2006
goetsu | Wed Jul 13 2005
Jens Meiert | Tue Apr 05 2005
Flores | Sat Jan 22 2005
Jon Gibbins | Sat Jan 22 2005
carol (The Lost Soul Gallery) | Wed Jan 12 2005
carol (The Lost Soul Gallery) | Wed Jan 12 2005
Harry Bartram | Tue Jun 22 2004
Elaine Nelson | Tue Dec 09 2003
Matt Williams | Fri Dec 05 2003
Eric Scheid | Thu Dec 04 2003
Owen Gregory | Tue Aug 12 2003
If you spot an error or have any problems using this site, please contact us and we will do our best to rectify any issues asap. We appreciate all feedback and are constantly working to improve standards of compliancy and accessibility on the GAWDS site.
Auto Hifi | Tue Apr 21 2009