bootstrap/js/tests/unit
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
..
dom Remove SelectorEngine.matches(). (#32339) 2020-12-07 19:10:20 +02:00
util Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00
.eslintrc.json Clean up lint rules (#30721) 2020-05-04 19:32:09 +03:00
alert.spec.js Switch to Jasmine's toBeInstanceOf matcher 2020-11-29 20:58:26 +02:00
button.spec.js Switch to Jasmine's toBeInstanceOf matcher 2020-11-29 20:58:26 +02:00
carousel.spec.js Carousel: use buttons, not links, for prev/next controls (#32627) 2021-01-27 17:31:16 +02:00
collapse.spec.js Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00
dropdown.spec.js Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00
jquery.spec.js tests: replace deprecated jQuery method (#32309) 2020-12-16 17:21:43 +02:00
modal.spec.js Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00
popover.spec.js Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00
scrollspy.spec.js Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00
tab.spec.js Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00
toast.spec.js Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00
tooltip.spec.js Throw a TypeError instead of the generic Error (#32585) 2021-01-13 22:13:30 +02:00