ARIA toggle fields must have an accessible name
labels-and-names/aria-toggle-field-name · WCAG 4.1.2 · Level A
ARIA toggle fields must have an accessible name.
ARIA toggle controls (checkbox, switch, radio, menuitemcheckbox, menuitemradio) must have accessible names so users understand what option they're selecting. Add visible text content, aria-label, or use aria-labelledby to reference a visible label.
Scan a page or repo for issues like this · All rules
Introduced in @accesslint/core v0.8.0