From cf45072f27516e8febcc16fc2920bc5ecd9e90df Mon Sep 17 00:00:00 2001 From: Cesar Alcazar Date: Mon, 19 Oct 2026 22:31:56 -0600 Subject: [PATCH] vzxipsule: Silence the carousel live region while it rotates and pause it on keyboard focus --- docs/minnect-feed-redesign.spec.md | 5 +++-- src/components/FeaturedCarousel.tsx | 25 +++++++++++++++++------ src/components/featured-carousel-model.ts | 10 +++++++++ tests/featured-carousel.test.ts | 20 +++++++++++++++--- 4 files changed, 49 insertions(+), 11 deletions(-) diff --git a/docs/minnect-feed-redesign.spec.md b/docs/minnect-feed-redesign.spec.md index 48c3c4e..f29e0de 100644 --- a/docs/minnect-feed-redesign.spec.md +++ b/docs/minnect-feed-redesign.spec.md @@ -130,7 +130,8 @@ A compact spotlight that moves on its own. Nobody has to click or swipe. These a - Every 2.8 seconds the next expert moves to the center with a 1.1s ease. - Below: the name in serif, the byline, the rating and review count. The caption fades up on each change. - Progress dots: the active one is a crimson bar. A counter ("3 / 10") sits in the panel header. -- Hover pauses the rotation. `prefers-reduced-motion` stops autoplay. +- Hover, or keyboard focus inside the carousel, pauses the rotation. `prefers-reduced-motion` stops autoplay. +- Live region (WAI-ARIA carousel pattern): `aria-live="off"` while autoplay is rotating, so slides are not announced every 2.8 seconds; `aria-live="polite"` when rotation is paused (hover or focus) or stopped (reduced motion, or a single expert). ### Trending minnects @@ -198,7 +199,7 @@ All sheets slide up from the bottom (450ms) over a dimmed, slightly blurred back - Every control is a real `