<!DOCTYPE html>
<html>
<body>
<p>Try navigating the links below by using the "Tab" button on you keyboard before and after you click the "Change TabIndex" button.</p>
<p><a id="myAnchor1" href="../index.html">Link 1</a></p>
<p><a id="myAnchor2" href="../index.html">Link 2</a></p>
<p><a id="myAnchor3" href="../index.html">Link 3</a></p>
<input type="button" onclick="myFunction()" value="Change TabIndex">
<script>
function myFunction() {
document.getElementById("myAnchor1").tabIndex = "3";
document.getElementById("myAnchor2").tabIndex = "2";
document.getElementById("myAnchor3").tabIndex = "1";
}
</script>
</body>
</html>