E-mail List Archives

Re: Headings in dialogs.

for

From: Benjamin Hawkes-Lewis
Date: Aug 22, 2012 3:10PM


On Wed, Aug 22, 2012 at 9:57 PM, Ramya Sethuraman
< <EMAIL REMOVED> > wrote:
> Yes it is modal.

In that case, it's effectively a self-contained document.

You might as well use <h1>.

See also:

https://developer.mozilla.org/en-US/docs/Accessibility/ARIA/ARIA_Techniques/Using_the_dialog_role

https://developer.mozilla.org/en-US/docs/Accessibility/ARIA/ARIA_Techniques/Using_the_dialog_role

In the case of WHATWG <dialog>, it's a sectioning root that does not
contribute to the parent document's outline.

http://www.whatwg.org/specs/web-apps/current-work/multipage/commands.html#the-dialog-element

--
Benjamin Hawkes-Lewis