jsx-a11y/autocomplete-valid

💼 This rule is enabled in the following configs: ☑️ recommended, 🔒 strict.

Ensure the autocomplete attribute is correct and suitable for the form field it is used with.

Rule options

This rule takes one optional object argument of type object:

{ "rules": { "jsx-a11y/autocomplete-valid": [ 2, { "inputComponents": ["Input", "FormField"] }], } }

Succeed

```jsx

```

Fail

```jsx

```

Accessibility guidelines

Resources