0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/js/tests/visual
Patrick H. Lauke 96be06e32b
Dynamic tabs: use buttons rather than links (#32630)
* Dynamic tabs: use buttons rather than links

- change docs
- add mention that tabs should be <button> elements
- tweak styles to neutralise border and background

* Update js unit and visual test accordingly

- replace links with buttons
- make one specific test that uses links instead of buttons, as we still want to support it despite it being non-semantically appropriate
- Leaving a couple of tests for now. The test for removed tabs should be redone so that tabs are removed programmatically (as the approach of having that close button inside the link is invalid and broken markup). The test for dropdowns should be removed together we actually ripping out the handling for dropdowns in the tab.js code (arguably a breaking change, though we discouraged this for a few versions and effectively "deprecated" it)

* Add isolation:isolate to prevent focus being overlapped

https://github.com/twbs/bootstrap/pull/32630#issuecomment-756015766
2021-02-09 07:23:45 +02:00
..
alert.html Fix .close instances (#32152) 2020-11-14 08:16:30 +02:00
button.html Add bs in data attributes 2020-11-14 07:09:15 +02:00
carousel.html Make carousel indicators actual buttons 2021-01-28 23:32:24 +02:00
collapse.html Add bs in data attributes 2020-11-14 07:09:15 +02:00
dropdown.html Move "active" class from .nav-item to .nav-link (#32730) 2021-01-08 20:53:04 +02:00
modal.html Move "active" class from .nav-item to .nav-link (#32730) 2021-01-08 20:53:04 +02:00
popover.html Update to popper.js v2.x 2020-12-06 18:42:40 +02:00
scrollspy.html feat(RTL): implement RTL 2020-12-04 07:52:03 +02:00
tab.html Dynamic tabs: use buttons rather than links (#32630) 2021-02-09 07:23:45 +02:00
toast.html feat(RTL): implement RTL 2020-12-04 07:52:03 +02:00
tooltip.html Update to popper.js v2.x 2020-12-06 18:42:40 +02:00