Skip to content

Error · aria-toggle-field-name

Switches or checkboxes without a name

A custom toggle doesn't say what it turns on or off.

Who it leaves out: blind people (screen readers)

How to fix it

Name it. Developer task.

In the code

Give the checkbox/switch/radio a name: visible text, <label for>, aria-label or aria-labelledby.

Our scanner writes and tests this correction for you.

Does your site have this error?

Free check in about a minute, no account.

One more chance: free scan · no account

Related errors

Automated testing covers roughly half of WCAG criteria; a full conformance claim also requires manual review. Technical information, not legal advice.