Web platform features explorer

<dialog closedby>

The closedby HTML attribute for <dialog> sets which user actions close a dialog. For example, closedby="any" allows the dialog to be closed by clicking outside of it.

Status

Limited availability

Specifications

Browser support

Baseline availability blocked since July 2025 by Safari (7 months)

Usage (according to Chrome Platform Status)

~0.033% of page loads. More data at chromestatus.com.

Developer votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.