Summary
Improve the existing OTP Module surface. This issue is intentionally scoped to existing app code and should not introduce a new standalone tool or unrelated feature.
Current area
OTP detection, OTP card rendering, copy behavior, expiry messaging, and OTP visual states
Relevant paths
- src/features/otp/detectOtp.ts
- src/features/otp/components/OTPCard.tsx
- src/features/otp/styles.css
Goal
tighten the current OTP detection and display experience around security-sensitive mail.
Work focus
Audit the existing surface for keyboard flow, focus order, visible focus, ARIA naming, reduced-motion behavior, and screen-reader clarity. Fix gaps in place without changing the core workflow.
Acceptance criteria
Scope guardrails
- Keep the work inside the relevant existing app/module paths above unless a small shared helper is clearly justified.
- Do not add a new V1/V2 tool folder for this issue.
- Do not use real user data, secrets, private keys, or live customer mail.
- Keep copy and UI aligned with the Stealth Mail safety, speed, and sender-control positioning.
Suggested validation
- Run the most relevant unit or e2e tests for the touched area.
- Run �un x tsc --noEmit and �un run lint when the local environment supports the project dependency install.
Summary
Improve the existing OTP Module surface. This issue is intentionally scoped to existing app code and should not introduce a new standalone tool or unrelated feature.
Current area
OTP detection, OTP card rendering, copy behavior, expiry messaging, and OTP visual states
Relevant paths
Goal
tighten the current OTP detection and display experience around security-sensitive mail.
Work focus
Audit the existing surface for keyboard flow, focus order, visible focus, ARIA naming, reduced-motion behavior, and screen-reader clarity. Fix gaps in place without changing the core workflow.
Acceptance criteria
Scope guardrails
Suggested validation