Announces manual hero slide changes and adds a pause button
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:
@@ -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)
|
||||
Reference in New Issue
Block a user