EN, Change language
Englishالعربية
OM-056

Icon-only buttons must have accessible text.

The requirement (from the design system site)

Icon-only buttons must have accessible text.

Why it matters to users

A screen-reader user cannot see the magnifying glass or the cross; they hear only the text the button carries. With none, they hear "button" and cannot tell whether it searches, closes or deletes.

How to fix it

Give every icon-only button a text name for what it does, using the label attribute on gup-button or aria-label on a native button. Then scan again.

How we measure it

axe button-name / link-name on buttons with no visible text; gup-button[with-icon-only] must have a label attribute.

The rule on the design system site

Related rules

Text for icon-only buttons · Oman OM-056 | xfix