mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix(a11y): announce Login form-level error via role=alert
This commit is contained in:
@@ -425,7 +425,10 @@ export default function Login() {
|
|||||||
/* Main auth card */
|
/* Main auth card */
|
||||||
<div className="card">
|
<div className="card">
|
||||||
{error && (
|
{error && (
|
||||||
<div className="mb-4 rounded-xl border border-error-500/30 bg-error-500/10 px-4 py-2.5 text-sm text-error-400">
|
<div
|
||||||
|
role="alert"
|
||||||
|
className="mb-4 rounded-xl border border-error-500/30 bg-error-500/10 px-4 py-2.5 text-sm text-error-400"
|
||||||
|
>
|
||||||
{error}
|
{error}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user