diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2021-03-11 10:23:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 10:23:46 +0300 |
commit | e16b06929a92fd2d3a6c62e76b2af45820a93c9b (patch) | |
tree | 20463fdccd22d51c2b093233aef18151292c3153 /js/tests | |
parent | 7365592fbed590ae2ca6aa24b02d60a8f69c4299 (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.html | 8 |
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> |