Skip to content

Conversation

nondebug
Copy link
Collaborator

@nondebug nondebug commented May 10, 2024

Closes #206

The following tasks have been completed:

  • Modified Web platform tests (link to pull request)

Implementation commitment:


Preview | Diff

@marcoscaceres
Copy link
Member

This seems reasonable. I need to check if WebKit already does this or not.

@nondebug
Copy link
Collaborator Author

This seems reasonable. I need to check if WebKit already does this or not.

I think WebKit on macOS already requires focus even for normal gamepad inputs because it uses Game Controller API which requires focus.

@marcoscaceres
Copy link
Member

marcoscaceres commented Aug 8, 2024

We might actually want this:
https://html.spec.whatwg.org/multipage/interaction.html#fully-active-descendant-of-a-top-level-traversable-with-user-attention

  • Fully active
  • visibly requirement
  • and system system focus!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Require focus for initial gamepad user gesture
2 participants