Skip to content

Add documentation of new dialog light dismiss behaviors #37196

@mfreed7

Description

@mfreed7

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

There are new dialog behaviors, proposed here:

whatwg/html#10737

Specifically, a closedby attribute can be used to enable "light dismiss" behaviors for <dialog>, akin to popovers. Also, a new dialog.requestClose() method allows a programmatic request to close the dialog, which goes through the cancel/close process.

What did you expect to see?

Documentation

Do you have any supporting links, references, or citations?

whatwg/html#10737

Do you have anything more you want to share?

I'm hoping to ship this in Chrome M134, pending approvals, etc.

Metadata

Metadata

Labels

Content:HTMLHypertext Markup Language docseffort: mediumThis task is a medium effort.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions