On open, the first tabbable element inside the dialog was never being focused in favor of the dialog container.
|Reported by:||ajcrews||Owned by:|
Within the "open" method in ui.dialog, there is an attempt to "set focus to the first tabbable element in the content area or the first button. if there are no tabbable elements, set focus on the dialog itself".
This was being accomplished using the jQuery "add" method, and was working up until jQuery 1.4.x, since: "As of jQuery 1.4 the results from .add() will always be returned in document order" (http://api.jquery.com/add).
Also, in Firefox 3.6.x, the dialog will not show if a tabbable element is focused in the "open" method.
Change History (8)
comment:6 Changed 6 years ago by scottgonzalez
- Milestone changed from TBD to 1.9
- Priority changed from minor to major
- Resolution set to fixed
- Status changed from new to closed