W3C home > Mailing lists > Public > public-html-wg-issue-tracking@w3.org > January 2011

HTML-ISSUE-162 (modal ): Add a modal attribute to html5 to indicate a modal segment of the DOM (modal dialog) [HTML 5 spec]

From: HTML Weekly Issue Tracker <sysbot+tracker@w3.org>
Date: Sat, 22 Jan 2011 19:41:47 +0000
To: public-html-wg-issue-tracking@w3.org
Message-Id: <E1PgjLH-00080N-HC@stu.w3.org>

HTML-ISSUE-162 (modal ): Add a modal attribute to html5 to indicate a modal segment of the DOM (modal dialog) [HTML 5 spec]


Raised by: Steve Faulkner
On product: HTML 5 spec

from big http://www.w3.org/Bugs/Public/show_bug.cgi?id=10645

html5 does not currently specify a mechanism to indicate that a segment of the
DOM is modal.

Modal dialogs are common in many desktop and web UI toolkits.  It is currently
possible to create modal dialog behaviour using CSS, Javascript, and WAI-ARIA. 
It is not, however, easy to create a robust modal dialog using these compatible



1. Add a modal element or attribute ("modal") to the html5 specification.

2. When a modal is present in the DOM UAs must treat the modal and its children
as a modal segment of the DOM.

2.1 UAs must constrain input / interaction events (e.g. keyboard and mouse) to
the modal and its children.

2.2 UAs must map only the modal and its children to the accessibility tree.

3. If focus has not been explicitly set to a child of the modal, UAs must set
focus to the first focusable child of the modal.


4. Authors must provide a device agnostic mechanism to dismiss the modal.

5. Authors should return focus to the element from which the modal was
activated upon its dismissal.



Modal window - Wikipedia, the free encyclopedia

Implementations of web UI modal dialogs

Cutting Edge: Modal Dialog Boxes with AJAX

Drupal 7 Overlay (core module to display administrative pages).

jQuery UI - Dialog Demos & Documentation

YUI 2: SimpleDialog

Best practices for accessible modal dialogs

WAI-ARIA Authoring Practices 1.0: 3.3 Making a Dialog Modal

DHTML Style Guide | dev.aol.com: 8. Dialog (Modal)
Received on Saturday, 22 January 2011 19:41:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:48:29 UTC