2010-03-01 13:10:31 -08:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Browser Form Assistant</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!-- 0 is greater than everything else, so despite the position the element
|
|
|
|
should appear last
|
|
|
|
-->
|
|
|
|
<input type="text" tabindex="0"></input>
|
|
|
|
|
|
|
|
<!-- These element should work -->
|
|
|
|
<input type="password" tabindex="2"></input>
|
|
|
|
<input type="submit" tabindex="3"></input>
|
|
|
|
<input type="file" tabindex="4"></input>
|
|
|
|
<input id="root" type="text" tabindex="1">text</input>
|
|
|
|
<button type="submit" tabindex="5"></button>
|
|
|
|
<div role="button" tabindex="6">click here</div><!-- XXX click!!! button -->
|
2010-11-17 02:17:21 -08:00
|
|
|
<input type="password" tabindex="-1"></input>
|
2010-03-01 13:10:31 -08:00
|
|
|
<input type="image" tabindex="7"></input>
|
2010-11-17 02:17:21 -08:00
|
|
|
<div contenteditable="true" tabindex="8"></div>
|
2010-03-01 13:10:31 -08:00
|
|
|
<textarea id="next">textarea</textarea>
|
2010-04-22 06:08:07 -07:00
|
|
|
<select id="select">
|
2011-01-04 06:56:29 -08:00
|
|
|
<option id="option">option 1</option>
|
2010-03-01 13:10:31 -08:00
|
|
|
<option>option 2</option>
|
|
|
|
</select>
|
2010-04-22 06:08:07 -07:00
|
|
|
<input id="dumb" type="dumb">dumb type</input>
|
2010-03-01 13:10:31 -08:00
|
|
|
|
|
|
|
<!-- These element should not work -->
|
|
|
|
<div>div</div>
|
|
|
|
<input type="text" disabled="true"></input>
|
|
|
|
<input type="hidden"></input>
|
|
|
|
|
2010-04-22 06:08:07 -07:00
|
|
|
<input id="reset" type="reset"></input>
|
|
|
|
<input id="checkbox" type="checkbox"></input>
|
|
|
|
|
|
|
|
<input id="radio0" name="group0" type="radio"></input>
|
|
|
|
<input id="radio1" name="group0" type="radio"></input>
|
|
|
|
<input id="radio2" name="group0" type="radio"></input>
|
|
|
|
|
|
|
|
<input id="radio3" name="group1" type="radio"></input>
|
|
|
|
<input id="radio4" name="group1" type="radio" checked></input>
|
|
|
|
<input id="radio5" name="group1" type="radio"></input>
|
|
|
|
|
|
|
|
<input id="file" type="file" tabindex="1000" style="display: none"></input>
|
2010-03-01 13:10:31 -08:00
|
|
|
<input type="text" tabindex="1001" style="visibility: hidden"></input>
|
|
|
|
<input type="text" tabindex="1002" style="opacity: 0"></input>
|
|
|
|
|
|
|
|
<!-- This element should work -->
|
|
|
|
<input id="last" type="text"></input>
|
|
|
|
</body>
|
|
|
|
</html>
|