<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/events/a/4" class="D" scope="wml:accesskey" testtype="application" type="manual" source="wml13#9.9" device="both">
  <assertion>When an ACCESSKEY is assigned to an A 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
<a accesskey="1">
	<go href="#card1"></go>
link
</a>
to another card.
<br/>
<p>This is a
<a accesskey="2">
	<go href="#card2"></go>
link
</a>
to yet another card.

</p>
<p mode="wrap">Are there an 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>

