<style>
:focus {outline: 1px solid black;}
</style>
<a href="#" id="start">This is an element</a><br>
<div>
<a href="#" id="1">
<img src="resources/green.png" height="42" width="76" border="0"/>
</a>
</div>
<div>
<a href="#" id="2">This is an element</a><br>
</div>
<a href="#" id="3">This is an element</a><br>
<a href="#" id="4">
<img src="resources/green.png" height="42" width="76" alt="llinker1" border="0"/>
</a><br>
<a href="#" id="5">This is an element</a><br>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="resources/snav-testharness.js"></script>
<script>
var resultMap = [
["Down", "1"],
["Down", "2"],
["Down", "3"],
["Down", "4"],
["Down", "5"],
["Up", "4"],
["Up", "3"],
["Up", "2"],
["Up", "1"],
["Up", "start"],
];
// Start at a known place.
document.getElementById("start").focus();
snav.assertFocusMoves(resultMap);
</script>