Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require system focus for gamepad user gesture #207

Open
wants to merge 4 commits into
base: gh-pages
Choose a base branch
from

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