axe-core rule: meta-viewport

Zooming is disabled on mobile

What it is

The viewport meta tag disables pinch-to-zoom (user-scalable=no) or caps zoom (maximum-scale less than 2), preventing users from enlarging content.

Who it blocks

Low-vision users who rely on zooming to read text on phones and tablets. Disabling zoom makes the entire mobile site unreadable for them.

How to fix it

Remove user-scalable=no and any maximum-scale below 5 from the viewport meta tag.

Example fix

<!-- Before -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

<!-- After -->
<meta name="viewport" content="width=device-width, initial-scale=1">

This is one of the barrier types BarrierScan checks for on every scan. Request a free accessibility scan to see whether it appears on your site, alongside the rest of the automated findings.