area
elements identifies the link destination.
area
element may not identify the link destination.
area
element must describe the link destination.
Question | Does the Alt text for this area element identify the link destination? |
---|---|
PASS | Alt text for area element identifies the link destination. |
FAIL | Alt text for area element does not identify the link destination. |
alt
attribute value of each area
element.area
elements identifies the link destination.alt
attribute value so it identifies the destination of the link.<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>OAC Testfile - Check #65 - Negative</title> </head> <body> <p><img src="library.gif" usemap="#map1" alt="Image map of areas in the library" /> </p> <p><map id="map1" name="map1"> <area shape="rect" coords="0,0,50,50" href="reference.html" alt="reference section"/> </map></p> </body> </html>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>OAC Testfile - Check #65 - Positive</title> </head> <body> <p><img src="library.gif" usemap="#map1" alt="Image map of areas in the library" /> </p> <p><map id="map1" name="map1"> <area shape="rect" coords="0,0,50,50" href="reference.html" alt="drawing of a blue book"/> </map></p> </body> </html>