Jump to content
This Wiki page is edited by participants of the WCAG Working Group. It does not necessarily represent consensus and it may have incorrect information or information that is not supported by other Working Group participants, WAI, or W3C. It may also have some very useful information.

Managing focus for modal dialogs

From WCAG WG

Paul Adam's model dialog examples

Detlev's example

  • Capturing focus within the modal dialog
  • Setting focus to the dialog initially, and setting focus correctly when the dialog is dismissed.
  • Makes it possible to insert the modal dialog in arbitrary locations in the DOM