Australian Website Design Measured figures. Named sources.
Menu Close

Error states and empty states in web design

Every website eventually shows a visitor a page with nothing on it, or a message saying something went wrong. Whether that moment is designed or left to the software's default is a design decision briefs rarely mention.

Design

Error states and empty states are the parts of a design brief that get skipped. What they are, and what to ask a supplier before they're built.

Every website eventually shows a visitor a page with nothing on it, or a message telling them something has gone wrong. A search with no results, a form that failed to submit, a page that no longer exists, a blog with no posts yet. Whether that moment has been deliberately designed, or is whatever the underlying software shows by default, is a genuine design decision — the one consistently missing from a design brief, because it is easy to plan for the site working and easy to forget to plan for the moments it does not. This page sits inside the design section.

Why empty states and error states matter more than their frequency suggests

An error or empty state is, by definition, a moment where something has not gone as the visitor expected, which makes it a tense moment before any design choice is made about it. A generic, unhelpful message at that point — a plain “404 error” with no further guidance, a blank white page where search results belong — compounds the tension rather than resolving it. It is the last thing a frustrated visitor sees before leaving the site entirely, rather than trying again.

A well-designed error or empty state recovers the moment almost completely. A 404 page that explains the page moved, and offers a search box or a link back to the homepage, turns a dead end into a redirected visit rather than a lost one.

The empty and error screens a business site actually needs (not placeholder starter content)

Five states recur on a business site: the 404 page, empty search or filter results, empty content sections at launch, form submission failure, and loading states. Each has a designed version and a neglected default.

The 404, page-not-found state happens whenever a link is mistyped, an old bookmark is followed, or a page is removed during a site update. A good version explains plainly that the page was not found, offers a link to the homepage or a search box, and matches the rest of the site’s design rather than showing a generic server message.

Empty search or filter results deserve more than a blank space. A visitor searching a product catalogue or filtering a service list who gets zero results is served better by a message suggesting a broader search, or a link to browse everything, which keeps them on the site rather than assuming it is broken.

The empty blog, gallery or portfolio appears when a brand-new site launches with sections that are structurally ready but hold no content yet. A “Coming soon” message, or a graceful hidden state, is the difference between a site that looks intentionally new and one that looks abandoned mid-build. A visibly empty grid with placeholder Lorem Ipsum starter content still in it does not achieve that.

Form submission failure is one specific, high-stakes version of this same problem: what a visitor sees when a form fails to submit, and whether it is clear what to do next. It is covered in more detail on forms that get filled in.

Loading and “nothing has happened yet” states occur when a button is clicked with no visible response — no loading indicator, no confirmation — leaving a visitor unsure whether to click again, wait, or assume it failed. A brief, simple loading indicator resolves that ambiguity cheaply.

A short checklist for designers, and the action a brief omits

Five questions to a supplier cover the states a brief skips, one per row in the table below.

StateQuestion to ask a supplier
404 / page not foundDoes it match the site design, or is it the framework’s generic default?
Empty search resultsDoes it suggest a next step, or just show nothing?
Empty content sectionsIs there a plan for launch day, when whole sections have no content yet?
Form errorsIs the message specific to what went wrong, and where the visitor needs to look?
Slow-loading actionsIs there any visible indicator something is happening?

Why this gets skipped, and whose job it actually is to protect users

Error and empty states get skipped because a design concept, by its nature, shows the site working — a homepage full of content, a form ready to be filled in, a gallery full of images. Designers rarely mock up what the site looks like when a visitor searches for something that does not exist, because an empty state is not the exciting part of the project to present. That is exactly why error states and empty states need to be asked about directly rather than assumed to be covered.

Certain states sit closer to development than to visual design — what happens technically when a form fails involves both the visible message and the underlying handling of the failure. Web development services covers the engineering side of a build, including this kind of edge-case handling. A well-scoped project treats error states and empty states as a shared responsibility between the designers and the build team, rather than either side assuming the other has it covered.

What to ask before a build is signed off, including loading and onboarding states

Two requests before sign-off surface these states: ask to see the 404 page, and ask what a brand-new section looks like with no content in it yet. Ask for that empty section as an actual screen to look at, not hypothetically. If a supplier has not thought about either, raise it before launch. The alternative is discovering it the first time a customer mistypes a web address and lands on a page that looks like the site is broken.

Redirects: the difference between a planned error state and a broken one

A 404 from a page deliberately removed or renamed during a redesign is a different situation from one caused by a mistyped link, and it deserves a redirect rather than a generic not-found message. A proper redirect from the old address to its new equivalent handles the planned case, rather than a not-found message standing in for an automatic handover that never happened. A site migrating from an old structure to a new one, without mapping its old addresses to new ones, is manufacturing hundreds of avoidable error states out of pages that used to work perfectly well. That redirect mapping is squarely a development responsibility rather than a design one — worth raising directly during any redesign or platform move.

Why a launch date makes these states more likely, not less

A launch date makes empty and error states more likely to be visible to real visitors, because content population is still catching up when a site goes live. Early visitors are disproportionately likely to hit a section that is not fully populated yet. Plan for that in advance: decide which sections stay hidden until they are ready, rather than shown half-finished. That small amount of extra design thinking prevents a site’s first real visitors forming an impression based on its least complete moment.

A note on tone: error state and empty state copy, not just function

An error or empty state is a small brand moment, whether or not a business thinks of it that way. A blunt, cold “Error 404: Not Found” reads differently from a message written in the business’s own voice, briefly acknowledging the dead end and pointing somewhere useful. Writing the second version instead of accepting the first as an unavoidable default costs nothing extra. It is one of the smallest, cheapest pieces of genuine care a website shows a visitor at the exact moment something has gone slightly wrong for them.