fix(a11y): restore keyboard access to forgot-password, add role=alert to error

This commit is contained in:
Jason Staack
2026-03-15 21:08:19 -05:00
parent 9ce4c9aa60
commit bf2002f8be

View File

@@ -148,7 +148,6 @@ function LoginPage() {
<Link
to="/forgot-password"
className="text-xs text-text-muted hover:text-accent"
tabIndex={-1}
>
Forgot password?
</Link>
@@ -209,7 +208,7 @@ function LoginPage() {
)}
{error && (
<div className="rounded-md bg-error/10 border border-error/30 px-3 py-2" data-testid="login-error">
<div className="rounded-md bg-error/10 border border-error/30 px-3 py-2" data-testid="login-error" role="alert">
<p className="text-xs text-error">{error}</p>
</div>
)}