+
{this.items.map(itemInfo =>
@@ -105,5 +106,5 @@ function navIndicator(this: Carousel) {
{this.selectedIndexToShow} {this.ofText} {this.pagesCount}
;
+ >{this._currentSlideIndex + 1} {this.ofText} {this.pagesCount}
;
}
diff --git a/packages/main/src/themes/Carousel.css b/packages/main/src/themes/Carousel.css
index 9f87a8d65aa8..ec9b5fdcd90d 100644
--- a/packages/main/src/themes/Carousel.css
+++ b/packages/main/src/themes/Carousel.css
@@ -8,8 +8,8 @@
height: 100%;
}
-:host([desktop]) .ui5-carousel-root:focus,
-.ui5-carousel-root:focus-visible {
+:host([desktop]) .ui5-carousel-item:focus,
+.ui5-carousel-item:focus-visible {
outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
}
diff --git a/packages/main/test/pages/Carousel.html b/packages/main/test/pages/Carousel.html
index 9bfb1a10a37e..41f31caccf7b 100644
--- a/packages/main/test/pages/Carousel.html
+++ b/packages/main/test/pages/Carousel.html
@@ -155,7 +155,7 @@
-
+
Template Based Segmentation
@@ -164,7 +164,7 @@
-
@@ -177,7 +177,7 @@
-
+
@@ -187,7 +187,7 @@
-
+
Template Based Segmentation
@@ -196,7 +196,7 @@
-
@@ -209,7 +209,7 @@
-
+
@@ -219,7 +219,7 @@
-
+
Template Based Segmentation