Viewport Meta Element Check

RuleSets of AccessMonitor - the validator of web accessibility practices

Viewport Meta Element Check

Description

The “Viewport Meta Element Check” evaluates whether the <meta name="viewport"> element does not disable user scaling (i.e., pinch-to-zoom).

Example outcome

I noticed that the meta element does not prevent users from zooming.

Impact

Fixes

To address <meta> elements that prevent users from zooming:

  1. Locate the <meta> element.
  2. Replace it with an incluse viewport setting (e.g., <meta name="viewport" content="width=device-width, initial-scale=1.0">).
  3. Avoid using the user-scalable=no and the maximum-scale=1.0 attributes in the viewport tag.

Resources