jsx_a11y/autocomplete-valid Correctness ​
What it does ​
Enforces that an element's autocomplete attribute must be a valid value.
Why is this bad? ​
Incorrectly using the autocomplete attribute may decrease the accessibility of the website for users.
Example ​
Examples of incorrect code for this rule:
jsx
<input autocomplete="invalid-value" />
Examples of correct code for this rule:
jsx
<input autocomplete="name" />