0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/site
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
..
assets Add a live toast example to the docs (#32760) 2021-01-18 15:10:01 +02:00
content Carousel: use buttons, not links, for prev/next controls (#32627) 2021-01-27 17:31:16 +02:00
data Docs: add v4.6.0 (#32842) 2021-01-19 18:39:49 +02:00
layouts Add a link to v4.x from the v5 homepage (#32745) 2021-01-25 14:38:27 -08:00
static Revert v5.getbootstrap.com changes 2020-12-07 18:18:16 +02:00
.eslintrc.json Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 (#32902) 2021-01-26 15:53:26 +02:00