W3C home > Mailing lists > Public > public-webapi@w3.org > April 2008

RE: Modal dialogs in HTML5

From: Travis Leithead <travil@windows.microsoft.com>
Date: Tue, 29 Apr 2008 11:19:06 -0700
To: Mike Wilson <mikewse@hotmail.com>, 'Ian Hickson' <ian@hixie.ch>
CC: "'Web APIs WG (public)'" <public-webapi@w3.org>
Message-ID: <0003CB8B8FE2154EB50431DB2B8F69C002C877D222@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>

>> Most modality discussed so far has been about the view modality, ie
disallowing the user from accessing the original page content until
the dialog has been dismissed. Browser modality may also be about
not letting the browser unload/reload the page until a dialog has
been dismissed (eg "do you want to save before closing the window?").
Is there any way to force a user to respond to a modal dialog
section before unloading the page?
If not, ideally a generic modality feature could be added to assist
both sections and current style HTML dialogs in achieving this
unload modality.

I'm not a big fan of allowing a web application to have that level of control of a user's browsing experience (a web page preventing a user from closing a tab, for example). The desktop paradigm is like allowing a program to prevent the user from restarting or shutting down the OS--seems like a bad design decision.
Received on Tuesday, 29 April 2008 18:19:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 29 April 2008 18:19:19 GMT