Skip to content

valid-autocomplete

Validate autocomplete attribute values.

Severity

warning

❌ Incorrect

html
<input autocomplete="invalid-value">

✅ Correct

html
<input autocomplete="email">

Reference

Configuration

json
{
  "rules": {
    "valid-autocomplete": "error"
  }
}

Released under the MIT License.