We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f88e7f commit 22ea1a7Copy full SHA for 22ea1a7
tests/unit/dialog/core.js
@@ -70,12 +70,11 @@ QUnit.test( "title id", function( assert ) {
70
} );
71
72
QUnit.test( "ARIA", function( assert ) {
73
- assert.expect( 5 );
+ assert.expect( 4 );
74
75
var element = $( "<div>" ).dialog(),
76
wrapper = element.dialog( "widget" );
77
assert.equal( wrapper.attr( "role" ), "dialog", "dialog role" );
78
- assert.equal( wrapper.attr( "aria-modal" ), "true", "aria-modal attribute" );
79
assert.equal( wrapper.attr( "aria-labelledby" ), wrapper.find( ".ui-dialog-title" ).attr( "id" ) );
80
assert.equal( wrapper.attr( "aria-describedby" ), element.attr( "id" ), "aria-describedby added" );
81
element.remove();
0 commit comments