W3C home > Mailing lists > Public > public-html-a11y@w3.org > November 2010

[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-a11y@w3.org
Message-Id: <E1PFCBf-0000K7-MN@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10645

--- 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:
> 
> http://dev.w3.org/html5/spec/Overview.html#dom-showmodaldialog

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.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Sunday, 7 November 2010 20:50:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:42:23 GMT