<?xml version="1.0" encoding="UTF-8"?>
<test id="wcss/accesskey/wap-accesskey/availability/1" class="C" 
	scope="wcss:accesskey" testtype="application" type="manual" 
	source="wcss#18.1.1" device="both">
	<assertion>When an accesskey has already been assigned to an element,
	it must become unavailable for another element
	</assertion>
	<specnote>Manual test: Display a wml document with links to two
	cards assigning the key '1' as accesskey to both and then confirm 
	that the second card is not accessible by the key '1'.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<stylesheets>
		<stylesheet id="1"><![CDATA[
			a.one { -wap-accesskey: 1 }
			a.onebis { -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><br/>
					<a class="onebis" href="#card2">card2</a>
				</p>
				<p class="og">Can you only access to the card1?
					<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>
			<wml:card id="card2">
				<p>link 2<br/>
					Please go back to the previous card
				</p>
				<wml:do role="back">
					<wml:prev/>
				</wml:do>
			</wml:card>
		]]>
	</method>
</test>
