W3C
Web Content Checkpoints Table-of-Contents Web Content - the 'Quicktips'
Change-size

Web Content Techniques


[Checkpoint A.1.1] Provide alternative text for all images (e.g., in HTML, via the "alt" attribute of the IMG and INPUT elements, or via "title" or within the content of OBJECT). Note. This includes images used as image maps, spacers, bullets in lists, graphical buttons and links. [Priority 1]

When using IMG, specify alt-text with the "alt" attribute.

Example. <IMG src="magnifyingglass.gif" alt="Search">

When using OBJECT, specify alt-text either with the "title" attribute:

Example. <OBJECT classid="Duke.class" title="Java applet: Duke waving." width="50" height="50"></OBJECT>

or in the body of the OBJECT element:

Example. <OBJECT data="magnifyingglass.gif" type="image/gif">Search</OBJECT>


Charles McCathieNevile

7 of 28