E-mail List Archives
Re: Keyboard trap for non-modal dialogs and popups:
From: Beranek, Nicholas
Date: Sep 22, 2016 11:32AM
- Next message: Lovely, Brian (CONT): "Re: Keyboard trap for non-modal dialogs and popups:"
- Previous message: JP Jamous: "Re: Keyboard trap for non-modal dialogs and popups:"
- Next message in Thread: Lovely, Brian (CONT): "Re: Keyboard trap for non-modal dialogs and popups:"
- Previous message in Thread: JP Jamous: "Re: Keyboard trap for non-modal dialogs and popups:"
- View all messages in this Thread
Let's separate the two components from the subject: 1) non-modal dialogs; and 2) popups. Non-modal dialogs should not trap focus. Popups, which I'll call 'modal dialogs-, should. Remember that we're trying to emulate the default behavior in the operating system. Dialog windows do trap focus, as do alerts and confirm boxes. The window.open method which spawns a classical 'popup- traps focus until you navigate away from the window.
We want to create as seamless an experience from OS to browser, so it would make sense to do this for modal dialogs.
--
Nick Beranek
Digital Accessibility Team
On 9/22/16, 1:17 PM, "WebAIM-Forum on behalf of JP Jamous" < <EMAIL REMOVED> on behalf of <EMAIL REMOVED> > wrote:
That was exactly my thought Don. I wondered if he had a special case though.
- Next message: Lovely, Brian (CONT): "Re: Keyboard trap for non-modal dialogs and popups:"
- Previous message: JP Jamous: "Re: Keyboard trap for non-modal dialogs and popups:"
- Next message in Thread: Lovely, Brian (CONT): "Re: Keyboard trap for non-modal dialogs and popups:"
- Previous message in Thread: JP Jamous: "Re: Keyboard trap for non-modal dialogs and popups:"
- View all messages in this Thread