<?xml version="1.0"?>
<!DOCTYPE testsuite SYSTEM "http://www.w3.org/WAI/UA/TS/dtd/uaag-testsuite-2.dtd">


<testsuite id="ts0101-input">
	
	<metaInfo>
		<testTitle>INPUT buttons</testTitle>
		<shortTitle>Navigate to and activate INPUT control with keyboard</shortTitle>
		<testElement>
			<elementName>INPUT</elementName>
			<hlink href="http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT">&hspec; INPUT buttons </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 section="1">
			<procedure>
				<list type="unordered">
					<item>Using the standard keyboard or an assistive technology that emulates the
						keyboard, move focus to the submit button.</item>
					<item>Then, using the standard keyboard or an assistive technology that emulates the
						keyboard, activate the submit button.</item>
				</list>
			</procedure>
			<testCode>
				<form action="../action/return.html" method="post"> 
				<label for="submit">Submit Button:&nbsp;</label>
				<input id="submit" type="submit" value="Submit" name="submit"/>
				</form> 
			</testCode>
      	<exResults>
				<list type="unordered">
					<item>The keyboard or an assistive technology that emulates the keyboard moves focus to the submit
		  				button.</item>
					<item>The keyboard or an assistive technology that emulates the keyboard activates the submit
		  				button.</item>  
				</list>
			</exResults>
		</test>
		
		<test section="2">
			<procedure>
				<list type="unordered">
					<item>Using the standard keyboard or an assistive technology that emulates the
						keyboard, move focus to the text area and change the value of the text area.</item>
					<item>Then, using the standard keyboard or an assistive technology that emulates the
						keyboard, move focus to reset button.</item>		
					<item>Then, using the standard keyboard or an assistive technology that emulates the
						keyboard, activate the reset button.</item>
				</list>
			</procedure>
			<testCode>
				<form action="../action/return.html" method="post">
					<label for="textarea">Default Textarea&nbsp;</label> 
					<textarea id="textarea" name="textarea" rows="1" cols="14">Initial Value</textarea><br/>
					<label for="reset">Reset Button&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input id="reset" type="reset" value="reset" name="reset"/>
				</form>
			</testCode>
      	<exResults>
				<list>
					<item>The standard keyboard or an assistive technology that emulates the 
  			 			keyboard moves focus to the TEXTAREA, allowing the user to change "Initial Value".</item>
  					<item>The standard keyboard or an assistive technology that emulates the 
  			 			keyboard moves focus to and then activates the "reset" button to return the TEXTAREA to "Initial Value".</item>
				</list>
			</exResults>	
		</test>
		
		<test section="3">
			<procedure>
				<list>
					<item>Using the standard keyboard or an assistive technology that emulates the keyboard, move focus to the "Test Button".</item>
					<item>Then using the standard keyboard or an assistive technology that emulates the keyboard,  and activate the "Test Button".</item>
				</list>
			</procedure>
			<testCode>
				<form action="../action/return.html">
					<label for="test-button">Test Button:&nbsp;</label>
					<input id="test-button" type="button" value="Test Button" onclick='document.write("Test was successful. Click back on your browser to return to test suite.")'/> 
				</form>
			</testCode>
      	<exResults>
				<list type="unordered">
					<item>The standard keyboard or an assistive technology that emulates the 
  			 				keyboard moves focus to the "Test Button" and activates the button and its associated function.</item>
				</list>
			</exResults>
		</test>				
				
	</content>

</testsuite>