Skip to content

Commit c700857

Browse files
Utkarsh comments addressed
1 parent 4cd7454 commit c700857

2 files changed

Lines changed: 1 addition & 19 deletions

File tree

.vscode/launch.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

lib/checks/forms/autocomplete-valid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"impact": "moderate",
66
"messages": {
77
"pass": "the autocomplete attribute is correctly formatted",
8-
"fail": "the autocomplete attribute is incorrectly formatted",
8+
"fail": "Add autocomplete attribute to form fields with a valid value as per HTML specification : https://html.spec.whatwg.org/#autofill-detail-tokens. 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=\"off\".",
99
"incomplete": "the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."
1010
}
1111
},

0 commit comments

Comments
 (0)