# Onboarding UI is accessible to users with disabilities

- **Pattern:** `ab-002372` (`saas-onboarding.onboarding-ux.accessibility-of-onboarding`)
- **Severity:** critical
- **Lifecycle:** active
- **Last modified:** 2026-04-18
- **Canonical URL:** https://auditbuffet.com/patterns/ab-002372
- **License:** CC-BY-4.0 — attribute to AuditBuffet Pattern Catalog (https://auditbuffet.com/patterns/ab-002372)

## Why it matters

Inaccessible signup and onboarding flows violate WCAG 2.2 SC 1.3.1 (Info and Relationships), 2.1.1 (Keyboard), 2.4.3 (Focus Order), 2.4.11 (Focus Not Obscured), and Section 508 §502.3 — and expose the company to ADA Title III litigation risk in the US. Form fields without labels are unusable with a screen reader; missing `role="alert"` means error messages are invisible to assistive technology. These aren't cosmetic gaps: they legally and functionally exclude users with disabilities from your product at the first interaction.

## Severity rationale

Critical because inaccessible onboarding is both a legal exposure under ADA/Section 508 and a hard blocker for users who rely on screen readers or keyboard navigation to complete signup.

## Remediation

In `src/app/(auth)/signup/page.tsx`, associate every input with a visible label and link errors via `aria-describedby`:

```tsx
<div>
  <Label htmlFor="email">Email</Label>
  <Input
    id="email"
    type="email"
    aria-describedby={emailError ? "email-error" : undefined}
  />
  {emailError && (
    <p id="email-error" role="alert" className="text-destructive text-sm">
      {emailError}
    </p>
  )}
</div>
```

Audit every `outline: none` in your global CSS — either remove it or add a visible `:focus-visible` replacement. For modal dialogs, use a focus trap library (`focus-trap-react`) so keyboard users can't tab outside the dialog.

## Detection

**The detection method for this pattern is part of AuditBuffet Pro.**

The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the [Onboarding UX Audit](https://auditbuffet.com/audits/saas-onboarding). The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.

## External references

- wcag 1.3.1
- wcag 2.1.1
- wcag 2.4.3
- wcag 2.4.11
- section-508 502.3

Taxons: accessibility

HTML version: https://auditbuffet.com/patterns/ab-002372
