aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authormilk54 <milk851@gmail.com>2016-09-18 19:11:41 +0900
committerScott González <scott.gonzalez@gmail.com>2016-09-29 10:15:19 -0400
commitb9ffc34710212fd910717ab735818ef265c9372e (patch)
tree7d7bb3fd8df7e34c62544d27e55e9725023986ef /tests/unit
parentc481400f222c871ba5853bc2930a3b8b4375d08b (diff)
downloadjquery-ui-b9ffc34710212fd910717ab735818ef265c9372e.tar.gz
jquery-ui-b9ffc34710212fd910717ab735818ef265c9372e.zip
Tabs: Remove presentation role
Fixes #10122 Closes gh-1748
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/tabs/core.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/tabs/core.js b/tests/unit/tabs/core.js
index f367b098e..0716160bb 100644
--- a/tests/unit/tabs/core.js
+++ b/tests/unit/tabs/core.js
@@ -101,7 +101,7 @@ QUnit.test( "aria-controls", function( assert ) {
} );
QUnit.test( "accessibility", function( assert ) {
- assert.expect( 49 );
+ assert.expect( 46 );
var element = $( "#tabs1" ).tabs( {
active: 1,
disabled: [ 2 ]
@@ -118,7 +118,6 @@ QUnit.test( "accessibility", function( assert ) {
panel = panels.eq( index );
assert.equal( tab.attr( "role" ), "tab", "tab " + index + " role" );
assert.equal( tab.attr( "aria-labelledby" ), anchorId, "tab " + index + " aria-labelledby" );
- assert.equal( anchor.attr( "role" ), "presentation", "anchor " + index + " role" );
assert.equal( anchor.attr( "tabindex" ), -1, "anchor " + index + " tabindex" );
assert.equal( panel.attr( "role" ), "tabpanel", "panel " + index + " role" );
assert.equal( panel.attr( "aria-labelledby" ), anchorId, "panel " + index + " aria-labelledby" );