From dba6278580ac285019ab6f9d49f247a8888b8edc Mon Sep 17 00:00:00 2001 From: jckautzmann Date: Thu, 2 Apr 2020 16:15:35 +0200 Subject: [PATCH] [Carousel][Accessibility] Previous and next buttons do not alert screen reader users (#970) Define a live region to make the screen reader inform about the slide title --- .../apps/core/wcm/components/carousel/v1/carousel/carousel.html | 1 + 1 file changed, 1 insertion(+) diff --git a/content/src/content/jcr_root/apps/core/wcm/components/carousel/v1/carousel/carousel.html b/content/src/content/jcr_root/apps/core/wcm/components/carousel/v1/carousel/carousel.html index d91ea3f9dd..3889e58785 100644 --- a/content/src/content/jcr_root/apps/core/wcm/components/carousel/v1/carousel/carousel.html +++ b/content/src/content/jcr_root/apps/core/wcm/components/carousel/v1/carousel/carousel.html @@ -18,6 +18,7 @@ class="cmp-carousel" role="group" aria-label="${carousel.accessibilityLabel}" + aria-live="polite" aria-roledescription="carousel" data-cmp-is="carousel" data-cmp-autoplay="${(wcmmode.edit || wcmmode.preview) ? '' : carousel.autoplay}"