| Rule ID | a11y/aria-input-field-name |
| Category | Accessibility |
| Scope | Per-page |
| Severity | error |
| Weight | 7/10 |
Solution
All input fields need accessible names. Best options: 1) Use<label for='inputId'>. 2) Use aria-label or aria-labelledby. 3) Wrap input in <label>. Placeholder alone is not sufficient as it disappears when typing.
Enable / Disable
Disable this rule
squirrel.toml
Disable all Accessibility rules
squirrel.toml
Enable only this rule
squirrel.toml