0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/site/content/docs/5.0
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
..
about docs(examples): new cheatsheet and RTL examples 2020-12-04 07:52:03 +02:00
components Dynamic tabs: use buttons rather than links (#32630) 2021-02-09 07:23:45 +02:00
content docs: Add system-ui to native font stack documentation (#32455) 2020-12-15 09:10:09 +02:00
customize Fix default value for $enable-deprecation-messages (#32940) 2021-02-03 21:40:05 +02:00
examples Make carousel indicators actual buttons 2021-01-28 23:32:24 +02:00
extend Document some basic code conventions for us (#32778) 2021-01-13 21:06:07 +02:00
forms Update checks and radios in input groups (#32912) 2021-01-28 11:39:36 +02:00
getting-started Clarifies Sass variable defaults, adds bootstrap-npm-starter callout (#32795) 2021-01-14 16:21:21 -08:00
helpers Update docs for color and bg utilities 2021-02-03 07:15:49 +02:00
layout Fix typo (#32740) 2021-01-09 13:06:41 -08:00
utilities Update docs for color and bg utilities 2021-02-03 07:15:49 +02:00
_index.html Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
migration.md Dropdown — Emit events on the .dropdown-toggle button (#32625) 2021-02-03 21:51:19 +02:00