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 (3 months)

Developer signals

Usage (according to Chrome Platform Status)

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