no-autocomplete-off
autocomplete="off" harms accessibility and usability.
| Severity | Dimension | Files |
|---|---|---|
| Warning | Accessibility | .tsx .jsx |
What it flags
A line like this:
is reported as:
autocomplete="off" harms usability — browsers should manage autofill
How to fix it
Remove autocomplete="off" or use a specific autocomplete value.
preset AI suggests a fix it can apply for you: Remove autocomplete="off". Browsers should manage autofill. Use specific autocomplete values (e.g., "email", "tel") instead of disabling it entirely.
Before:
After:
Related
- All rules: every built-in rule, by dimension.
- Set up enforcement: connect an AI tool and make validation required.
Last reviewed by @jschuyler