Fixes two accessibility gaps in the home page hero slider (bug fix, AI-DLC: aidlc-docs/bugs/hero-carousel-announce-and-pause/bug-fix.md).
What changes
Announcement: after an arrow click or swipe, screen readers hear the new photo, e.g. "Foto 2 van 8: Knusse newbornfoto met de familie". Automatic changes stay silent.
Pause button bottom right, mirroring the socials: pauses and resumes the slide show (WCAG 2.2.2). Its name switches between "Diavoorstelling pauzeren" and "Diavoorstelling afspelen". Hidden when there is no autoplay (reduced motion, one photo).
Resuming via the button also clears the hover/focus pause, so the click has a visible effect.
Verification
New tests fail before the fix and pass after it; full suite 118 tests, lint, format, typecheck and build clean.
Scripted browser check (headless Chrome) on a local preview: announcement after the arrow, silence after the automatic change, pause holds the slide, resume moves on.
To do before merge: test deploy and the owner's own screen reader check.
Fixes two accessibility gaps in the home page hero slider (bug fix, AI-DLC: aidlc-docs/bugs/hero-carousel-announce-and-pause/bug-fix.md).
## What changes
- **Announcement**: after an arrow click or swipe, screen readers hear the new photo, e.g. "Foto 2 van 8: Knusse newbornfoto met de familie". Automatic changes stay silent.
- **Pause button** bottom right, mirroring the socials: pauses and resumes the slide show (WCAG 2.2.2). Its name switches between "Diavoorstelling pauzeren" and "Diavoorstelling afspelen". Hidden when there is no autoplay (reduced motion, one photo).
- Resuming via the button also clears the hover/focus pause, so the click has a visible effect.
## Verification
- New tests fail before the fix and pass after it; full suite 118 tests, lint, format, typecheck and build clean.
- Scripted browser check (headless Chrome) on a local preview: announcement after the arrow, silence after the automatic change, pause holds the slide, resume moves on.
- To do before merge: test deploy and the owner's own screen reader check.
Generated with [Claude Code](https://claude.com/claude-code)
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>
The pause button only changed its name, which screen readers often do not read
for the focused button. The live region now also says when the slide show is
paused or plays again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes two accessibility gaps in the home page hero slider (bug fix, AI-DLC: aidlc-docs/bugs/hero-carousel-announce-and-pause/bug-fix.md).
What changes
Verification
Generated with Claude Code