File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ QUnit.test( "aria-controls", function( assert ) {
101
101
} ) ;
102
102
103
103
QUnit . test ( "accessibility" , function ( assert ) {
104
- assert . expect ( 49 ) ;
104
+ assert . expect ( 46 ) ;
105
105
var element = $ ( "#tabs1" ) . tabs ( {
106
106
active : 1 ,
107
107
disabled : [ 2 ]
@@ -118,7 +118,6 @@ QUnit.test( "accessibility", function( assert ) {
118
118
panel = panels . eq ( index ) ;
119
119
assert . equal ( tab . attr ( "role" ) , "tab" , "tab " + index + " role" ) ;
120
120
assert . equal ( tab . attr ( "aria-labelledby" ) , anchorId , "tab " + index + " aria-labelledby" ) ;
121
- assert . equal ( anchor . attr ( "role" ) , "presentation" , "anchor " + index + " role" ) ;
122
121
assert . equal ( anchor . attr ( "tabindex" ) , - 1 , "anchor " + index + " tabindex" ) ;
123
122
assert . equal ( panel . attr ( "role" ) , "tabpanel" , "panel " + index + " role" ) ;
124
123
assert . equal ( panel . attr ( "aria-labelledby" ) , anchorId , "panel " + index + " aria-labelledby" ) ;
Original file line number Diff line number Diff line change @@ -431,7 +431,6 @@ $.widget( "ui.tabs", {
431
431
return $ ( "a" , this ) [ 0 ] ;
432
432
} )
433
433
. attr ( {
434
- role : "presentation" ,
435
434
tabIndex : - 1
436
435
} ) ;
437
436
this . _addClass ( this . anchors , "ui-tabs-anchor" ) ;
You can’t perform that action at this time.
0 commit comments