Landed cross-browser support for tabIndex, by Scott, closes ticket #3649.
[jquery.git] / test / index.html
index 9a0eccb..30e955c 100644 (file)
                        <input type="text" id="idTest" name="id"/>
                </form>
                <table id="table"></table>
+
+               <form id="name-tests">
+                       <!-- Inputs with a grouped name attribute. -->
+                       <input name="types[]" id="types_all" type="checkbox" value="all" />
+                       <input name="types[]" id="types_anime" type="checkbox" value="anime" />
+                       <input name="types[]" id="types_movie" type="checkbox" value="movie" />
+               </form>
                
                <div id="fx-queue">
                        <div id="fadein" class='chain test'>fadeIn<div>fadeIn</div></div>
@@ -188,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>