W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Proposal for a modal element

From: E.J. Zufelt <lists@zufelt.ca>
Date: Thu, 26 Aug 2010 16:12:13 -0400
Message-ID: <93304EC8-09D0-4CB3-85C8-746667A47A22@zufelt.ca>
Good afternoon,

I am wondering if public discussion has been had over the concept of introducing a "dialog" element into html5.

Normally a modal dialog is created using scripting and CSS to restrict focus and activity within the "modal" segment of the DOM and to style the modal section of the DOM to appear as though it is a separate region floating above the remainder of the document.

A modal element type could indicate to UAs that a segment of the DOM is to be treated as active, while the remainder of the DOM is to be inactive.  Focus could be automatically set to the first natively focusable element within the modal segment of the DOM, or could be explicitly set through scripting.  UAs could provide a default style for modals, as they do for other elements, but the developer would normally need to adjust the style using CSS for proper sizing and positioning.

Thanks,
Everett Zufelt
http://zufelt.ca

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100826/fe8fb907/attachment.htm>
Received on Thursday, 26 August 2010 13:12:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC