Skip to content

Commit

Permalink
fix: replace incorrect tag for meta-refresh rule (#1844)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilpalsson authored and stephenmathieson committed Oct 13, 2019
1 parent 223a4bc commit 754d56b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/rule-descriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
| list | Ensures that lists are structured correctly | Serious | cat.structure, wcag2a, wcag131 | true |
| listitem | Ensures <li> elements are used semantically | Serious | cat.structure, wcag2a, wcag131 | true |
| marquee | Ensures <marquee> elements are not used | Serious | cat.parsing, wcag2a, wcag222 | true |
| meta-refresh | Ensures <meta http-equiv="refresh"> is not used | Critical | cat.time, wcag2a, wcag2aaa, wcag221, wcag224, wcag325 | true |
| meta-refresh | Ensures <meta http-equiv="refresh"> is not used | Critical | cat.time-and-media, wcag2a, wcag2aaa, wcag221, wcag224, wcag325 | true |
| meta-viewport-large | Ensures <meta name="viewport"> can scale a significant amount | Minor | cat.sensory-and-visual-cues, best-practice | true |
| meta-viewport | Ensures <meta name="viewport"> does not disable text scaling and zooming | Critical | cat.sensory-and-visual-cues, wcag2aa, wcag144 | true |
| object-alt | Ensures <object> elements have alternate text | Serious | cat.text-alternatives, wcag2a, wcag111, section508, section508.22.a | true |
Expand Down
9 changes: 8 additions & 1 deletion lib/rules/meta-refresh.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
"id": "meta-refresh",
"selector": "meta[http-equiv=\"refresh\"]",
"excludeHidden": false,
"tags": ["cat.time", "wcag2a", "wcag2aaa", "wcag221", "wcag224", "wcag325"],
"tags": [
"cat.time-and-media",
"wcag2a",
"wcag2aaa",
"wcag221",
"wcag224",
"wcag325"
],
"metadata": {
"description": "Ensures <meta http-equiv=\"refresh\"> is not used",
"help": "Timed refresh must not exist"
Expand Down

0 comments on commit 754d56b

Please sign in to comment.