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

The search button and the clear button must have accessible names.

The requirement (from the design system site)

The search button and the clear button must have accessible names.

Why it matters to users

Search and clear buttons are often just icons, so a screen-reader user hears "button" twice with no name. They cannot tell which one runs the search and which wipes what they typed, and may clear it by mistake.

How to fix it

Give the search and clear buttons an accessible name on the button element itself, with text or aria-label such as "Search" and "Clear search", not on the icon. Then scan again.

How we measure it

For each search box (counted once across pages), check the real submit control (type=submit, or a button with no type that does not open a modal or panel) and any clear button (type=reset, or named or classed clear/مسح) have a non-empty accessible name (text, aria-label or title on the button). A search box with no button is reported as a note.

The rule on the design system site

Related rules

Named search and clear buttons · Oman OM-088 | xfix