Skip to content

Commit 9b12864

Browse files
committed
fix: add focus indicators to previous and next button
1 parent fa440fb commit 9b12864

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/pluggableWidgets/carousel-web/src/ui/Carousel.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
align-items: center;
2424
}
2525

26+
.swiper-button-next:focus {
27+
outline: 2px solid #264ae5;
28+
outline-offset: 2px;
29+
}
30+
31+
.swiper-button-prev:focus {
32+
outline: 2px solid #264ae5;
33+
outline-offset: 2px;
34+
}
35+
2636
.swiper-slide img {
2737
display: block;
2838
width: 100%;

0 commit comments

Comments
 (0)