Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/tests
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2021-03-11 10:23:46 +0300
committerGitHub <noreply@github.com>2021-03-11 10:23:46 +0300
commite16b06929a92fd2d3a6c62e76b2af45820a93c9b (patch)
tree20463fdccd22d51c2b093233aef18151292c3153 /js/tests
parent7365592fbed590ae2ca6aa24b02d60a8f69c4299 (diff)
Manual backport of #32627 (#33165)
Carousel: use buttons, not links, for prev/next controls
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/visual/carousel.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/visual/carousel.html b/js/tests/visual/carousel.html
index 1907acf80c..6143487217 100644
--- a/js/tests/visual/carousel.html
+++ b/js/tests/visual/carousel.html
@@ -34,14 +34,14 @@
<img src="https://i.imgur.com/Nm7xoti.jpg" alt="Third slide">
</div>
</div>
- <a class="carousel-control-prev" href="#carousel-example-generic" role="button" data-slide="prev">
+ <button class="carousel-control-prev" data-target="#carousel-example-generic" type="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
- </a>
- <a class="carousel-control-next" href="#carousel-example-generic" role="button" data-slide="next">
+ </button>
+ <button class="carousel-control-next" data-target="#carousel-example-generic" type="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
- </a>
+ </button>
</div>
</div>