mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Prevent tabbing out of modal dialog. Partial fix for #7862 - Dialog: modal accessibility.
This commit is contained in:
parent
a6e6a0504f
commit
5a952856a0
2
ui/jquery.ui.dialog.js
vendored
2
ui/jquery.ui.dialog.js
vendored
@ -316,7 +316,7 @@ $.widget("ui.dialog", {
|
||||
return;
|
||||
}
|
||||
|
||||
var tabbables = $( ":tabbable", this ),
|
||||
var tabbables = $( ":tabbable", uiDialog ),
|
||||
first = tabbables.filter( ":first" ),
|
||||
last = tabbables.filter( ":last" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user