aboutsummaryrefslogtreecommitdiffstats
path: root/test/index.html
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-01-05 17:34:42 +0000
committerJohn Resig <jeresig@gmail.com>2009-01-05 17:34:42 +0000
commit122b672f704cca094de50dfef05e88faa84cb51d (patch)
tree50819b74b0a66e5a46421ce42124b7a757b54555 /test/index.html
parent42c99472cc5718d90a129f6ebb10ea45d5816418 (diff)
downloadjquery-122b672f704cca094de50dfef05e88faa84cb51d.tar.gz
jquery-122b672f704cca094de50dfef05e88faa84cb51d.zip
Landed cross-browser support for tabIndex, by Scott, closes ticket #3649.
Diffstat (limited to 'test/index.html')
-rw-r--r--test/index.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/index.html b/test/index.html
index c4ba75267..30e955c56 100644
--- a/test/index.html
+++ b/test/index.html
@@ -195,6 +195,20 @@ Z</textarea>
<div><div class="hidden">hidden</div></div>
</div>
</div>
+
+ <div id="tabindex-tests">
+ <ol id="listWithTabIndex" tabindex="0">
+ <li id="foodWithNegativeTabIndex" tabindex="-1">Rice</li>
+ <li id="foodNoTabIndex">Beans</li>
+ <li>Blinis</li>
+ <li>Tofu</li>
+ </ol>
+
+ <div id="divWithNoTabIndex">I'm hungry. I should...</div>
+ <span>...</span><a href="#" id="linkWithNoTabIndex">Eat lots of food</a><span>...</span> |
+ <span>...</span><a href="#" id="linkWithTabIndex" tabindex="2">Eat a little food</a><span>...</span> |
+ <span>...</span><a href="#" id="linkWithNegativeTabIndex" tabindex="-1">Eat no food</a><span>...</span>
+ </div>
</div>
</dl>