Skip to main content

Custom buttons and links with no name

aria-command-name

Some elements behave as buttons, links or menu items but have no text describing them.

Who this affects

Screen reader users, who hear the control type but not what it does.

Fix it in WordPress

Usually a mega-menu or accordion widget. Set the accessible name in the widget's advanced settings.

What the fix is, technically

Add visible text, aria-label, or aria-labelledby.

Does your site have this problem?

Scan any page free and find out in about fifteen seconds. No signup, and nothing about your site is stored.

Check my page

Other common failures