Difference between revisions of "Tabindex test"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
 +
  <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>
 +
  <span> input with no tabindex </span>
 
   <input type="text" />
 
   <input type="text" />
 +
  <span>div with tabindex=3</span>
 
<div tabindex="3"> test</div>
 
<div tabindex="3"> test</div>
 +
  <span>button with tabindex=3</span>
 
<button tabindex="7"> test </button>
 
<button tabindex="7"> test </button>
 +
<span>div with tabindex=-1</span>
 
<div tabindex="-1">This is some text</div>
 
<div tabindex="-1">This is some text</div>
 +
<span>div with tabindex=0</span>
 +
<div tabindex="0"> This is some text</div>
 
</html>
 
</html>

Revision as of 19:15, 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