Skip to content

Commit 5a95285

Browse files
larowlanscottgonzalez
authored andcommitted
Dialog: Prevent tabbing out of modal dialog. Partial fix for #7862 - Dialog: modal accessibility.
1 parent a6e6a05 commit 5a95285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ $.widget("ui.dialog", {
316316
return;
317317
}
318318

319-
var tabbables = $( ":tabbable", this ),
319+
var tabbables = $( ":tabbable", uiDialog ),
320320
first = tabbables.filter( ":first" ),
321321
last = tabbables.filter( ":last" );
322322

0 commit comments

Comments
 (0)