Thought I'd chime in and give some more context. David and I are getting started on improving the accessibility of the jQuery UI widgets. We've started by playing with the existing demos using the keyboard as our only input device. This is generally where we like to start since it is a requirement of a range of adaptive technologies from alternate input devices to screen readers. It's also a nice concrete thing to tackle - essentially we should be able to accomplish the same tasks with the keyboard that we can with the mouse.
In trying to use the modal dialog with the keyboard, we've found that we get stuck. We are unable to get focus onto the dialog in order to activate the 'close' anchor or, for that matter, in order to activate any buttons etc that are on the dialog. A quick glance at the code seems to point to the initial focus being placed incorrectly. Ideally when the dialog opens, focus would be placed on the first element in the tab order on the dialog. Perhaps the solution is simply to call focus at the end of the 'open' function in ui.dialog.js. Does this make sense? Michelle On Sep 10, 11:53 am, David Bolter <[EMAIL PROTECTED]> wrote: > We found what appears to be a bug with modal dialogs. If you go to the > dialog demo:http://ui.jquery.com/repository/latest/demos/functional/#ui.dialog > > Close the dialog that's there, and launch a modal dialog (with or > without overlay). Keyboard focus seems to be lost, and tabbing doesn't > seem to be possible for the document. > > Please see related:http://ui.jquery.com/bugs/ticket/3327 > > Any ideas? > > cheers, > David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
