Users can't zoom pages in AMP Viewer
What's the issue?
The google mobile search results page has the following viewport settings in the head:
<meta content="width=device-width,maximum-scale=1.0,initial-scale=1.0,minimum-scale=1.0,user-scalable=yes,shrink-to-fit=no" name="viewport">
user-scalable=yes, but maximum-scale=1.0, so the users can't zoom the search results and the AMP Viewer with their mobile devices.

I think it would be a good idea to provide a method to zoom in pages in AMP viewer.
How do we reproduce the issue?
Open an AMP page from google mobile search results and try to zoom in the page with AMP viewer, but you can't.

What browsers are affected?
It's not a browser/device related problem.
Which AMP version is affected?
Sorry, I know this problem is not related to the amphtml open source project, but I hope you can help/answer my question, or should I send a feedback report to Google(https://support.google.com/websearch/answer/6223687?co=GENIE.Platform%3DAndroid&hl=en)?
/to @chenshay /cc @ericfs
WAI? what are the concerns with enabling zoom in the viewer?
Tracked internally: b/38496044
The meta viewport tag is defined for the search page so please do feel free to file Google feedback about it.
Thanks @ericfs
Thanks! I sent a feedback report to Google as well.
This issue hasn't been updated in awhile. @chenshay Do you have any updates?
This issue hasn't been updated in awhile. @chenshay Do you have any updates?
P3 to align with b/38496044 priority
Not sure about the exact use case, but if you need to support zooming on a specific element, <amp-pan-zoom> might be useful. Even if one AMP viewer supports scaling, others may not. Also, AMP documents could be embedded in other sorts of ways in the future that don't support zooming.
/cc @cathyxz
One exact use case is accessibility for users with low vision (like myself). AMP breaks it. Hypotheticals shouldn't be used to justify not addressing a serious accessibility problem.
The bug here is that the document inside the AMP iframe has touch-action: pan-y which blocks pinch-zoom. Changing to touch-action: pan-y pinch-zoom fixes it for me locally.
One exact use case is accessibility for users with low vision
Just FYI, there's a setting in Chrome>Settings>Accessibility to force enable zooming so that Chrome ignores zooming restrictions set by the page and always allows zooming (it works in this case).
The previously mentioned internal tracking bug (b/38496044) is no longer an issue.
I did notice and file: https://crbug.com/1009232 but my understanding is that would not impact most users.
@kristoferbaxter should this be assigned to someone else?
Just tested and it still doesn't work on iOS Safari/Chrome. user-scalable is not overridden to no and maximum-scale is no longer set, so my guess is this is a platform limitation that restricts pinch-to-zoom on scrollable iframes.
Pinch-to-zoom does work on the google.com viewer header, but that's not really a practical UX.
@ericfs I've created a sample page here which includes a fake viewer and iframed content (with no AMP technologies involved) and it appears to support pinch/zoom.
Can someone take a look?
URL: https://thrilling-workable-flyingfish.glitch.me/
Resolved with #31971. Expect this to come out in the next release.