-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add pinch-zoom token to touch-action property? #68
Comments
Concretely I believe the grammar should change from: I.e. pinch-zoom may optionally be specified along with the existing
|
Assuming this is something Gecko wants to ship eventually (or should otherwise be convinced to...), +1. |
Is it expected that |
No such plans unfortunately since it's out of scope for the W3C PEWG charter. But I believe all PE implementations actually implement it, so it may be required for web compatibility (to avoid creating accessibility issues). |
There is a test for it that we can add it to wpt as well under something like "de-facto" behaviors but not part of any specification. |
Oh yeah, it would be great to upstream our test! It doesn't need to be "defacto" - this IS specified in the compat spec, so you can add it https://github.com/web-platform-tests/wpt/tree/master/compat. |
The touch-action property defines a number of tokens. Edge and Chrome also ship an additional
pinch-zoom
token (and I believe Firefox plans to as well /cc @staktrace). But it's not clear if this will ever make it into the W3C PointerEvents spec.I think it's particularly important that we increase the visibility of this property (eg. document it on MDN for accessibility reasons. Many image carousels already use
touch-action: pan-y
when they probably should be usingtouch-action: pan-y pinch-zoom
in order to avoid disabling zooming for vision impared users.It'll be a little awkward to monkey patch it in, but is it OK if I submit a PR for this?
/cc @dtapuska @teddink @NavidZ @mustaqahmed
The text was updated successfully, but these errors were encountered: