Skip to content

Commit 22ea1a7

Browse files
committed
revert the ARIA test back to its initial form per @mgols recommendation
1 parent 7f88e7f commit 22ea1a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/dialog/core.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,11 @@ QUnit.test( "title id", function( assert ) {
7070
} );
7171

7272
QUnit.test( "ARIA", function( assert ) {
73-
assert.expect( 5 );
73+
assert.expect( 4 );
7474

7575
var element = $( "<div>" ).dialog(),
7676
wrapper = element.dialog( "widget" );
7777
assert.equal( wrapper.attr( "role" ), "dialog", "dialog role" );
78-
assert.equal( wrapper.attr( "aria-modal" ), "true", "aria-modal attribute" );
7978
assert.equal( wrapper.attr( "aria-labelledby" ), wrapper.find( ".ui-dialog-title" ).attr( "id" ) );
8079
assert.equal( wrapper.attr( "aria-describedby" ), element.attr( "id" ), "aria-describedby added" );
8180
element.remove();

0 commit comments

Comments
 (0)