Loading and progress
Show immediate feedback for pending work, report measured progress when possible, and preserve the task context after failure.
What the guidance says
- Show content or a meaningful placeholder as soon as possible rather than leaving a blank view.
- Let people continue other work while background loading proceeds when the task allows it.
- Use determinate progress for known work and indeterminate progress when duration cannot be estimated.
- Let people cancel or pause long work when doing so is safe, and explain any loss of progress.
How to apply it on the web
- Keep layout stable with placeholders that resemble the shape of incoming content.
- Label progress and expose current value, minimum, maximum, and busy state to assistive technology.
- Place progress near the operation it describes and use consistent locations across related views.
- Replace loading state with success, error, or content and announce the change without unnecessary focus movement.
What to check
- Does something useful appear before all data is ready?
- Is progress determinate whenever the application knows the amount completed?
- Can assistive technology identify what is loading and when it finishes?
- Can people cancel safely, and are consequences explained before progress is lost?