<?xml version="1.0" encoding="UTF-8"?>
<test id="wcss/accesskey/wap-accesskey/availability/3" class="C" 
	scope="wcss:accesskey" testtype="application" type="manual" 
	source="wcss#18.1.1" device="both">
	<assertion>When an accesskey is available for an element, the user
	agent must use the specified access key and assign to the element.
	</assertion>
	<specnote>Manual test: Display a wml document including a style
	sheet to set the value of the accesskey and a link to a card and 
	prompt the user to access it with the key '1' and then prompt 
	the user:"Was it possible to access the link using the key '1'?"
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<stylesheets>
		<stylesheet id="1">
			<![CDATA[a.one { -wap-accesskey: 1 }]]>
		</stylesheet>
	</stylesheets>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main" title="main">
				<p>press the key '1'<br/>
					<a class="one" href="#card1">card1</a>
				</p>
				<p class="og">Was it possible to access the link 
					using the key '1'?
					<br />
					[[yesno]]
				</p>
			</wml:card>
			<wml:card id="card1">
				<p>link 1<br/>
					Please go back to the previous card
				</p>
				<wml:do role="back">
					<wml:prev/>
				</wml:do>
			</wml:card>
		]]>
	</method>
</test>
