-
Notifications
You must be signed in to change notification settings - Fork 22.8k
Closed
Labels
Content:WebAPIWeb API docsWeb API docseffort: mediumThis task is a medium effort.This task is a medium effort.help wantedIf you know something about this topic, we would love your help!If you know something about this topic, we would love your help!
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
Implementations of the Fullscreen API have always required "user activation" to go fullscreen, such as a click event. The documentation on MDN doesn't make any mention of this.
What did you expect to see?
Probably link to a common page describing user activation in general, and expand the toggleFullscreen()
example to use a "click" event handler, so that it can be copy-pasted and basically work.
Do you have any supporting links, references, or citations?
In the spec this is documented here:
https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen
And the requirement to consume the user gesture is being added here:
whatwg/fullscreen#153
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/api/element/requestfullscreen
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/element/requestfullscreen/index.md
- Last commit: a243190
- Document last modified: 2022-09-22T16:39:52.000Z
Metadata
Metadata
Assignees
Labels
Content:WebAPIWeb API docsWeb API docseffort: mediumThis task is a medium effort.This task is a medium effort.help wantedIf you know something about this topic, we would love your help!If you know something about this topic, we would love your help!