Sub topic 11
Making Onboarding Accessible
Assume you understand screens, forms, buttons, and product-analytics events. This chapter focuses on applying accessibility to onboarding flows for web and mobile apps. Accessibility means designing so people with different abilities, devices, and input methods can complete the same task.
Start with a usable flow
An accessible onboarding flow must work with:
- A keyboard or switch device instead of a pointer.
- A screen reader, which reads interface content aloud or sends it to a refreshable display.
- Zoom and large text.
- High-contrast settings.
- Reduced-motion settings.
- Touch input with limited precision.
Accessibility is not a final visual check. It affects the flow model, copy, focus order, error handling, and component choices.
Use one clear heading for each step. Give every form control a visible label. Make the current step clear without relying on color alone. For example, write “Step 2 of 4: Connect your calendar,” rather than showing only a colored progress bar.
Manage focus between steps
When onboarding changes the visible content, move keyboard focus to the new step heading or the first meaningful control. Otherwise, a keyboard user may remain focused on a button that no longer exists. A screen-reader user may hear no indication that the page changed.
Use a live region for short status messages. A live region is an element whose updated text can be announced automatically by assistive technology.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Accessible onboarding step</title>
<style>
:focus-visible {
outline: 3px solid #005fcc;
outline-offset: 3px;
}
.status {
min-height: 1.5rem;
}
</style>
</head>
<body>
<a href="#main">Skip to onboarding</a>
<main id="main">
<p>Step 1 of 2</p>
<h1 id="step-title" tabindex="-1">Tell us your name</h1>
<p id="step-help">You can change this later.</p>
<form id="onboarding-form">
<label for="name">Your name</label>
<input id="name" name="name" required aria-describedby="step-help">
<button type="submit">Continue</button>
</form>
<p class="status" role="status" aria-live="polite"></p>
</main>
<script>
const form = document.querySelector("#onboarding-form");
const title = document.querySelector("#step-title");
const status = document.querySelector(".status");
form.addEventListener("submit", (event) => {
event.preventDefault();
if (!form.reportValidity()) return;
status.textContent = "Name saved. Step 2 of 2 is ready.";
title.textContent = "Choose your preferences";
title.focus();
});
</script>
</body>
</html>The tabindex="-1" value lets JavaScript focus the heading without adding it to the normal Tab sequence. The focus indicator remains visible because the CSS does not remove the browser outline.
Design errors and controls carefully
Associate each error with its control. Explain what went wrong and how to fix it in plain language. Do not identify errors only with a red border or an icon. Preserve the entered value when validation fails.
Avoid automatically advancing after a user makes a choice unless the change is obvious and reversible. Unexpected navigation can disorient screen-reader and keyboard users.
The Web Content Accessibility Guidelines (WCAG) provide testable accessibility criteria. Use them as a baseline, then test with real users and the assistive technologies common among your audience.
| Area | Practical check |
|---|---|
| Keyboard | Every action is reachable and operable with visible focus |
| Screen reader | Headings, labels, status messages, and errors are announced |
| Visual design | Text remains readable with zoom, contrast, and large fonts |
| Motion | Animations can be disabled and do not block completion |
Check the flow as a state change
Exercise
A new onboarding step appears after a user activates Continue. What two accessibility behaviors should the implementation provide?
Show answer
It should announce the change or outcome, and it should move focus to a meaningful element in the new step, such as its heading or first control.