0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/site/content/docs/5.0/components
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
..
accordion.md Replace Lorem Ipsum placeholder text with more representative (or at least english language) text (#32246) 2020-12-11 20:05:33 +00:00
alerts.md Add bs in data attributes 2020-11-14 07:09:15 +02:00
badge.md Contrast colors added to theme-colors (#30044) 2020-10-31 08:21:31 +02:00
breadcrumb.md docs(examples): new cheatsheet and RTL examples 2020-12-04 07:52:03 +02:00
button-group.md docs(examples): new cheatsheet and RTL examples 2020-12-04 07:52:03 +02:00
buttons.md docs(examples): new cheatsheet and RTL examples 2020-12-04 07:52:03 +02:00
card.md Update docs for color and bg utilities 2021-02-03 07:15:49 +02:00
carousel.md Make carousel indicators actual buttons 2021-01-28 23:32:24 +02:00
close-button.md Update btn-close-white docs to filter (not backdrop-filter) (#31796) 2020-09-30 14:57:00 +03:00
collapse.md Tweak the wording for collapse to indicate button is preferred/more semantic (#32632) 2021-01-05 21:53:50 +02:00
dropdowns.md Fix boundary config description for dropdown and popover (#32979) 2021-02-04 07:26:32 +02:00
list-group.md Replace Lorem Ipsum placeholder text with more representative (or at least english language) text (#32246) 2020-12-11 20:05:33 +00:00
modal.md Replace Lorem Ipsum placeholder text with more representative (or at least english language) text (#32246) 2020-12-11 20:05:33 +00:00
navbar.md Update docs for color and bg utilities 2021-02-03 07:15:49 +02:00
navs-tabs.md Dynamic tabs: use buttons rather than links (#32630) 2021-02-09 07:23:45 +02:00
pagination.md Remove redundant visually hidden "(current)" from pagination controls (#31892) 2020-10-14 11:59:43 +01:00
popovers.md Add a note to change the case type of option name (#32995) 2021-02-08 16:55:47 +02:00
progress.md Add bs in data attributes 2020-11-14 07:09:15 +02:00
scrollspy.md Replace Lorem Ipsum placeholder text with more representative (or at least english language) text (#32246) 2020-12-11 20:05:33 +00:00
spinners.md docs(examples): new cheatsheet and RTL examples 2020-12-04 07:52:03 +02:00
toasts.md Update docs for color and bg utilities 2021-02-03 07:15:49 +02:00
tooltips.md Add a note to change the case type of option name (#32995) 2021-02-08 16:55:47 +02:00