EN, Change language
English
UK-035

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

Web Content Accessibility Guidelines (WCAG) 2.2, level AA · Every UK public sector website

Why it matters to users

An icon button with no name is announced as just "button", so a screen reader user cannot tell a search button from a menu or close button.

How to fix it

Give every button and control a name, using visible text, hidden text with the govuk-visually-hidden class or an aria-label, and use native elements so the role is right. Then scan again.

How we measure it

axe's name and role rules on every page.

Its official source

Related rules

Controls have accessible names · UK-035 | xfix