Michael is a 45-year-old Director of Operations at a global tech company. He is an avid runner who participates in marathons and enjoys early morning jogs. He lives with his spouse and two teenage children, and he values family game nights.
"I love having the dashboard on my phone, it is super handy to check numbers on the go. But seriously, why can’t I just pinch to zoom? My eyes are not what they used to be, and I am sitting here squinting at the screen. It is such a no-brainer feature. How did they not think of that?”
This section provides some examples of the issue.
The following viewport meta tag ensures that users can freely zoom in and out on the webpage. It sets the user-scalable meta tag to "yes".
<meta name="viewport" user-scalable=yes"/>Avoid restrictive values like maximum-scale=1 to guarantee that users can adjust text size and layout according to their needs.
This allows users to maintain control over their browsing experience, especially those who rely on magnification tools or browser zoom functions to read content comfortably.
The following viewport meta tag restricts users from zooming in and out on the webpage. It sets the user-scalable meta tag to "no".
<meta name="viewport" content="user-scalable=no" />When you prevent user scaling, your users cannot adjust text size and layout according to their needs.
This creates accessibility issues for individuals who rely on magnification tools or browser zoom functions to read content comfortably, and makes the webpage harder to use for people with visual impairments.
This section provides information on how to identify and fix the issue.
The Acquia Web Governance platform flags <meta> elements with a name attribute set to viewport if the user-scalable property is set to no or if the maximum-scale property is set to a value lower than 2.
If the user-scalable value is set to no, change it to yes.
If the maximum-scale property is set to less than 2, either remove it completely or adjust the value to 2 or higher.
Refer to the ACT rules section below, which includes a link to a complete technical explanation of this check.
Related accessibility conformance testing rules.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.