Context
On the auth form the error Alert is announced (role="alert" at src/pages/_Login.tsx line 363) but the success Alert one block below (line 369) has no role, so after a sign-up or "forgot password" submission the "check your email" / "reset link sent" confirmation is never announced. A non-sighted user gets no confirmation their action worked and may resubmit. (The reset-password and stats error alerts were handled in #53/#66; this is the Login success path they did not cover.)
Scope
- File:
src/pages/_Login.tsx, the success <Alert tone="success"> (around line 369).
- Add
role="status" (the correct polite-live role for a confirmation), mirroring the existing role="alert" on the error Alert.
- One-line markup change; no logic change.
Acceptance criteria
Context
On the auth form the error Alert is announced (
role="alert"atsrc/pages/_Login.tsxline 363) but the success Alert one block below (line 369) has no role, so after a sign-up or "forgot password" submission the "check your email" / "reset link sent" confirmation is never announced. A non-sighted user gets no confirmation their action worked and may resubmit. (The reset-password and stats error alerts were handled in #53/#66; this is the Login success path they did not cover.)Scope
src/pages/_Login.tsx, the success<Alert tone="success">(around line 369).role="status"(the correct polite-live role for a confirmation), mirroring the existingrole="alert"on the error Alert.Acceptance criteria
role="status".npm run lintandnpm run testpass; no visual change.