<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/events/anchor/3" class="D" scope="wml:accesskey" testtype="application" type="manual" source="wml13#9.8" device="both">
  <assertion>When an ACCESSKEY is assigned to an ANCHOR element the user agent shall
respect the requested value or the user agent shall assign available keys to 
the remaining elements that request them in the order they are requested in 
the card, until all available keys are assigned.
</assertion>
  <specnote>Added with wml version 1.3.  This is impossible to test as it is not
known what accesskeys the user agent may have.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>This is a
<anchor accesskey="1">
	<go href="#card1"/></go>
link
</anchor>
to another card.
<br/>
<p>This is a
<anchor accesskey="2">
	<go href="#card2"/></go>
link
</anchor>
to yet another card.

</p>
<p mode="wrap">Are there access keys assigned to the links?
<br />
<yesno>
</p>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
	<do type="options" label="back">
		<prev/>
	</do>
	<p>This is the text of the first card.</p>
</card>
]]>
    </card>
    <card id="2">
      <![CDATA[<card id="card2">
	<do type="options" label="back">
		<prev/>
	</do>
	<p>This is the text of the second card.</p>
</card>
]]>
    </card>
  </cards>
</test>

