A way to search the site

How the scan looks for a search field or search button on the page, why a missing one is only a note, and when a search box helps visitors.

What AuditX checks

The scan opens the page you scanned in a browser twice, once at 1440 by 900 pixels (desktop) and once at 390 by 844 pixels (phone), and joins what it finds in both views. It looks for four signs of a search. First, an input of type search. Second, an element with role="search" or a search element. Third, a button, link or element with role="button" whose label, title or visible text is exactly Search, Site search, Zoeken, Zoek, Suchen, Suche, Rechercher, Recherche, Buscar, Cerca or Pesquisar, among the first 600 such elements. Fourth, a form (among the first 30) that has a visible field named q, s, query, search, keyword, keywords, zoekterm or suche, or whose action address has search, zoek, suche, recherche, buscar or cerca in its path. When any sign is found, the result is an info note that names what was found. When none is found but the structured data on the page declares a SearchAction, the result is an info note that says searching may still work for anyone who knows the search address. When nothing is found at all, the result is an info note that says no search was found. This check never passes, warns or fails, and it never lowers the score. It does not use the crawled pages, it does not click an icon to open a hidden search box, and it does not test whether the search returns useful results.

Why it matters

Nielsen Norman Group testing found that search is the escape hatch for visitors who get stuck in the navigation, and it advises making search available from every page. A visitor who knows what they want can reach it without learning your menu.

MDN describes the search role as a landmark that groups the parts of a search feature, so assistive technology can offer a way to jump straight to it. A search built with plain markup and no landmark is harder to find for those visitors.

How to fix it

  1. If your site has more than a handful of pages, products or articles, add a search field to the header so it appears on every page.
  2. Use an input of type search inside a form, and give the form a clear label such as Search.
  3. Wrap the search form in a search element, or add role="search" to it, so screen reader users can jump to it.
  4. If search is only an icon, give the button a text label or aria-label of Search, and test it on a phone.
<search>
  <form action="/search" method="get">
    <label for="q">Search</label>
    <input type="search" id="q" name="q">
    <button type="submit">Search</button>
  </form>
</search>

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.