Skip to main content

Search and Top Navigation

#6101 closed bug (duplicate)

Opened September 23, 2010 01:52PM UTC

Closed October 01, 2010 07:16PM UTC

Last modified October 11, 2012 09:15PM UTC

Focus management failures in modal Dialog

Reported by: pete_otaqui Owned by:
Priority: minor Milestone:
Component: ui.dialog Version: 1.8.5
Keywords: Cc:
Blocked by: Blocking:
Description
<html>
<head>
<!-- incude jquery-1.4.2 and jqueryui-1.8.4 with base theme -->
<script>
$(function() {
	var opts = {modal:true, autoOpen:false};
	var d1 = $('#dialog1').dialog(opts);
	var d2 = $('#dialog2').dialog(opts);
	$('#open1').click(function(ev) { d1.dialog('open'); });
	$('#open2').click(function(ev) { d2.dialog('open'); });
});
</script>
</head>
<body>
	<button id="open1">Open First Dialog</button><br />
	<input name="one" /><br />
	<input name="two" /><br />
	<div id="dialog1">
		<input name="three" /><br />
		<input name="four" /><br />
		<button id="open2">Open Second Dialog</button>
	</div>
	<div id="dialog2">
		<input name="fix" /><br />
		<input name="six" /><br />
		<p>Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
                </p>
	</div>
	
</body>
</html>

Firefox 3.6, OS X 10.6

  • tabbing only within first dialog correctly
  • extra tab stop on dialog itself with second dialog open, otherwise correct
  • keyboard navigation impossible after close of second dialog

Firefox 3.6, Win 7

  • tabbing only within first dialog correctly
  • extra tab stop on dialog itself with second dialog open, otherwise correct
  • keyboard navigation impossible after close of second dialog

Firefox 4b5, OS X 10.6

  • tabbing only within first dialog correctly
  • extra tab stop on dialog itself with second dialog open, otherwise correct
  • keyboard navigation impossible after close of second dialog

IE 9, Win 7

  • Tabbing cycles once then freezes even with 1 dialog open
  • Dialog closable with 'esc' or click
  • Same with 2 dialogs open

Chrome 7.0.517.8 dev, OS X

  • Tabbing cycles once then freezes even with 1 dialog open
  • Dialog closable with 'esc' or click
  • Same with 2 dialogs open

Chrome, Win 7

  • Tabbing cycles once then freezes even with 1 dialog open
  • Dialog closable with 'esc' or click
  • Same with 2 dialogs open

With Chrome and IE9 it seems that pressing tab never fires the "ui-dialog.keypress" event at all (other keys do).

Attachments (0)
Change History (3)

Changed September 30, 2010 08:27AM UTC by pete_otaqui comment:1

This is *mostly* a duplicate of #5896, except for the comments on multiple dialogs

Changed October 01, 2010 07:16PM UTC by scottgonzalez comment:2

resolution: → duplicate
status: newclosed

Duplicate of #3768.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted