Difference between revisions of "Tabindex only"

From Level Access Web Labs
Jump to navigation Jump to search
(Created page with "<div tabindex="10"> This is some item in the tab order </div>")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div tabindex="10"> This is some item in the tab order </div>
+
<html>
 +
<script>
 +
function add() {
 +
  document.getElementById("d1").addEventListener("mousedown",function() { alert('test')});
 +
}
 +
</script>
 +
<body>
 +
<div id="d1" tabindex="0"> This is some item in the tab order <a href="#">test</a></div>
 +
<button onclick="add();"> add </button>
 +
 
 +
</body>
 +
</html>

Latest revision as of 02:42, 27 February 2016

This is some item in the tab order test