<?xml version="1.0"?>
<!DOCTYPE testsuite SYSTEM "http://www.w3.org/WAI/UA/TS/dtd/uaag-testsuite-2.dtd">
<testsuite id="ts0101-accesskey-map">
  <metaInfo>
    <testTitle>ACCESSKEY attribute for MAP AREA</testTitle>

    <shortTitle>ACCESSKEY attribute for MAP AREA</shortTitle>

    <testElement>
      <elementName>ACCESSKEY</elementName>
		<hlink href="http://www.w3.org/TR/html401/interact/forms.html#adef-accesskey">&hspec; ACCESSKEY</hlink>
    </testElement>	

    <testElement>
      <elementName>MAP</elementName>
		<hlink href="http://www.w3.org/TR/html401/struct/objects.html#edef-AREA">&hspec; MAP</hlink>
    </testElement>
	 
	 <testElement>
      <elementName>AREA</elementName>
		<hlink href="http://www.w3.org/TR/html401/struct/objects.html#edef-AREA">&hspec; AREA</hlink>
    </testElement>	  

    <creator>Colin Koteles</creator>

    <metaElement>
    </metaElement>

    <testStyle>
    </testStyle>
  </metaInfo>

  <requirementInfo>
    <checkpoints>
      <checkpoint xref="tech-device-independent-ui">
        <provisions>
          <provision xref="tech-device-independent-ui-1" />
        </provisions>
      </checkpoint>
    </checkpoints>
  </requirementInfo>

  <content>
    <test>
      <testDesc>area element</testDesc>
      <procedure>
        <list>
          <item>Using the standard keyboard or an assistive technology that emulates the keyboard, move focus to each map area using the accesskey assigned to each area element.</item>
        </list>
      </procedure>

      <testCode>
        	<img src="http://www.w3.org/WAI/UA/TS/html401/images/map-area3.gif" alt="Test Map Area--this is not AREA ALT content." width="250" height="60" usemap="#testMap" border="0" title="Test Map Area"/>
			<map name="testMap" id="testMap" title="Test Map Area">
			  <area accesskey="a" shape="rect" coords="0,0,125,60" nohref="nohref" alt="map area 1"/>
			  <area accesskey="b" shape="rect" coords="126,0,250,60" nohref="nohref" alt="map area 2"/>
			</map>
      </testCode>

      <exResults>
        <list>
          <item>The keyboard or assistive technology that emulates
          the keyboard moves focus to each map area.
			 Focus is moved using the key that corresponds to the value of the accesskey assigned to each map area.</item>
        </list>
      </exResults>
    </test>
   
  </content>
</testsuite>

