Skip to content

Commit

Permalink
fix(meta-viewport): mark as a best-practice rule instead of wcag fail…
Browse files Browse the repository at this point in the history
…ure (#1960)
  • Loading branch information
straker committed Jan 6, 2020
1 parent 35a24c0 commit 766f962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/rule-descriptions.md
Expand Up @@ -65,7 +65,7 @@
| marquee | Ensures <marquee> elements are not used | Serious | cat.parsing, wcag2a, wcag222 | true | true | false |
| meta-refresh | Ensures <meta http-equiv="refresh"> is not used | Critical | cat.time-and-media, wcag2a, wcag2aaa, wcag221, wcag224, wcag325 | true | true | false |
| meta-viewport-large | Ensures <meta name="viewport"> can scale a significant amount | Minor | cat.sensory-and-visual-cues, best-practice | true | true | false |
| meta-viewport | Ensures <meta name="viewport"> does not disable text scaling and zooming | Critical | cat.sensory-and-visual-cues, wcag2aa, wcag144 | true | true | false |
| meta-viewport | Ensures <meta name="viewport"> does not disable text scaling and zooming | Critical | cat.sensory-and-visual-cues, best-practice | true | true | false |
| object-alt | Ensures <object> elements have alternate text | Serious | cat.text-alternatives, wcag2a, wcag111, section508, section508.22.a | true | true | false |
| p-as-heading | Ensure p elements are not used to style headings | Serious | cat.semantics, wcag2a, wcag131, experimental | true | true | false |
| page-has-heading-one | Ensure that the page, or at least one of its frames contains a level-one heading | Moderate | cat.semantics, best-practice | true | true | false |
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/meta-viewport.json
Expand Up @@ -2,7 +2,7 @@
"id": "meta-viewport",
"selector": "meta[name=\"viewport\"]",
"excludeHidden": false,
"tags": ["cat.sensory-and-visual-cues", "wcag2aa", "wcag144"],
"tags": ["cat.sensory-and-visual-cues", "best-practice"],
"metadata": {
"description": "Ensures <meta name=\"viewport\"> does not disable text scaling and zooming",
"help": "Zooming and scaling must not be disabled"
Expand Down

0 comments on commit 766f962

Please sign in to comment.