EN, Change language
Englishالعربية
QA-074

Buttons, icons and controls have accessible names and roles (WCAG 4.1.2).

The requirement

Buttons, icons and controls have accessible names and roles (WCAG 4.1.2).

Why it matters to users

An icon button with no name is read to a screen reader user as just "button", so they cannot tell whether it opens the menu, closes a window or submits the request. They hesitate or press the wrong one.

How to fix it

Use native button, a and input elements wherever possible, give every icon button a name with aria-label, and add role and aria-expanded to custom widgets. Then scan again.

How we measure it

Interactive elements expose a name and role to assistive technology.

Its official source

Related rules

Names and roles on controls · Qatar QA-074 | xfix