Ensure <meta name="viewport"> Can Scale a Significant Amount

Yotam Flohr
Researcher
Low vision
WCAG 2.1 Level A

Written and researched for humans by humans

Yotam Flohr
Researcher
Ritvik Shrivastava
Expertly reviewed by
Comments: 0
Your entire domain
Get detailed instructions on how to resolve every accessibility issue on your website

An HTML document must not use the user-scalable=”no” parameter in the <meta name=”viewport”> element because it disables text scaling and zooming.

Why It Matters

The user-scalable=”no” parameter inside the content attribute of <meta name=”viewport”> element disables zooming on a page. The maximum-scale parameter limits the amount the user can zoom, which is problematic for people with low vision.

Users with partial vision and low vision often choose to enlarge the fonts on their browser to make text easier to read. 

If the browser window is small, the viewport focus area includes only a small part of the web page, making for a difficult browsing experience.

Fixing the Issue

Remove the user-scalable=”no” parameter from the content attribute of the <meta name=”viewport”> element in order to allow zooming and ensure the maximum-scale parameter is not less than 5.

A meta viewport element tells the browser how to control the page’s dimensions and to scale, but the ability to zoom can be disabled as a result of its use.

Remove the user-scalable=”no” parameter from the content attribute of the <meta name=”viewport”> element in order to allow zooming.