Commit 4ff8bdf
committed
fix(a11y): make content accessible at 200% browser zoom
At 200% zoom a 1280 px display has a CSS viewport of ~640 px, which
triggers the RTD mobile breakpoint at 768 px. However the custom
clamp(800px, ...) keeps a hard 800 px minimum on the content area,
causing horizontal overflow and making the page content unreachable
without horizontal scrolling.
WCAG 1.4.4 (Resize Text) / BITV 9.1.4.4 requires that content be
fully usable up to 200% magnification.
Add a media-query override to remove the width floor at narrow
viewports so the content uses the available space.
Fixes #9678
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>1 parent c5c2990 commit 4ff8bdf
1 file changed
Lines changed: 16 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
133 | 149 | | |
134 | 150 | | |
135 | 151 | | |
| |||
0 commit comments