Difference between revisions of "Tabindex test"

From Level Access Web Labs
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
<div>
 +
  <span> button with tabindex= -1 </span>
 
   <button tabindex="-1" onclick="window.location.href = 'http://www.google.com';"> test </button>
 
   <button tabindex="-1" onclick="window.location.href = 'http://www.google.com';"> test </button>
 +
</div>
 +
<div>
 +
  <span> input with no tabindex </span>
 
   <input type="text" />
 
   <input type="text" />
 +
</div>
 +
<div>
 +
  <span>div with tabindex=3</span>
 
<div tabindex="3"> test</div>
 
<div tabindex="3"> test</div>
 +
</div>
 +
<div>
 +
  <span>button with tabindex=3</span>
 
<button tabindex="7"> test </button>
 
<button tabindex="7"> test </button>
<div tabindex="-1">This is some text</div>
+
</div>
 +
<div>
 +
  <span>div with tabindex=-1</span>
 +
  <div tabindex="-1">This is some text</div>
 +
</div>
 +
<div>
 +
  <span>div with tabindex=0</span>
 +
  <div tabindex="0"> This is some text</div>
 +
</div>
 
</html>
 
</html>

Latest revision as of 19:16, 12 September 2019

button with tabindex= -1
input with no tabindex
div with tabindex=3
test
button with tabindex=3
div with tabindex=-1
This is some text
div with tabindex=0
This is some text