Site search is a search function for content within a particular website. A visitor enters a phrase and receives results from that site's content. W3C search-function technique, checked 2026.10.23. Use it to help people locate material you already publish.
MDN documents search inputs as fields for entering search queries and shows a labeled site-search example. MDN search input reference, checked 2026.10.23.
Before adding a search box, list the questions visitors have trouble answering through navigation. For a short service website, a clearer menu or service page may be the more useful first change. Treat that choice as a design judgment based on your content.
Define the search job
Decide which material belongs in results. A product catalog, preparation guides, and current service pages can require different result labels. Keep private documents outside the public search brief.
| Planning question | Decision to record |
|---|---|
| What should people find? | Approved public content collection |
| What phrases will we test? | Staff-approved sample questions |
| What should each result show? | Title, summary, and destination |
| What happens with no results? | Useful explanation and next step |
| Who maintains the index? | Named owner and update process |
Do not use the search feature to hide an unclear page structure. Ask the designer to show the ordinary route to each important service as well.
Keep essential navigation available
Google explains that crawlable links help it discover pages and understand their context. Keep useful links to important public pages. Do not make a visitor's search query the only planned route to those pages. Google link guidance, checked 2026.10.23.
Use the technical SEO audit guide when reviewing how a larger site exposes its pages. Ask the developer to distinguish the public page inventory from search result URLs.
Review the search field and results
Ask for a visible search label and an understandable submit control. W3C explains how form labels describe controls and associate the description with the field. W3C form labeling tutorial, checked 2026.10.23.
Prepare sample questions drawn from actual staff experience, without private customer information. Include an exact service name, an alternative phrase, a misspelling, and a question with no matching content.
Review the returned titles and summaries. Open the results to confirm their relevance. Check that discontinued content follows the update policy you approved.
Specify the empty state and maintenance process
Write a helpful message for searches with no match. Offer a route to the service list or inquiry page. Avoid making the visitor repeat a failed search without any explanation.
Ask who updates the searchable collection when pages are added, changed, or withdrawn. Request a demonstration using sample public content. Record any delay between a page update and its appearance in results.
Treat search logs as a separate data collection decision. Ask what the implementation retains before enabling logging. Keep the decision and responsible account owner in the handover.
Send Scale With Search your content inventory, sample questions, and desired result behavior through the written scope form.
