Announces manual hero slide changes and adds a pause button
Continuous Integration / check (pull_request) Successful in 59s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 3m59s
Continuous Integration / deploy-production (pull_request) Skipped

Screen readers now hear the new photo after an arrow or swipe, while automatic
changes stay silent. A pause button bottom right lets visitors stop the slide
show, which hover and keyboard focus alone did not allow on touch screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-19 19:31:31 +02:00
co-authored by Claude Opus 5.5
parent 8f0f32261c
commit 46fb2f6b5c
11 changed files with 424 additions and 7 deletions
@@ -0,0 +1,11 @@
× meldt een wissel door de bezoeker met nummer en beschrijving 53ms
× blijft stil bij een automatische wissel 105ms
× pauzeert en hervat de diavoorstelling 81ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯
FAIL src/components/Hero/Hero.test.tsx > Hero > meldingen voor schermlezers > meldt een wissel door de bezoeker met nummer en beschrijving
TestingLibraryElementError: Unable to find an element by: [data-testid="hero-announcement"]
FAIL src/components/Hero/Hero.test.tsx > Hero > meldingen voor schermlezers > blijft stil bij een automatische wissel
TestingLibraryElementError: Unable to find an element by: [data-testid="hero-progress"]
FAIL src/components/Hero/Hero.test.tsx > Hero > pauzeknop > pauzeert en hervat de diavoorstelling
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Diavoorstelling pauzeren"
Tests 3 failed | 4 passed (7)