Skip to content
DeployAI
WarningCode a11y_button_name

Buttons without a name

What it means

The site has buttons with no name, usually buttons that show only an icon.

Why it is only a warning

This is only a warning. A screen reader says only "button", and the visitor does not know what it does.

How to fix it

  1. Give every button text, or a hidden name for an icon only button, for example "Close menu".
  2. Run the check again.

Prompt for your agent

Copy it and paste it into your agent. It fixes the project, explains each step, and runs the check again.

The DeployAI accessibility check found this on the site: Buttons without a name.
Give every <button> a name a screen reader can read: visible text, or aria-label="..." for icon only buttons (for example aria-label="Close menu"). Mark the icon inside with aria-hidden="true".
Explain your plan and wait for my approval before architectural changes. Do not remove features without asking.
Explain every step to me in simple words.
When done and the updated site is live, tell me to run the accessibility check again at https://deployai.co.il/en/tools/accessibility