How to add a progress bar showing website completion

A progress bar gives visitors a clear visual signal about how far they have moved through a task, form, setup wizard or page-building process. It can show completion as a percentage, indicate the current step, or reassure someone that a submission is still being processed.

For a simple parked domain or temporary GoDaddy page, a progress indicator may be useful during development rather than on the public holding page. Once a website has a real purpose, the same component can support onboarding, checkout, registration, surveys and multi-page forms across Australian audiences.

Choose the right kind of progress indicator

A website completion bar usually falls into one of three categories. A determinate bar displays measurable progress, such as “Step 3 of 5” or “60% complete”. An indeterminate indicator appears when the duration is unknown, such as while a server is processing an upload. A page scroll indicator shows how far a visitor has moved through an article.

Use a determinate progress bar when the website knows the number of stages. A form asking for contact details, delivery information and payment can provide a reliable step count. Avoid displaying a precise percentage when the underlying process is uncertain, because an inaccurate estimate can make the interface feel unreliable.

The label should explain what the bar represents. “Profile setup: 40% complete” is clearer than a coloured line without context. If each stage requires a different amount of work, “Step 2 of 4” may be more honest than claiming that the visitor is exactly halfway finished.

For a temporary landing page, a progress bar might communicate that a new website is being prepared. Keep the wording factual, such as “Website updates in progress”, and avoid suggesting that a full product or service is already available when the domain currently contains only a holding message.

Build the structure with accessible HTML

Start with semantic HTML rather than drawing the entire component with decorative elements. The native progress element is suitable when the browser can calculate a known value between zero and a maximum.

<label for="setup-progress">Website setup progress</label>
<progress id="setup-progress" value="40" max="100">40%</progress>
<p id="progress-status" aria-live="polite">Step 2 of 5</p>

The fallback text inside the progress element helps browsers or assistive technologies that do not display the control as expected. The nearby status message adds useful information for people who cannot interpret colour or position.

For a multi-step form, connect the progress display to the current stage. A visible label such as “Step 2 of 5: Business details” provides more useful context than a percentage. If the next step is unavailable because required information is missing, explain the reason beside the relevant field rather than silently leaving the bar unchanged.

Keep keyboard users in mind. The bar itself does not need to be interactive, so it should not receive focus unless it has a specific control function. Buttons for “Back” and “Continue” should have clear names, a visible focus style and a sensible tab order. Avoid making the progress indicator the only way to understand the user’s location.

Style the bar for clarity and responsive layouts

A progress bar can be styled with CSS while retaining its semantic meaning. Native browser rendering varies, so a custom wrapper often provides more consistent results across Chrome, Safari and mobile browsers.

<div class="progress-track" role="progressbar"
     aria-label="Website setup"
     aria-valuemin="0"
     aria-valuemax="100"
     aria-valuenow="40">
  <span class="progress-fill"></span>
</div>
.progress-track {
  width: 100%;
  height: 0.75rem;
  background: #e3e7ec;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 40%;
  height: 100%;
  background: #1769aa;
  transition: width 240ms ease;
}

When using ARIA, update aria-valuenow whenever the visual percentage changes. The accessible name should identify the process, while visible text can show the current step. Do not use colour alone to indicate success, warning or failure; pair it with text, an icon with an accessible label, or a change in page content.

Design for narrow screens common on Australian mobile networks and older devices. Set the bar to width: 100%, keep the surrounding text short and avoid requiring horizontal scrolling. A minimum height of around 8 to 12 pixels makes the indicator easier to see without taking over the page.

Check contrast in both normal and high-contrast display modes. A pale fill on a white background may look attractive in a design mock-up but disappear for many users. Respect reduced-motion preferences as well:

@media (prefers-reduced-motion: reduce) {
  .progress-fill {
    transition: none;
  }
}

Connect the bar to real website activity

A completion bar becomes useful when it reflects an actual state change. In a multi-step form, store the current step in JavaScript and update the percentage after validation succeeds. If there are five stages, a simple calculation is (currentStep / totalSteps) * 100.

const progress = document.querySelector('#setup-progress');
const status = document.querySelector('#progress-status');

function updateProgress(step, totalSteps) {
  const percentage = Math.round((step / totalSteps) * 100);
  progress.value = percentage;
  status.textContent = `Step ${step} of ${totalSteps}`;
}

Validate each stage before moving forwards. If a visitor reaches step three and then returns to step one, the indicator should reflect the current position without deleting their saved information. For longer forms, preserve data locally only when appropriate, and tell users whether their details are saved in the browser or sent to a server.

For file uploads, calculate progress from bytes sent rather than from page steps. The browser’s XMLHttpRequest or Fetch-based upload process can report the number of bytes transferred. Show an error state if the connection fails, and provide a retry control that does not force the user to start again.

A loading spinner is more appropriate when the duration cannot be calculated. For example, a payment gateway, account lookup or content-generation request may not expose a reliable percentage. In that situation, state what is happening and prevent duplicate submissions while the request is active.

Approach Best use Main benefit Common risk
Native progress element Known form or setup stages Strong semantic foundation Browser styling can vary
Custom ARIA progress bar Branded interfaces requiring consistent design Flexible appearance Attributes must stay synchronised
Step counter Multi-page forms and onboarding Clear location and expectations Does not show task effort
Upload progress bar Images, documents and media Reports actual transfer status Requires reliable event handling
Spinner or status message Unknown processing time Honest when duration is uncertain Can feel vague without useful wording

Match the experience to Australian users

A progress bar should work well for visitors using phones while commuting, shopping or managing tasks between appointments. Australian audiences may be spread across Sydney, Melbourne, Brisbane, Perth, Adelaide and regional areas, so performance matters even when a visitor is not using a fast office connection. Compress scripts, avoid unnecessary animation and make progress updates visible without requiring a page reload.

Use Australian conventions in related form fields. A postcode field should accept four digits, Australian states and territories should be named clearly, and dates should generally be presented in day-month-year order. If a checkout or registration journey displays currency, use Australian dollars where appropriate and format prices consistently.

The progress indicator should not encourage rushed decisions around payments, subscriptions or consent. Make fees, renewal terms and key conditions visible before the final action. For an Australian business collecting personal information, explain why information is needed and link to a current privacy notice. The Privacy Act 1988 and the Australian Privacy Principles may apply depending on the organisation and its activities.

Accessibility is also important under Australian law and professional practice. Follow WCAG principles by ensuring the indicator is perceivable, operable, understandable and robust. A clear text status, keyboard-friendly controls, adequate contrast and compatibility with screen readers are practical safeguards, whether the site serves a local café in Newcastle or customers nationwide.

Test completion states before publishing

Test the progress bar at the beginning, middle and end of the process. At zero, it should not look like a broken component. At the final step, it should reach 100% only after the task is genuinely complete. If the user submits information and the server is still processing it, use a separate status message instead of prematurely announcing completion.

Check the experience with JavaScript disabled where practical, and test slow connections through browser developer tools. The form should still explain the required action if the animated bar cannot load. Test on current desktop and mobile versions of Safari, Chrome and Firefox, along with different screen widths.

Use a screen reader to confirm that updates are announced at sensible times. Rapidly changing a live region can create noise, so announce meaningful changes such as a new step, a successful upload or a validation problem. Verify that pressing the browser back button does not produce a misleading step count or erase important information.

Analytics can help identify abandonment, but measure carefully. Record events such as reaching a stage or completing a form without collecting unnecessary personal details. If cookies, analytics tools or advertising technologies are used, provide the notices and controls required for the site’s audience and privacy obligations. A parked GoDaddy page generally needs far less tracking than a functioning customer portal.

Refine the component for trust and conversion

The best progress bar reduces uncertainty. Place it near the page title or form navigation, use a stable position across steps and keep the visual treatment consistent. A visitor should be able to identify the current stage immediately without interpreting an unfamiliar colour system.

Use encouraging but accurate microcopy. “Your application is 3 of 5 steps complete” gives a useful expectation, while “Almost done” may be misleading if several substantial tasks remain. When a process saves automatically, say so. When information is required before proceeding, identify the exact field and preserve completed entries.

Before making the feature public, review the full journey from the first page to the success confirmation. Confirm that the percentage, step label, button state, validation messages and server response all tell the same story. This consistency is especially important for government, health, finance and employment forms, where users may abandon a task if its status appears uncertain.

Add a semantic progress bar to the development version of the site, connect it to real steps or upload events, and test it with keyboard navigation, mobile screens and assistive technology. For a basic placeholder page, keep the component temporary and truthful; for a live Australian website, pair it with accessible form design, sensible privacy practices and clear completion messaging.