-
Notifications
You must be signed in to change notification settings - Fork 38
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
Zooming and scaling does not work properly on mobile devices #110
Comments
From memory, this is because of the sticky 'table of contents' on mobile, and the peculiar way that sticky elements scale and position themselves when zooming (I think there may also have been issues with the table of contents overlay that appears) As a lot of the tech docs using this format are now split across multiple pages, it may be that the table of contents overlay can be redesigned or removed, but this isn't a trivial change and IMHO needs to be designed and researched. |
Testing this on Android Chrome, it lets you zoom regardless of if we've turned it off. Will need to test on more devices to see what the behaviour is. |
I've tested in latest versions of iOS and Android. - iOS v10 onwards ignores disabling pinch to zoom - Android does not ignore disabling pinch to zoom, although the user can override this. I have not been able to introduce any negative impact for removing pinch to zoom, the interface scales proportionally and does not obstruct anything. So given that iOS already ignores this I think we should allow this for all users. This is also a WCAG accessibility requirement. Fixes #110
I've tested in latest versions of iOS and Android. - iOS v10 onwards ignores disabling pinch to zoom - Android does not ignore disabling pinch to zoom, although the user can override this. I have not been able to introduce any negative impact for removing pinch to zoom, the interface scales proportionally and does not obstruct anything. So given that iOS already ignores this I think we should allow this for all users. This is also a WCAG accessibility requirement. Fixes #110
The scaling and zooming on mobile devices is disabled:
tech-docs-gem/lib/source/layouts/core.erb
Line 6 in 6c44ea2
This fails WCAG 2.1 - 1.4.4 Resize text Level AA criterion.
The text was updated successfully, but these errors were encountered: