Learning Center · Answers · Navigability
Can AI agents use my site search?
Short answer
Yes, if your search box has a label, your filters are real controls and every search has its own web address. Browser agents type into search and click filters like shoppers, while assistants that fetch pages can only open links. Give each search and filtered view a readable URL that shows the same results when opened fresh.
In more detail
Browser agents find the search box by its label, type, press Enter, then click filters and sort options, much as a keyboard or screen reader user would. A magnifying glass icon on its own has no name an agent can read. A search box that only appears after clicking an unlabelled icon is an extra step agents often miss. Predictive suggestions are fine, as long as Enter still opens a results page.
Giving results and filters their own URLs is the single most useful change, and it helps people too. An agent can go straight to /search?q=trail+shoes, or build a filtered link itself when parameters are plain, such as size=10. Put results in the HTML, because results drawn only by JavaScript look like an empty page to agents that read HTML.
Search should accept the words people use, including product names, brands, SKUs, common misspellings and synonyms such as "sneakers" and "trainers". An agent passes on what the person asked for, in their words. Filters built from clickable boxes often go unrecognized, so use labelled checkboxes in a labelled group.
What to do
- Give your search box a visible label and a named Search button.
- Make pressing Enter open a results page.
- Update the web address as filters are applied, using plain parameter names.
- Open a filtered link in a fresh window and check it shows the same results.
- Replace custom filter widgets with labelled checkboxes.
Read more
How does your own site do?
AgentScore checks your site in about a minute and ranks what to fix first.