| Rule ID | a11y/aria-toggle-field-name |
| Category | Accessibility |
| Scope | Per-page |
| Severity | error |
| Weight | 7/10 |
Solution
Toggle fields need accessible names to describe what they control. Use<label for='id'>, aria-label, aria-labelledby, or wrap in <label>. Example: <label>``<input type='checkbox'> Subscribe to newsletter</label>
Enable / Disable
Disable this rule
squirrel.toml
Disable all Accessibility rules
squirrel.toml
Enable only this rule
squirrel.toml