Skip to content

Commit 9ef3c06

Browse files
committed
fix(a11y): change slide role to group
1 parent 3a2d2f0 commit 9ef3c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/Carousel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function CarouselSlide({ slide, offset }: CarouselSlideProps) {
9393
)}
9494
{...makeInertWhen(offscreen)}
9595
style={style}
96-
role="region"
96+
role="group"
9797
aria-roledescription={translateLabel(labels, "Slide")}
9898
aria-label={translateSlideCounter(labels, slides, currentIndex + offset)}
9999
>

0 commit comments

Comments
 (0)