W3CWeb Accessibility Initiative Home

No Repair Text for the ALT attribute for AREA elements

On this page: Test 1 | References | About these tests

Nearby: More HTML 4.01 Tests | UAAG 1.0 Test Suite

UAAG 1.0 Requirement

Checkpoint 2.8 No repair text (Priority 3 )
Provision 1 : Allow at least two configurations for when the user agent recognizes that conditional content required by the format specification is present but empty content: generate no repair text. generate repair as described in checkpoint 2.7.

Test 1 :

Procedure

  1. The user agent should not repair the NULL content of the area element.
  2. Or, the user agent should generate repair text as specified in Checkpoint 2.7.

Run test

Test Map Area

Expected results

  1. The user agent either makes some default value for the ALT text available to the user agent or informs the user that there is no ALT text.

Source code

<img src="../images/map-area2.gif" alt="Test Map Area" width="140" height="40" usemap="#testMap" border="0" name="testMap" id="testMap" title="Test Map Area">
  <area alt="" shape="rect" coords="0,0,70,40" nohref="nohref"></area>
  <area alt="" shape="rect" coords="71,0,140,40" nohref="nohref"></area>
</img>
<map name="testMap" id="testMap" title="Test Map Area">
  <area alt="" shape="rect" coords="0,0,70,40" nohref="nohref"></area>
  <area alt="" shape="rect" coords="71,0,140,40" nohref="nohref"></area>
</map>

References

  1. HTML 4.01 specification for ALT
  2. HTML 4.01 specification for AREA

About this test suite

This test is part of a test suite for the User Agent Accessibility Guidelines (UAAG) 1.0 . This work is conducted by the User Agent Accessibility Guidelines Working Group , which is part of W3C's Web Accessibility Initiative (WAI) . Please send comments on this test to w3c-wai-ua@w3.org ( public archive ).


Test created by:

Last modified: $Date: 2003/04/02 23:46:32 $ by $Author: jongund $