A document with an image that represents of map of the Mediterranean in 180 AD. The document contains an object element that embeds the map in GIF format; inside the object element is an img element that embeds the same map in JPEG format. The img element has an alt attribute, a title attribute and a longdesc attribute. The alt attribute identifies the image but the image is too complex to be described in an attribute. The longdesc attribute refers to a section inside the object element that identifies the image and conveys the same information. Long description for complex image: image inside object; longdesc on image refers to section inside object Christophe.Strobbe@esat.kuleuven.be en Copyright BenToWeb 2004-2007 2005-08-30 draft General Inclusion: The object element How to specify alternate text The longdesc attribute

This test case is intended to pass because the alt attribute provides a short description and the longdesc attribute points to a section inside the same page that contains an appropriate text alternative. The test is for the longdesc attribute rather than the alt attribute. Strictly speaking, this should work, but poor support for longdesc and the object element in some browsers may cause problems, especially because the long description is inside the object element.


Can you find the long description of the image?

Can you find the long description of the image?

The image has a short text description as well as a long one.

The img element has an alt attribute and a longdesc attribute.

This test is identical to xhtml1_wcag2_20050630_1.1_l1_sc1_028 but the long description is moved into the object element. Since browsers do not necessarily provide access to the content of the object if the object can be displayed, it is not certain that the long description is available to users.

(Internet Explorer does not support object and is supposed to display the fallback image, but refuses.)

The image has a text description.

The img element has an alt attribute with appropriate alternative text and therefore the img element is valid.