diff --git a/canvas/src/components/OnboardingWizard.tsx b/canvas/src/components/OnboardingWizard.tsx index a0d18bca..1bd68d6b 100644 --- a/canvas/src/components/OnboardingWizard.tsx +++ b/canvas/src/components/OnboardingWizard.tsx @@ -120,8 +120,20 @@ export function OnboardingWizard() { const currentStepIdx = STEPS.findIndex((s) => s.id === step); const currentStep = STEPS[currentStepIdx]; + // Screen-reader labels for each step (announced on step transitions) + const stepLabels: Record = { + welcome: "Onboarding step 1 of 4: Welcome", + "api-key": "Onboarding step 2 of 4: Configure your workspace", + "send-message": "Onboarding step 3 of 4: Send your first message", + done: "Onboarding complete", + }; + return ( -
+
{/* Progress bar */}
+ {/* Polite live region — announces step transitions to screen readers */} +
+ {stepLabels[step] ?? currentStep.title} +
+
{/* Step indicator */}