[whatwg] Proposal for a modal element

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