<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
MDN documentation
Specifications
- HTML (#attr-dialog-closedby), from HTML Workstream (WHATWG).
Browser support
- Chrome 134 Released on 2025-03-04
- Chrome Android 134 Released on 2025-03-04
- Edge 134 Released on 2025-03-06
- Firefox 141 Released on 2025-07-22
- Firefox for Android 141 Released on 2025-07-22
- Safari ❌
- Safari on iOS ❌
Baseline availability blocked since July 2025 by Safari (1 months)
Usage (according to Chrome Platform Status)
~0.002% of page loads. More data at chromestatus.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist