@@ -79,8 +79,10 @@ test("data", function() {
7979} ) ;
8080
8181test ( "focusable - visible, enabled elements" , function ( ) {
82- expect ( 16 ) ;
82+ expect ( 18 ) ;
8383
84+ isNotFocusable ( '#formNoTabindex' , 'form' ) ;
85+ isFocusable ( '#formTabindex' , 'form with tabindex' ) ;
8486 isFocusable ( '#visibleAncestor-inputTypeNone' , 'input, no type' ) ;
8587 isFocusable ( '#visibleAncestor-inputTypeText' , 'input, type text' ) ;
8688 isFocusable ( '#visibleAncestor-inputTypeCheckbox' , 'input, type checkbox' ) ;
@@ -156,8 +158,10 @@ test("focusable - area elements", function() {
156158} ) ;
157159
158160test ( "tabbable - visible, enabled elements" , function ( ) {
159- expect ( 16 ) ;
161+ expect ( 18 ) ;
160162
163+ isNotTabbable ( '#formNoTabindex' , 'form' ) ;
164+ isTabbable ( '#formTabindex' , 'form with tabindex' ) ;
161165 isTabbable ( '#visibleAncestor-inputTypeNone' , 'input, no type' ) ;
162166 isTabbable ( '#visibleAncestor-inputTypeText' , 'input, type text' ) ;
163167 isTabbable ( '#visibleAncestor-inputTypeCheckbox' , 'input, type checkbox' ) ;
0 commit comments