EN, Change language
Englishالعربية
BH-090

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

A screen reader announces an icon-only search or menu button as just "button". A blind user cannot tell whether it opens the menu, runs a search or switches language.

How to fix it

Give every button and clickable icon visible text or an aria-label, and use button elements rather than divs for interactive controls, as the official govbh-* components do. Then scan again.

How we measure it

axe button-name, input-button-name, aria rules; icon-only controls without a name.

Its official source

Related rules

Names and roles on controls · Bahrain BH-090 | xfix