@@ -48,31 +48,31 @@ test( "accessibility", function () {
4848 equal ( headers . eq ( 1 ) . attr ( "aria-selected" ) , "true" , "active tab has aria-selected=true" ) ;
4949 equal ( headers . eq ( 1 ) . next ( ) . attr ( "aria-expanded" ) , "true" , "active tabpanel has aria-expanded=true" ) ;
5050 equal ( headers . eq ( 1 ) . next ( ) . attr ( "aria-hidden" ) , "false" , "active tabpanel has aria-hidden=false" ) ;
51- equal ( headers . eq ( 0 ) . attr ( "tabindex" ) , - 1 , "active header has tabindex=-1" ) ;
52- equal ( headers . eq ( 0 ) . attr ( "aria-selected" ) , "false" , "active tab has aria-selected=false" ) ;
53- equal ( headers . eq ( 0 ) . next ( ) . attr ( "aria-expanded" ) , "false" , "active tabpanel has aria-expanded=false" ) ;
54- equal ( headers . eq ( 0 ) . next ( ) . attr ( "aria-hidden" ) , "true" , "active tabpanel has aria-hidden=true" ) ;
55- equal ( headers . eq ( 2 ) . attr ( "tabindex" ) , - 1 , "active header has tabindex=-1" ) ;
56- equal ( headers . eq ( 2 ) . attr ( "aria-selected" ) , "false" , "active tab has aria-selected=false" ) ;
57- equal ( headers . eq ( 2 ) . next ( ) . attr ( "aria-expanded" ) , "false" , "active tabpanel has aria-expanded=false" ) ;
58- equal ( headers . eq ( 2 ) . next ( ) . attr ( "aria-hidden" ) , "true" , "active tabpanel has aria-hidden=true" ) ;
51+ equal ( headers . eq ( 0 ) . attr ( "tabindex" ) , - 1 , "inactive header has tabindex=-1" ) ;
52+ equal ( headers . eq ( 0 ) . attr ( "aria-selected" ) , "false" , "inactive tab has aria-selected=false" ) ;
53+ equal ( headers . eq ( 0 ) . next ( ) . attr ( "aria-expanded" ) , "false" , "inactive tabpanel has aria-expanded=false" ) ;
54+ equal ( headers . eq ( 0 ) . next ( ) . attr ( "aria-hidden" ) , "true" , "inactive tabpanel has aria-hidden=true" ) ;
55+ equal ( headers . eq ( 2 ) . attr ( "tabindex" ) , - 1 , "inactive header has tabindex=-1" ) ;
56+ equal ( headers . eq ( 2 ) . attr ( "aria-selected" ) , "false" , "inactive tab has aria-selected=false" ) ;
57+ equal ( headers . eq ( 2 ) . next ( ) . attr ( "aria-expanded" ) , "false" , "inactive tabpanel has aria-expanded=false" ) ;
58+ equal ( headers . eq ( 2 ) . next ( ) . attr ( "aria-hidden" ) , "true" , "inactive tabpanel has aria-hidden=true" ) ;
5959
6060 element . accordion ( "option" , "active" , 0 ) ;
6161 equal ( headers . eq ( 0 ) . attr ( "tabindex" ) , 0 , "active header has tabindex=0" ) ;
6262 equal ( headers . eq ( 0 ) . attr ( "aria-selected" ) , "true" , "active tab has aria-selected=true" ) ;
6363 equal ( headers . eq ( 0 ) . next ( ) . attr ( "aria-expanded" ) , "true" , "active tabpanel has aria-expanded=true" ) ;
6464 equal ( headers . eq ( 0 ) . next ( ) . attr ( "aria-hidden" ) , "false" , "active tabpanel has aria-hidden=false" ) ;
65- equal ( headers . eq ( 1 ) . attr ( "tabindex" ) , - 1 , "active header has tabindex=-1" ) ;
66- equal ( headers . eq ( 1 ) . attr ( "aria-selected" ) , "false" , "active tab has aria-selected=false" ) ;
67- equal ( headers . eq ( 1 ) . next ( ) . attr ( "aria-expanded" ) , "false" , "active tabpanel has aria-expanded=false" ) ;
68- equal ( headers . eq ( 1 ) . next ( ) . attr ( "aria-hidden" ) , "true" , "active tabpanel has aria-hidden=true" ) ;
69- equal ( headers . eq ( 2 ) . attr ( "tabindex" ) , - 1 , "active header has tabindex=-1" ) ;
70- equal ( headers . eq ( 2 ) . attr ( "aria-selected" ) , "false" , "active tab has aria-selected=false" ) ;
71- equal ( headers . eq ( 2 ) . next ( ) . attr ( "aria-expanded" ) , "false" , "active tabpanel has aria-expanded=false" ) ;
72- equal ( headers . eq ( 2 ) . next ( ) . attr ( "aria-hidden" ) , "true" , "active tabpanel has aria-hidden=true" ) ;
65+ equal ( headers . eq ( 1 ) . attr ( "tabindex" ) , - 1 , "inactive header has tabindex=-1" ) ;
66+ equal ( headers . eq ( 1 ) . attr ( "aria-selected" ) , "false" , "inactive tab has aria-selected=false" ) ;
67+ equal ( headers . eq ( 1 ) . next ( ) . attr ( "aria-expanded" ) , "false" , "inactive tabpanel has aria-expanded=false" ) ;
68+ equal ( headers . eq ( 1 ) . next ( ) . attr ( "aria-hidden" ) , "true" , "inactive tabpanel has aria-hidden=true" ) ;
69+ equal ( headers . eq ( 2 ) . attr ( "tabindex" ) , - 1 , "inactive header has tabindex=-1" ) ;
70+ equal ( headers . eq ( 2 ) . attr ( "aria-selected" ) , "false" , "inactive tab has aria-selected=false" ) ;
71+ equal ( headers . eq ( 2 ) . next ( ) . attr ( "aria-expanded" ) , "false" , "inactive tabpanel has aria-expanded=false" ) ;
72+ equal ( headers . eq ( 2 ) . next ( ) . attr ( "aria-hidden" ) , "true" , "inactive tabpanel has aria-hidden=true" ) ;
7373} ) ;
7474
75- asyncTest ( "keybaord support" , function ( ) {
75+ asyncTest ( "keyboard support" , function ( ) {
7676 expect ( 13 ) ;
7777 var element = $ ( "#list1" ) . accordion ( ) ,
7878 headers = element . find ( ".ui-accordion-header" ) ,
0 commit comments