fix: only check value of type attribute in prefer-button rule
The prefer-button rule should detect <input> elements of button-like types. Searching all attribute values for these types, e.g. "submit", yields false positives if this string in other places. We now only check the value of the "type" attribute to prevent false positives with this rule.
-
mentioned in commit 8777a276
-
mentioned in merge request cypress-html-validate!73 (merged)
-
mentioned in merge request html-validate-jest-snapshot!63 (merged)
-
mentioned in merge request demo!19 (merged)
-
mentioned in merge request example-plugin!44 (merged)
-
mentioned in merge request html-validate-vue!103 (merged)
-
mentioned in merge request html-validate-angular!83 (merged)
-
mentioned in merge request vscode-html-validate!136 (merged)
Please register or sign in to comment