From bb2c897f128e42dc8ad485719ee260d86e56befe Mon Sep 17 00:00:00 2001 From: Lee Rowlands Date: Mon, 2 Jul 2012 09:25:21 +1000 Subject: [PATCH] Dialog: Possible to tab outside 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 a22eef8060d..8b00266a19c 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -315,7 +315,7 @@ $.widget("ui.dialog", { return; } - var tabbables = $( ":tabbable", this ), + var tabbables = $( ":tabbable", this.uiDialog ), first = tabbables.filter( ":first" ), last = tabbables.filter( ":last" );