From 9bf8cf831d9055e2999f5055685bab7856bf256a Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 18 May 2026 14:02:24 +0200 Subject: [PATCH] fix(login): add role=alert to error divs; fix clock icon color to red MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regular error div was missing role="alert" — screen readers did not announce it on dynamic display. Rate-limited clock icon used text-ink-3 (muted grey) instead of text-red-600, visually inconsistent with the surrounding error text. Also removes the erroneous aria-invalid="true" from the rate-limit alert div (not a permitted attribute on role=alert). Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/login/+page.svelte | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/routes/login/+page.svelte b/frontend/src/routes/login/+page.svelte index 540d69b6..622e2227 100644 --- a/frontend/src/routes/login/+page.svelte +++ b/frontend/src/routes/login/+page.svelte @@ -108,7 +108,6 @@ let { {#if form?.error} {#if form?.rateLimited} {:else} -
{form.error}
+ {/if} {/if}