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
Copy file name to clipboardExpand all lines: _rules/meta-viewport-b4f0c3.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,22 +22,23 @@ acknowledgments:
22
22
23
23
## Applicability
24
24
25
-
This rule applies to each `meta` element with a `name` attribute whose value is a [case-insensitive][]match for `viewport` and has a `content` attribute.
25
+
This rule applies to each `content` attribute on a `meta` element with a `name`[attribute value][]of `viewport`.
26
26
27
-
## Expectation
27
+
## Expectation 1
28
28
29
-
For each test target, the `content`attribute, whose value is mapped to a list of property/value pairs in a user-agent specific manner, does not:
29
+
For each test target, the [attributevalue][] does hot have a `user-scalable`property with a value of `no`.
30
30
31
-
- specify the property `user-scalable` with a value of `no`; nor
32
-
- specify the property `maximum-scale` with a value of less than 2.
31
+
## Expectation 2
32
+
33
+
For each test target, the [attribute value][] does not have a `maximum-scale` property with a value less than 2.
33
34
34
35
## Assumptions
35
36
36
-
If any of the following is false, this rule can fail while Success Criteria [1.4.4 Resize text][sc144] and [1.4.10 Reflow][sc1410] can still be satisfied:
37
+
Pages for which any of the following is true may satisfy success criteria Success Criteria [1.4.4 Resize text][sc144] and [1.4.10 Reflow][sc1410], even if the rule results in a failed outcome.
37
38
38
-
- The [page][] has [visible][][content][].
39
-
- There is no other [mechanism](https://www.w3.org/TR/WCAG21/#dfn-mechanism) available to resize the text content.
40
-
- The [content][]is not by default rendered in a way that fits in an area of 320 by 256 [CSS pixels][], and needs to reflow to do so.
39
+
- The [page][] has no [visible][][content][]; or
40
+
- There is another [mechanism](https://www.w3.org/TR/WCAG21/#dfn-mechanism) available to resize the text content; or
41
+
- The [content][]does not need to reflow in order to fit in an area of 320 by 256 [CSS pixels][].
41
42
42
43
## Accessibility Support
43
44
@@ -260,12 +261,12 @@ This viewport `meta` element does not have a `content` attribute.
0 commit comments