---
id: "dialog-closedby"
kind: "web-feature"
canonical: "https://timetostable.com/feature/dialog-closedby"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# <dialog closedby> (`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.

- **Group**: HTML elements
- **Baseline**: Limited Availability
- **Specification**: https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-dialog-closedby
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 134 | 2025-03-04 |
| Chrome Android | 134 | 2025-03-04 |
| Edge | 134 | 2025-03-06 |
| Firefox | 141 | 2025-07-22 |
| Firefox for Android | 141 | 2025-07-22 |

