You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
b4f0c3: Adjust meta viewport applicability based on properties defined (#1835)
* Adjust meta applicability based on properties defined
* Change scale from 600% to 200% for Pass 2
Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
* Rephrase applicability
* Apply suggestions from code review
Co-authored-by: Carlos Duarte <carlosapaduarte@gmail.com>
* Apply suggestions from code review
Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
Co-authored-by: Carlos Duarte <carlosapaduarte@gmail.com>
Copy file name to clipboardExpand all lines: _rules/meta-viewport-b4f0c3.md
+41-38Lines changed: 41 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,14 @@ acknowledgments:
22
22
23
23
## Applicability
24
24
25
-
This rule applies to each `content` attribute on a `meta` element with a `name`[attribute value][] of `viewport`.
25
+
This rule applies to each `content` attribute on a `meta` element with a `name`[attribute value][] of `viewport` for which at least one of the following is true:
26
+
27
+
- the `content`[attribute value][] has the `user-scalable` property; or
28
+
- the `content`[attribute value][] has the `maximum-scale` property.
26
29
27
30
## Expectation 1
28
31
29
-
For each test target, the [attribute value][] does hot have a `user-scalable` property with a value of `no`.
32
+
For each test target, the [attribute value][] does not have a `user-scalable` property with a value of `no`.
30
33
31
34
## Expectation 2
32
35
@@ -61,13 +64,13 @@ This rule is designed specifically for [1.4.4 Resize text][sc144], which require
61
64
62
65
#### Passed Example 1
63
66
64
-
This viewport `meta` element does not prevent user scaling because it does not specify the `maximum-scale` and `user-scalable` values.
67
+
This viewport `meta` element does not prevent user scaling because it has `user-scalable` set to `yes`.
0 commit comments