The Escape key is no longer treated as a user activation.

Motivation

Browsers prevents calls to abusable APIs (like popup, fullscreen, vibrate etc) unless the user activates the page through direct interactions. Not all interactions trigger user activation. For example, clicking on a link or typing in a textbox does, but swiping fingers on a screen or hovering with the mouse cursor doesn't. Since users never intend to interact with the page through the ESC key, it should not trigger user activation. Most importantly, ESC key activation recently turned out to be the root cause of one abuse vector.

Demo

Documentation

Specification

Specification link


Specification being incubated in a Community Group

Status in Chromium

Blink>Input


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped/Shipping
  • No signal
  • No signal
  • No signals

Owner

Intent to Prototype url

Intent to Prototype thread

Search tags

User gesture,

Last updated on 2021-08-29