This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23407 - provide code example and best practice advice for dialog
Summary: provide code example and best practice advice for dialog
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 09:06 UTC by steve faulkner
Modified: 2016-04-26 21:47 UTC (History)
5 users (show)

See Also:


Attachments

Description steve faulkner 2013-10-01 09:06:21 UTC
"4.11.7 The dialog element"
http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-dialog-element

there is not currently a code example, add on with advice on placement of DIALOG in DOM scoped to body, so in case where called as a modal dialog all content except dialog is marked as inert.
also provide advice on desired keyboard behaviour:
move focus to dialog on open
move focus back to trigger control on close.
Comment 1 Travis Leithead [MSFT] 2016-04-26 21:47:19 UTC
HTML5.1 Bugzilla Bug Triage: Moved to Github issue: https://github.com/w3c/html/issues/264

To file additional issues please use the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new Thanks!