CYBERDZYNES Independent digital design magazine

Web & UI / Field notes

Give an empty search somewhere to go

Keep the reader's query in view and offer a next move that matches what actually went wrong.

The archive widens the search beyond Interviews without making the reader retype the query or discard unrelated filters.

An empty results page comes after the reader has already done some work. They chose words, perhaps selected a date range, and waited. A cheerful illustration and 'Nothing here!' repay none of that effort. The page should show what was searched and offer a small, reversible way to try again.

Keep the evidence on screen

In a hypothetical design archive, someone searches for 'folding poster' while the Interviews filter is active. 'No results for folding poster in Interviews' tells them something that 'Try a different search' does not. Keep the query in the editable field and show Interviews beside the results, with a control that removes only that filter. Do not hide the cause inside a closed drawer or make the reader repeat the phrase to start over.

Make the zero state a result in its own right. Put it where the result count normally sits and keep the familiar search controls in their usual place. If results update in place, make the settled result status available to assistive technology without moving focus on every keystroke.

Suggest the smallest useful change

Suppose the archive can find four matches outside Interviews. Offer 'Search all formats' and explain what will change. On activation, preserve the words and any unrelated constraints. Only put a number on the action if the search can substantiate it. If you have no evidence that widening the scope helps, a plain way to remove Interviews is better than a promise.

For an unfiltered query such as 'foldng poster', a credible spelling suggestion could be 'Search for folding poster'. Keep the original term until the reader accepts the correction. If the index has no obvious next query, a clearly labelled 'Browse print design' link is useful to someone exploring. It should never make unrelated articles look like matches.

Give failures different copy

A timed-out request hasn't found zero results; it hasn't found out. Show 'Search didn't load' with a retry that keeps the query and filters. Likewise, a blank field before the first search belongs to the starting state, where recent topics or examples may help. Distinguishing these branches prevents the interface from blaming a spelling choice for an outage or inventing work the reader hasn't done.

Walk through one recovery at a time

Before shipping, run three deliberate cases: a filtered query with wider matches, an obscure term with none, and a request that fails. Follow the primary action in each case and then press Back. The original query and relevant filters should be intelligible when you return. Check the smallest screen: if the search box and recovery action are separated by a large illustration, shrink the illustration. The reader is trying to search again, not admire the punctuation at the end of a dead end.

Show what the archive was able to search

Imagine a fictional community radio archive with episode titles, programme notes and transcripts. Someone types a phrase they remember hearing in an interview. The title search finds nothing; the words may still occur in a recording. A result line that says 'No titles or programme notes match' is more informative than 'No episodes match'. Where transcripts are searchable, name that scope separately. If transcripts exist for only some episodes, explain the gap near the search results before sending the reader on another attempt. Otherwise, they might reasonably take the absence of results as evidence the interview never aired.

Decide which alternative is feasible. If the archive has a complete programme index but no searchable transcripts, let the reader browse by programme or approximate broadcast date. If only newer episodes have transcripts, offer a transcript search without implying it covers the whole archive. If a user selects an old year for which no recordings are online, show the named year and explain the availability rather than asking them to invent new keywords. A date index and a feature that searches words inside a recording solve different problems; make their labels say which work each can do.

Draft a scope sentence using only information the application can stand behind. 'Searched titles and descriptions in the online archive' is useful even if you cannot say which years are complete. Keep 'online' if some material is available on site but not indexed. Give the browse link a specific destination: 'Browse the broadcast schedule' is a verifiable offer; 'Find more results' is an outcome you cannot guarantee. Check the destination for what it contains before adding the link. An empty schedule or a landing page that leads back to the same search only postpones the dead end.

Separate exact wording from a broader match

In a fictional furniture archive, a reader looking for a particular chair enters an exact model label printed on the underside. The editor wants zero results to suggest 'chairs by the same maker'. That can be useful, but it shouldn't be reported as a match for the model. Show that the exact label returned nothing, then put the maker browse link under an explicit alternative. Someone identifying an object may need to distinguish 'this is the chair' from 'this resembles the chair'. Grouping those outcomes together makes the results longer without answering the identification question.

A different trade-off applies to common terminology. Suppose most records say 'writing desk' and the reader enters 'bureau'. If the search has a curated synonym that is appropriate for the collection, the interface can offer results for the related term and show what changed. Where the word also refers to a distinct piece of furniture in some records, make the broader search optional. Distinguish transparent language support from a system quietly replacing a precise term with a popular one. For a catalogue spelling variant, retaining both words in the results explanation may be enough; for a disputed model name, keep an explicit way to repeat the exact search.

Compare the empty state for a single identifier, a two-word phrase and an exploratory question. For the identifier, provide an exact alternative only when the archive actually recognises a notation or has a relevant index. For the phrase, give the reader a way to remove one word without clearing the field. For the question, one category may be more useful than a list of randomly chosen articles. Keep each recovery visible as a different kind of action. The reader should be able to predict whether the click edits the current query, opens a browse page or takes them to a specific record.

Let one change answer one question

Suppose the radio archive search combines 'river crossing', the programme Morning Round, the year 2011 and the topic Transport. The reader may have chosen the year from memory and the topic because it looked helpful. 'Clear all filters' sends them from one narrow corner to the whole archive. A better first move might be 'Search all years' if wider results exist, or 'Remove Transport' if the relevant programmes were filed under local history. Keep the remaining conditions visible so the reader can judge whether the results still concern the interview they remember.

Some restrictions represent scope the reader never meant to change. Imagine opening search from a programme page: they expect results for that programme, even if no filter was touched. If the page narrows the search by default, show that constraint and make 'Search the whole archive' a deliberate choice. Conversely, if a year comes from a link shared by an editor, selecting another year should not silently discard the search words. The origin of a condition can explain its default; to the reader, the important thing is that it is visible and can be changed where appropriate.

Prioritise alternatives by the cost of being wrong. A suggestion that drops one remembered year is easy to decline, while an automatic replacement of the programme could send a researcher into material from the wrong station. In a list of links, place the cautious retry before broad browsing when the query is precise. For an exploratory query with no clues, let category browsing take the lead. Review the action sentence in isolation: 'Try a broader search' needs interpretation; 'Search all programmes for river crossing' gives the reader the opportunity to decide whether the change is worth making.

Keep delayed answers tied to the right search

Consider a reader typing 'river' and then submitting 'river crossing'. If the earlier search finishes last with no matches, it should not replace the newer results or label the later query empty. In a frontend review, write out the order in which the two requests start and finish, and decide which result belongs to the displayed query and scope. The same issue appears when a reader clears a filter while a search is in flight. The absence of a result is an answer to a specific request; detach it from that request and the user may try to fix a choice that was never checked.

While waiting, make it possible to distinguish stale results from a completed search. If old results remain on screen, label them with their previous scope or keep them clearly separate from the progress message for the new one. If the interface clears the list, use a brief pending status where the count will be, then replace it with the known outcome. Avoid flickering through a zero state on the way to ordinary results. On a slow connection a false empty state may stay on screen long enough for the reader to start editing again.

Account for an incomplete response. In a fictional newspaper search, article matches may load while digitised letters remain unavailable. Showing the article results is useful; quietly reporting a count for both collections isn't. Identify which collection responded and retain the option to retry the one still missing, provided you can keep the query intact. Where the interface cannot safely distinguish a partial response from a complete one, keep the notice general and avoid a definitive 'nothing found' across both. The product decision is how much reliable evidence to show, not how reassuring the empty panel looks.

Design the return path for research

A reader may spend several successive searches learning how a collection is described. In the fictional furniture archive, they might search a maker, choose a decade, get no results, widen the decade, inspect a record and come back. At each return, check which search has to be reconstructed. If Back from the object page brings back the widened results with the words and decade intact, the reader can continue comparing. If Back takes them to a fresh search box, they have to remember details the site was already showing. An empty term after returning is not a fresh start when the reader is halfway through an investigation.

Sharing adds a different question. An editor who copies an empty result to report a missing record may expect a colleague to see the same query and scope. That expectation is easier to meet for public catalogue terms than for a private search field where readers might enter personal details. Decide which state can accompany a shared address and where search state should remain local to the visit. Where a URL cannot or should not restore every constraint, avoid telling the reader that copying it reproduces the whole search. Give internal reviewers a clear, separate way to describe the inputs needed to reproduce a problem.

Include the transition out of the empty state in your review notes. In the radio example, first record the submitted words and filters, then the recovery chosen, then the scope after returning. There can be a reasonable difference between returning from a result, undoing a filter change and leaving for an unrelated browse section. Describe the expected behaviour for each before deciding which history mechanism to use. The state should match what the reader thinks they are going back to, including the explanation of why the earlier search returned nothing.

Write fixtures around what is known

Prepare an editorial check with a few controlled cases. For exact zero, use a made-up title that should not be in the sample index. For wider scope, choose a real fixture that exists in one known collection but not in the current one. For an alias, include a record whose name can be looked up through a deliberate synonym. Record where the answer is supposed to come from. Testing a mysterious word against changing production data can tell you that the page has a zero state, but won't tell you whether its explanation is true.

Then rehearse the tempting false positives. Start on an archive page where search is implicitly scoped, make the secondary collection unavailable, and complete one older request after a newer one. Review the visible words as well as the underlying state: can the reader see which collection was searched, whether absence is confirmed, and how to retry without discarding the work? In the partial case, follow the proposed fallback and verify that it opens a page the reader can use for the task. A sensible name for a destination doesn't compensate for an irrelevant destination.

Put the final copy beside the evidence each branch requires. 'No results in this programme' needs a completed search in the displayed programme; 'Browse all programmes' needs an actual browse destination; a numerical promise needs results for the wider request. Mark anything the archive cannot yet establish and choose wording that leaves the uncertainty intact. That gives editors a place to revise the copy when coverage changes and gives engineers a way to check whether a new branch has accidentally turned a service error into a claim about the collection.