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 a8a6e26 commit 729c6d0Copy full SHA for 729c6d0
tests/unit/dialog/core.js
@@ -75,6 +75,7 @@ QUnit.test( "ARIA", function( assert ) {
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