From e66d50737a4baebb9703beba956353434ff82398 Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Mon, 25 May 2026 14:27:11 +0200 Subject: [PATCH] fix(a11y): announce invite-token banner via role=status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Du registrerer deg med en invitasjonslenke" banner that appears when arriving at signup via /invite/ was a plain
— a screen reader would read it in document order with no special treatment. role="status" turns it into a polite live region so AT users hear it as a contextual announcement when the signup view loads with an invite attached. Surfaced by /audit a11y (semantic structure lens). --- frontend/src/components/Signup.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Signup.svelte b/frontend/src/components/Signup.svelte index b8273f8..ca08816 100644 --- a/frontend/src/components/Signup.svelte +++ b/frontend/src/components/Signup.svelte @@ -74,7 +74,9 @@

Opprett konto

{#if inviteToken} - + + {/if}

Vi krypterer alt du markerer som privat i nettleseren din. Serveren