Skip to content

Commit 291e155

Browse files
committed
updated rule and check json to add a11y tags
1 parent 200ee9a commit 291e155

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/checks/forms/autocomplete-valid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "autocomplete-valid",
33
"evaluate": "autocomplete-a11y-evaluate",
44
"metadata": {
5-
"impact": "serious",
5+
"impact": "moderate",
66
"messages": {
77
"pass": "the autocomplete attribute is correctly formatted",
88
"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\"."

lib/rules/autocomplete-valid.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"wcag135",
99
"EN-301-549",
1010
"EN-9.1.3.5",
11-
"ACT"
11+
"ACT",
12+
"a11y-engine",
13+
"a11y-engine-experimental"
1214
],
1315
"actIds": ["73f2c2"],
1416
"metadata": {

0 commit comments

Comments
 (0)