Skip to content

Commit

Permalink
[Carousel][Accessibility] Previous and next buttons do not alert scre…
Browse files Browse the repository at this point in the history
…en reader users (#970)

Define a live region to make the screen reader inform about the slide title
  • Loading branch information
jckautzmann committed Apr 2, 2020
1 parent de6288c commit dba6278
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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}"
Expand Down

0 comments on commit dba6278

Please sign in to comment.