Skip to content

Commit a8a6e26

Browse files
committed
Add aria-modal attribute true to dialog modal wrapper
1 parent f47c7fe commit a8a6e26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/widgets/dialog.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ $.widget( "ui.dialog", {
347347

348348
// Setting tabIndex makes the div focusable
349349
tabIndex: -1,
350-
role: "dialog"
350+
role: "dialog",
351+
"aria-modal": "true"
351352
} )
352353
.appendTo( this._appendTo() );
353354

0 commit comments

Comments
 (0)