Skip to content

Error · nested-interactive

A button inside a button

Two clickable things are nested; screen readers and keyboards can only reach one.

Who it leaves out: blind people (screen readers) · people who can't use a mouse

How to fix it

Developer task; details below.

In the code

Do not nest a button/link inside another interactive element; flatten the markup.

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.