Skip to content

fix(a11y): restore pinch-zoom on the docs sites - #1086

Open
mdo wants to merge 1 commit into
seo-robots-sitemapfrom
seo-pinch-zoom
Open

fix(a11y): restore pinch-zoom on the docs sites#1086
mdo wants to merge 1 commit into
seo-robots-sitemapfrom
seo-pinch-zoom

Conversation

@mdo

@mdo mdo commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The docs layout set userScalable: false in its viewport export, which fails Lighthouse's meta-viewport audit and blocks pinch-zoom for low-vision users on diffs.com and trees.software.
  • Removing it re-enables pinch-zoom. This is a genuine accessibility defect independent of any ranking effect.
  • DiffsHub deliberately keeps its locked viewport, so it is untouched.

Test plan

  • Pinch-zoom works on diffs.com and trees.software
  • Lighthouse meta-viewport audit passes on the docs sites

Stacked on #1085 (3 of 4).

The docs layout set userScalable: false in its viewport export, which fails Lighthouse's meta-viewport audit and blocks pinch-zoom for low-vision users on diffs.com and trees.software. Removing it re-enables zoom. DiffsHub deliberately keeps its locked viewport.
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierre-diffshub Ready Ready Preview Aug 19, 2026 9:18pm
pierre-docs-diffs Ready Ready Preview Aug 19, 2026 9:18pm
pierre-docs-trees Ready Ready Preview Aug 19, 2026 9:18pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
pierrejs-diff-demo Skipped Skipped Aug 19, 2026 9:18pm

Request Review

@amadeus

amadeus commented Aug 19, 2026

Copy link
Copy Markdown
Member

you can def pinch to zoom on mobile safari, i assumed most browsers don't actually respect that flag. wild that we get docked for it.

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.

3 participants