meta_viewport

The viewport meta tag should not use user-scalable=no, and maximum-scale should be 2 or above, so end users can zoom

User impact: Critical

This rule supports the following configuration:

# `user-scalable=no` must not be used, and `maximum-scale` should be 2 or above.
meta_viewport = true

Success

<!-- Good: Does not use user-scalable=no -->
<!-- meta_viewport = true -->
<meta name="viewport" content="width=device-width">
<!-- Good: maximum-scale less than 2 on unrelated meta -->
<!-- meta_viewport = true -->
<meta name="potato" content="width=device-width, maximum-scale=1">

Fail

<!-- Bad: user-calable=no is not allowed -->
<!-- meta_viewport = true -->
<meta name="viewport" content="width=device-width, user-scalable=no">
<!-- Bad: maximum-scale less than 2 is not allowed -->
<!-- meta_viewport = true -->
<meta name="viewport" content="width=device-width, maximum-scale=1">

Resources