🏠 New in High Baseline Support: User activation

May 21, 2026

caniuse · mdn · spec

The navigator.userActivation API reveals whether the user has interacted with the page through an “activation” gesture such as a click, tap, or key press. User activation gated APIs (such as the fullscreen API) fail without user interaction, and this API allows you to predict such a failure.

Source features