Skip to content

Commit

Permalink
fix: aria role listitem not applied to other slides
Browse files Browse the repository at this point in the history
fixes #3269
  • Loading branch information
[email protected] committed Aug 2, 2024
1 parent 83131c2 commit a2c9a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block/carousel/frontend-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ class _StackableCarousel {
this.liveregion.setAttribute( 'class', 'liveregion stk--hidden' )
this.wrapper.appendChild( this.liveregion )

this.fixChildrenAccessibility() // This needs to be first before infinte scrolling clones slides.
this.initProperties()
this.addEventListeners()
this.fixChildrenAccessibility()
this.fixAccessibility( this.currentSlide )
this.setDotActive( this.currentSlide )

Expand Down

0 comments on commit a2c9a49

Please sign in to comment.