focus-without-user-activation permissions policy

Limited availability

The focus-without-user-activation permissions policy controls whether embedded documents can take focus programmatically without a user gesture. When the policy is disabled to prevent unwanted focus stealing, embedded focusing, such as autofocus or window.focus(), is blocked.

Browser support

  • Chrome 158 Released on 2026-11-17
  • Chrome Android 158 Released on 2026-11-17
  • Edge 158 Released on 2026-11-19
  • Firefox Not supported
  • Firefox for Android Not supported
  • Safari Not supported
  • Safari on iOS Not supported

MDN documentation

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.