From 3afe9f935bd922cc8ed380e2c5fb75651ce84e3d Mon Sep 17 00:00:00 2001 From: SivertEikrem Date: Wed, 25 Nov 2026 15:40:44 +0100 Subject: [PATCH 1/3] Add the manual VoiceOver run to the results (#113) --- docs/screen-reader.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/screen-reader.md b/docs/screen-reader.md index 6153ec2..f297bea 100644 --- a/docs/screen-reader.md +++ b/docs/screen-reader.md @@ -80,7 +80,7 @@ For each step, write down what VoiceOver says if it differs from the expected re | Date | How | Browser and screen reader | Result | | ----------- | ------------------------------ | ----------------------------------- | ------------------------------------------------------------- | | 16 Nov 2026 | Automated, `npm run voiceover` | WebKit 27.2 + VoiceOver, macOS 26.6 | 11 of 15 steps passed. See the [report](voiceover-report.md). | -| | By hand | Safari + VoiceOver (macOS) | Not run yet | +| 25 Nov 2026 | By hand, on the VM | Safari + VoiceOver (macOS) | Steps 1–5 and 15 passed. Step 4: the name by hand, the rest checked in the code. Steps 6–14 not run by hand. Found: empty required fields are read as «kreves, ugyldige data». | ## What the VoiceOver run found @@ -97,7 +97,9 @@ The four steps that failed, and what they mean: | 2. Tab from the top | Tab went to the search field, not to «Hopp til hovedinnhold». | Safari's default: Tab skips links unless «Press Tab to highlight each item» is on, or the user presses Option + Tab. VoiceOver users move with VO + arrows, where the skip link is the first item (step 1). Not a bug in the app. | | 3. Search and press Enter | VoiceOver read «Viser 18 av 18 viner for «pinot»», but the h1 «Utforsk viner» was not recorded. | The h1 gets focus (the e2e test checks it, and step 6 hears it). The live region probably cut the heading off, or the script missed a short phrase. Check by hand. | | 5. Tick «Rødvin» | «unchecked» was heard, but from moving focus to the box before Space. After Space only the new number of hits was recorded. | The script is too strict. In the dialog (step 14) VoiceOver says «checked, Rødvin, 11 viner» after Space, so the state is read. Check by hand in the sidebar. | -| 15. Offline | The banner «Du er frakoblet» was not recorded. The error «Du er ikke koblet til internett» and «Du er på nett igjen.» were. | The user is told about the problem when it matters. Check by hand whether the banner is announced when the network goes. | +| 15. Offline | The banner «Du er frakoblet» was not recorded. The error «Du er ikke koblet til internett» and «Du er på nett igjen.» were. | The user is told about the problem when it matters. Check by hand whether the banner is announced when the network goes. + +Checked by hand on 25 November 2026: steps 3, 5 and 15 work. In step 2, Tab goes to the second link, because VoiceOver already stands on the skip link when the page loads. Shift + Tab reaches it, and Enter goes to the main content. | Not fixed yet: From 5a98e304f079e3f815192df43e6f989d53967a73 Mon Sep 17 00:00:00 2001 From: SivertEikrem Date: Wed, 25 Nov 2026 16:02:00 +0100 Subject: [PATCH 2/3] Stop VoiceOver from reading empty required fields as invalid (#113) --- docs/screen-reader.md | 4 ++-- frontend/src/features/auth/components/AuthForm.test.tsx | 9 ++++++++- frontend/src/features/auth/components/AuthForm.tsx | 4 ++-- .../src/features/wine/components/ReviewForm.test.tsx | 6 +++++- frontend/src/features/wine/components/ReviewForm.tsx | 3 +++ 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/docs/screen-reader.md b/docs/screen-reader.md index f297bea..2b1fdb2 100644 --- a/docs/screen-reader.md +++ b/docs/screen-reader.md @@ -88,6 +88,8 @@ Fixed: - **Lists were not read as lists.** Safari and VoiceOver ignore the list role on a `