aria-practices icon indicating copy to clipboard operation
aria-practices copied to clipboard

Draft Dialog (non-Modal) design pattern

Open ZoeBijl opened this issue 9 years ago • 9 comments

When adding this section, use id="dialog_nonmodal" on the section element; this is the ID of the stub that was in early working drafts.

When working on this issue, there is some old content that may be useful in the file aria-practices-DeletedSectionsArchive.html. The relevant section can be seen here: https://rawgit.com/w3c/aria-practices/master/aria-practices-DeletedSectionsArchive.html#dialog_nonmodal

ZoeBijl avatar Jun 02 '16 20:06 ZoeBijl

When drafting this design pattern, take into consideration the following comments copied here from issue #23.

From @jnurthen on February 2, 2016 21:34

The non-modal dialog http://w3c.github.io/aria/practices/aria-practices.html#dialog_nonmodal defers to the drag and drop section for how to move the dialog. I'm not sure moving a window is the same as drag and drop so we should really specify something different here.

Copied from original issue: w3c/aria#241

mcking65 avatar Aug 13 '16 22:08 mcking65

3.10 Disclosure (Show/Hide) typo

This may have been picked-up previously, but, I could not find it.

A disclosure is a button that controls visibility of a section of content. When the controlled conted is hidden, ...

...controlled content is...

LaurenceRLewis avatar Oct 27 '17 22:10 LaurenceRLewis

3.10 Disclosure (Show/Hide).

I’m wondering whether to include referring to native button element as well as role button. Not sure if I am correct in this, but, flagging it anyway 😁.

WAI-ARIA Roles, States, and Properties

Applies to al instances of ‘role button ‘.

The element that shows and hides the content has role button.

The element that shows and hides the content is a <button> or had a role of button.

LaurenceRLewis avatar Oct 27 '17 22:10 LaurenceRLewis

@Decrepidos, thank you for the feedback. I am correcting the spelling error.

Note that a native button has role button; it is implicit.

mcking65 avatar Nov 16 '17 09:11 mcking65

Thanks for clarifying. Role button being implicit makes sense.

LaurenceRLewis avatar Nov 16 '17 19:11 LaurenceRLewis

Note https://www.w3.org/Bugs/Public/show_bug.cgi?id=29325 when drafting this

jnurthen avatar May 14 '18 17:05 jnurthen

@mcking65 if there's anything I can do to help with the non-modal dialog pattern, please let me know, happy to contribute

0ddfell0w avatar Nov 07 '19 20:11 0ddfell0w

any movement on providing an example/pattern for non-modal dialogs any time?

patrickhlauke avatar Dec 22 '23 11:12 patrickhlauke

Is this duplicated by #102 ?

nedredmond avatar May 16 '24 14:05 nedredmond