Skip to content

Commit 8b2da07

Browse files
committed
Reverted rules json
1 parent 3492f03 commit 8b2da07

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

lib/checks/forms/autocomplete-valid.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"id": "autocomplete-valid",
33
"evaluate": "autocomplete-valid-evaluate",
44
"metadata": {
5-
"impact": "moderate",
5+
"impact": "serious",
66
"messages": {
77
"pass": "the autocomplete attribute is correctly formatted",
8-
"fail": "Add autocomplete attribute to form fields with a valid value as per HTML specification. In 'name' attribute of field, prefer to use standard autocomplete value since browsers use 'name' to suggest autofill. For field with no standard autocomplete value (eg: College ID), prefer to use autocomplete='on'."
8+
"fail": "the autocomplete attribute is incorrectly formatted"
99
}
1010
},
1111
"options": {

lib/rules/autocomplete-valid.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
{
22
"id": "autocomplete-valid",
33
"matches": "autocomplete-matches",
4-
"tags": [
5-
"cat.forms",
6-
"wcag21aa",
7-
"wcag22aa",
8-
"wcag135",
9-
"a11y-engine",
10-
"a11y-engine-experimental"
11-
],
4+
"tags": ["cat.forms", "wcag21aa", "wcag135"],
125
"actIds": ["73f2c2"],
136
"metadata": {
14-
"description": "Ensure that the necessary form fields use the autocomplete attribute with a valid input.",
15-
"help": "Autocomplete attribute must have a valid value"
7+
"description": "Ensure the autocomplete attribute is correct and suitable for the form field",
8+
"help": "autocomplete attribute must be used correctly"
169
},
1710
"all": ["autocomplete-valid"],
1811
"any": [],

0 commit comments

Comments
 (0)