[KongchangAI]
Concept

closeby

A feature related to compatibility fallbacks for light dismiss behavior, in which clicking the backdrop closes a dialog. It provides a degraded implementation when a browser does not yet support the native declarative mechanism.

Timeline (last 90 days)

Oct 13

The invoker command attribute feature is still in a gradual rollout stage, with inconsistent support across mainstream browsers, so the article's example retains a closeby fallback.

Unverified50%
Oct 13

HTML's closeby attribute (used for <dialog>) allows the browser to automatically close the dialog when the user clicks outside it or presses Esc, without any JavaScript.

Unverified50%
Oct 13

The browser coverage of closeby is not yet complete, so after enabling Modern Web Guidance, the generated code detects whether this attribute is supported and falls back to the traditional event listener approach when it is not.

Unverified50%

All Facts (3)

Source Articles