Deepcrawl is now Lumar. Read more.
DeepcrawlはLumarになりました。 詳細はこちら

Zooming or scaling is disabled in viewport meta tag (WCAG Level AA Issue)

How to fix the web accessibility issue of zooming / scaling being disabled in viewport meta tags — Lumar Web Accessibility Wiki

Sensory and Visual - Lumar Website Accessibility Issues Thumbnail

What does this accessibility issue mean?

Issue summary: Zooming or scaling is disabled in viewport meta tag

A viewport refers to the visible part of a webpage that appears on a user’s screen. The area and amount of a page that is visible will differ depending on the user’s device and settings. 

You should include a viewport meta tag with instructions on how a browser should set a page’s dimensions and scaling on every page on your website. 

For accessibility, it is important for a viewport meta tag to have zooming and scaling enabled so that the webpage appears in an easy-to-navigate manner regardless of the device type a visitor is using. 


Ensure <meta name=”viewport”> does not disable text scaling and zooming.

Issue details

Lumar can help you find & resolve this website accessibility issue — & many others — on your own site. Speak to our team to get started with the platform.

Get a Lumar demo

Example HTML violation: Zooming or scaling is disabled in viewport meta tag (WCAG Level AA Issue)

<!DOCTYPE html>
<html lang="en" class="no-js">
    <meta name="viewport" content="width=1024, user-scalable=no">
    <title>Violation Example</title>
    <h1>Zomming and Scaling Disabled</h1>
    <p>This is sample webpage text</p>

The above HTML violates the meta-viewport accessibility rule because it includes the user-scalable=no parameter in the meta viewport tag. This parameter disables user scaling, which is not accessible for individuals with low vision. It prevents them from zooming into the page to easily see and read the content.

To ensure compliance with accessibility guidelines, the user-scalable=no parameter needs to be removed from the meta viewport tag.


How to fix "Zooming or scaling is disabled in viewport meta tag (WCAG Level AA Issue)" issue

<!DOCTYPE html>
<html lang="en" class="no-js">
    <meta name="viewport" content="width=1024, initial-scale=1">
    <title>Corrected Example</title>
    <h1>Zooming and Scaling Enabled</h1>
    <p>This is sample webpage text</p>

In above example, I have removed the user-scalable=no from meta viewport content, enabling the user to zoom in and out on page content. This is consistent with the "Meta viewport allows for zoom" rule from the Web Accessibility Initiative (WAI) ACT Ruleset, and helps to ensure that we meet the WCAG 2.0 Success Criterion 1.4.4 Resize text guideline.

Ensuring that users can scale the content allows people with low vision to enlarge text or images on the page to make them easier to perceive, thus providing a more accessible experience.

Digital Accessibility + SEO + Website Health

Build better online experiences — explore the full Lumar platform