From 5a952856a0013c44bde67f9fcfd7e47826d8cf15 Mon Sep 17 00:00:00 2001 From: Lee Rowlands Date: Thu, 5 Jul 2012 21:23:39 -0400 Subject: [PATCH] Dialog: Prevent tabbing out of modal dialog. Partial fix for #7862 - Dialog: modal accessibility. --- ui/jquery.ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 818363d0b..85e4b3e2b 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -316,7 +316,7 @@ $.widget("ui.dialog", { return; } - var tabbables = $( ":tabbable", this ), + var tabbables = $( ":tabbable", uiDialog ), first = tabbables.filter( ":first" ), last = tabbables.filter( ":last" ); -- 2.39.5