@@ -79,9 +79,9 @@ You can also add the indicators to the carousel, alongside the controls, too.
79
79
{{< example >}}
80
80
<div id =" carouselExampleIndicators " class =" carousel slide " data-bs-ride =" carousel " >
81
81
<div class =" carousel-indicators " >
82
- <button data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-label="Slide 1"></button>
83
- <button data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
84
- <button data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2" aria-label="Slide 3"></button>
82
+ <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true " aria-label="Slide 1"></button>
83
+ <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
84
+ <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2" aria-label="Slide 3"></button>
85
85
</div >
86
86
<div class =" carousel-inner " >
87
87
<div class="carousel-item active">
@@ -112,9 +112,9 @@ Add captions to your slides easily with the `.carousel-caption` element within a
112
112
{{< example >}}
113
113
<div id =" carouselExampleCaptions " class =" carousel slide " data-bs-ride =" carousel " >
114
114
<div class =" carousel-indicators " >
115
- <button data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active" aria-label="Slide 1"></button>
116
- <button data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" aria-label="Slide 2"></button>
117
- <button data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2" aria-label="Slide 3"></button>
115
+ <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active" aria-current="true " aria-label="Slide 1"></button>
116
+ <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" aria-label="Slide 2"></button>
117
+ <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2" aria-label="Slide 3"></button>
118
118
</div >
119
119
<div class =" carousel-inner " >
120
120
<div class="carousel-item active">
@@ -241,9 +241,9 @@ Add `.carousel-dark` to the `.carousel` for darker controls, indicators, and cap
241
241
{{< example >}}
242
242
<div id =" carouselExampleDark " class =" carousel carousel-dark slide " data-bs-ride =" carousel " >
243
243
<div class =" carousel-indicators " >
244
- <button data-bs-target="#carouselExampleDark" data-bs-slide-to="0" class="active" aria-label="Slide 1"></button>
245
- <button data-bs-target="#carouselExampleDark" data-bs-slide-to="1" aria-label="Slide 2"></button>
246
- <button data-bs-target="#carouselExampleDark" data-bs-slide-to="2" aria-label="Slide 3"></button>
244
+ <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="0" class="active" aria-current="true " aria-label="Slide 1"></button>
245
+ <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="1" aria-label="Slide 2"></button>
246
+ <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="2" aria-label="Slide 3"></button>
247
247
</div >
248
248
<div class =" carousel-inner " >
249
249
<div class="carousel-item active" data-bs-interval="10000">
0 commit comments