Skip to content

Commit

Permalink
fix: Align impact levels with Deque Way
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers committed Jul 6, 2017
1 parent 0039977 commit 28f4477
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/checks/color/link-in-text-block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "link-in-text-block",
"evaluate": "link-in-text-block.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "Links can be distinguished from surrounding text in a way that does not rely on color",
"fail": "Links can not be distinguished from surrounding text in a way that does not rely on color",
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/keyboard/accesskeys.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"evaluate": "accesskeys.js",
"after": "accesskeys-after.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "Accesskey attribute value is unique",
"fail": "Document has multiple elements with the same accesskey"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/lists/listitem.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "listitem",
"evaluate": "listitem.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "List item has a <ul>, <ol> or role=\"list\" parent element",
"fail": "List item does not have a <ul>, <ol> or role=\"list\" parent element"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/media/description.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "description",
"evaluate": "description.js",
"metadata": {
"impact": "serious",
"impact": "critical",
"messages": {
"pass": "The multimedia element has an audio description track",
"fail": "The multimedia element does not have an audio description track",
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/navigation/header-present.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "header-present",
"evaluate": "header-present.js",
"metadata": {
"impact": "moderate",
"impact": "serious",
"messages": {
"pass": "Page has a header",
"fail": "Page does not have a header"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/navigation/heading-order.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"evaluate": "heading-order.js",
"after": "heading-order-after.js",
"metadata": {
"impact": "minor",
"impact": "moderate",
"messages": {
"pass": "Heading order valid",
"fail": "Heading order invalid"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/navigation/internal-link-present.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "internal-link-present",
"evaluate": "internal-link-present.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "Valid skip link found",
"fail": "No valid skip link found"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/navigation/p-as-heading.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}]
},
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "<p> elements are not styled as headings",
"fail": "Heading elements should be used instead of styled p elements"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/navigation/skip-link.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"evaluate": "skip-link.js",
"after": "skip-link-after.js",
"metadata": {
"impact": "critical",
"impact": "moderate",
"messages": {
"pass": "Valid skip link found",
"fail": "No valid skip link found"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/shared/aria-label.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "aria-label",
"evaluate": "aria-label.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "aria-label attribute exists and is not empty",
"fail": "aria-label attribute does not exist or is empty"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/shared/aria-labelledby.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "aria-labelledby",
"evaluate": "aria-labelledby.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "aria-labelledby attribute exists and references elements that are visible to screen readers",
"fail": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty or not visible"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/shared/doc-has-title.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "doc-has-title",
"evaluate": "doc-has-title.js",
"metadata": {
"impact": "moderate",
"impact": "serious",
"messages": {
"pass": "Document has a non-empty <title> element",
"fail": "Document does not have a non-empty <title> element"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/shared/has-visible-text.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "has-visible-text",
"evaluate": "has-visible-text.js",
"metadata": {
"impact": "moderate",
"impact": "minor",
"messages": {
"pass": "Element has text that is visible to screen readers",
"fail": "Element does not have text that is visible to screen readers"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/shared/is-on-screen.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "is-on-screen",
"evaluate": "is-on-screen.js",
"metadata": {
"impact": "minor",
"impact": "serious",
"messages": {
"pass": "Element is not visible",
"fail": "Element is visible"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/shared/non-empty-title.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "non-empty-title",
"evaluate": "non-empty-title.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "Element has a title attribute",
"fail": "Element has no title attribute or the title attribute is empty"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/shared/role-none.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "role-none",
"evaluate": "role-none.js",
"metadata": {
"impact": "moderate",
"impact": "minor",
"messages": {
"pass": "Element's default semantics were overriden with role=\"none\"",
"fail": "Element's default semantics were not overridden with role=\"none\""
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/shared/role-presentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "role-presentation",
"evaluate": "role-presentation.js",
"metadata": {
"impact": "moderate",
"impact": "minor",
"messages": {
"pass": "Element's default semantics were overriden with role=\"presentation\"",
"fail": "Element's default semantics were not overridden with role=\"presentation\""
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/tables/caption-faked.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "caption-faked",
"evaluate": "caption-faked.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "The first row of a table is not used as a caption",
"fail": "The first row of the table should be a caption instead of a table cell"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/tables/html5-scope.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "html5-scope",
"evaluate": "html5-scope.js",
"metadata": {
"impact": "serious",
"impact": "moderate",
"messages": {
"pass": "Scope attribute is only used on table header elements (<th>)",
"fail": "In HTML 5, scope attributes may only be used on table header elements (<th>)"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/tables/same-caption-summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "same-caption-summary",
"evaluate": "same-caption-summary.js",
"metadata": {
"impact": "moderate",
"impact": "minor",
"messages": {
"pass": "Content of summary attribute and <caption> are not duplicated",
"fail": "Content of summary attribute and <caption> element are identical"
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/tables/th-has-data-cells.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "th-has-data-cells",
"evaluate": "th-has-data-cells.js",
"metadata": {
"impact": "critical",
"impact": "serious",
"messages": {
"pass": "All table header cells refer to data cells",
"fail": "Not all table header cells refer to data cells",
Expand Down

0 comments on commit 28f4477

Please sign in to comment.