0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/js
Patrick H. Lauke 3aa3fda730
Carousel: use buttons, not links, for prev/next controls (#32627)
* Carousel: use buttons, not links, for prev/next

- expand the styles to neutralise border/background
- change docs page
- add extra unit test to check that links or buttons work as controls
- modify visual test to use buttons as well
- use buttons instead of links for prev/next
- remove `role="button"` from links that are actually links

* Clarify that controls can be button or link

* Update site/content/docs/5.0/components/carousel.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>

* Explicitly set padding to 0 to prevent dipping/moving on active in Firefox

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-27 17:31:16 +02:00
..
dist Dist 2020-12-07 18:18:16 +02:00
src modal: move common code to reusable functions (#32511) 2021-01-14 21:22:09 +02:00
tests Carousel: use buttons, not links, for prev/next controls (#32627) 2021-01-27 17:31:16 +02:00
index.esm.js Prepare v5.0.0-beta1. 2020-12-07 18:18:16 +02:00
index.umd.js Prepare v5.0.0-beta1. 2020-12-07 18:18:16 +02:00