

[Bug 10645] Add a modal attribute to html5 to indicate a modal segment of the DOM (modal dialog)

From: <bugzilla@jessica.w3.org>
Date: Sun, 07 Nov 2010 20:50:03 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PFCBf-0000Jo-7y@jessica.w3.org>

--- Comment #16 from Everett Zufelt <everett@zufelt.ca> 2010-11-07 20:50:02 UTC ---
(In reply to comment #13)
> I'm curious why this isn't sufficient as a modal dialog feature:

Why is window.alert() not sufficient.

1. although the alert() message is configurable, it is not really very
configurable.  What if I want to ask for a name, phone number, e-mail address,
subject and comment in the dialog?

2. What if I want users of my CMS to be able to open administrative pages as a
modal dialog while keeping the context of the page from which they launched the
administrative pages in the background?

3. What if I want a modal lightbox to present multimedia?

4. I do not believe that CSS can be applied to dialogs created by alert().

I am sure that there are many other use-cases and drawbacks to using alert. 
This would seem to be true based on the number of UI toolkits that provide a
modal dialog UI component.

You are the QA contact for the bug.
Received on Sunday, 7 November 2010 20:50:04 UTC
