Course contentsShow
← Web Development
Lesson 932 of 2,98216. Forms and ValidationFree lesson

Multi-Step Form Navigation

Creating accessible wizards with progress indicators, step labels, and proper heading structure.

Multi-Step Form Navigation

You'll learn how to build wizards and multi-step forms that guide users through complex processes without losing them along the way.

What Are Multi-Step Forms?

Multi-step forms (also called wizards) break long forms into smaller, manageable chunks. Think of it like climbing a mountain with marked trails—you need to know where you are, where you're going, and how far you've come.

Creating Accessible Wizards

When building multi-step forms, accessibility means providing clear navigation for everyone:

Heading Structure

Use proper heading hierarchy to mark each step. Your form's title should be an <h1>, and each step title should be an <h2>:

<form>
  <h1>Account Registration</h1>
  
  <section aria-labelledby="step1">
    <h2 id="step1">Step 1: Personal Information</h2>
    <!-- Step 1 fields -->
  </section>
</form>

Progress Indicators

Show users where they are in the process with both visual and text indicators:

<div role="group" aria-label="Form progress">
  <p aria-live="polite">Step 2 of 4: Contact Details</p>
  <ol>
    <li aria-current="false">Personal Info</li>
    <li aria-current="step">Contact Details</li>
    <li>Preferences</li>
    <li>Review</li>
  </ol>
</div>

Step Labels

Use descriptive labels, not just "Step 1, Step 2." Names like "Personal Info," "Payment," and "Confirmation" help users understand the journey.

Navigation Controls

Clearly label buttons as "Previous," "Next," or "Submit" rather than generic "Back"/"Continue." Add aria-label when context isn't obvious: <button aria-label="Go to previous step">Previous</button>.

Why It Matters

Screen reader users navigate by headings and landmarks. Progress indicators announced via aria-live keep them oriented. Clear labels prevent confusion about where to go next.

Key Takeaway: Accessible multi-step forms combine proper heading structure, descriptive progress indicators, clear step labels, and explicit navigation controls to guide all users through complex processes.