Sub topic 7
Timing: Response-Time Thresholds and Progress Indication
Prerequisites and the timing problem
This chapter assumes that you understand basic web or mobile interfaces, controls and labels, and basic HTML and CSS. You should also be comfortable reading simple JavaScript event handlers.
When a person activates a control, the interface creates an expectation: something should happen next. The delay before the response affects whether the action feels reliable. A fast response can feel direct. A delayed response can feel broken, even when the system is still working.
Timing design has two parts:
- Response timing: how soon the interface acknowledges the action.
- Progress indication: how the interface communicates ongoing work and expected completion.
The interface should acknowledge an action before the user has to wonder whether it worked.
Response-time thresholds
A useful model uses approximate thresholds rather than exact rules:
| Delay | User experience | Appropriate interface response |
|---|---|---|
| Less than about 0.1 second | Feels immediate | Update the interface directly |
| About 0.1 to 1 second | Feels continuous | Show the result without unnecessary loading UI |
| About 1 to 10 seconds | Attention shifts to waiting | Show a busy state or progress indicator |
| More than about 10 seconds | The task feels interrupted | Show progress, remaining work, cancellation, or another task option |
These values describe perception, not browser requirements. Network speed, task importance, and user trust also matter. A financial transfer may need a clear confirmation even when it completes quickly. A search suggestion may need no spinner because the result normally appears almost at once.
The first response should be immediate. It can disable the activated button, change its label to “Saving…”, or show a status message. This tells the user that the system received the action.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Timed save</title>
<style>
button[disabled] { cursor: wait; opacity: 0.7; }
[role="status"] { min-height: 1.5rem; }
</style>
</head>
<body>
<button id="save" type="button">Save</button>
<p id="status" role="status" aria-live="polite"></p>
<script>
const save = document.querySelector("#save");
const status = document.querySelector("#status");
save.addEventListener("click", async () => {
save.disabled = true;
save.textContent = "Saving…";
status.textContent = "Saving your changes.";
try {
await new Promise(resolve => setTimeout(resolve, 2500));
save.textContent = "Saved";
status.textContent = "Your changes were saved.";
} catch {
save.disabled = false;
save.textContent = "Save";
status.textContent = "Saving failed. Try again.";
} finally {
if (save.textContent === "Saved") {
save.disabled = false;
}
}
});
</script>
</body>
</html>The disabled state prevents duplicate submissions. The status region gives screen-reader users the same timing information as sighted users. The example uses a delay to demonstrate the pattern; a real application would wait for the result of an operation such as fetch.
Choosing a progress pattern
Use the least complicated indicator that accurately describes the operation.
- No indicator: Use when the result appears within about one second.
- Busy indicator: Use when work is continuing but its duration cannot be estimated. A spinner or animated “Loading” label communicates activity, not completion time.
- Determinate progress: Use when the system can calculate completed work, such as “60% of a file uploaded.”
- Step progress: Use when the task has meaningful stages, such as “Uploading,” “Processing,” and “Complete.”
- Time estimate: Use only when the estimate is reasonably stable. A changing estimate can reduce trust.
- Cancel action: Offer cancellation when the operation is long, costly, or reversible.
A progress bar must not imply precision that the system does not have. If the application cannot know whether it is 40% or 70% complete, use an indeterminate indicator instead.
Feedback across an operation
A well-timed operation follows this sequence:
Do not replace meaningful feedback with animation alone. A moving spinner says that work is happening, but it does not say what is happening, how long it may take, or what the user can do next. Pair it with a short label when the context is unclear.
Audit timing decisions
For each action, ask:
- What is the earliest visible acknowledgement?
- Can the user tell whether the system received the action?
- Is the operation duration known well enough for progress percentage?
- Does the interface prevent accidental duplicate actions?
- What happens if the operation fails or never finishes?
- Can keyboard and assistive-technology users perceive the same state changes?
Timing is part of the interaction contract. Fast actions need little ceremony. Slow actions need visible state, honest progress, and a clear way to recover.
Exercise
A report usually takes 6 seconds, but its completion percentage cannot be calculated. What feedback should the interface provide?
Show answer
Acknowledge the request immediately, show an indeterminate busy state with a clear label such as “Generating report…”, prevent duplicate requests, and provide success and failure messages with a recovery action.