mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-02 14:24:19 +01:00
Migration update (#31278)
* Clarify screen reader changes * Add some docs and reboot notes to migration guide * Add mention of docs renaming of screen reader helper page * Mention null vars from navs PR at #31035 * Update migration.md Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
2d43e6476c
commit
8d89e0a14d
@ -11,8 +11,20 @@ toc: true
|
|||||||
|
|
||||||
### Sass
|
### Sass
|
||||||
|
|
||||||
- Renamed `.sr-only` and `.sr-only-focusable` to `.visually-hidden` and `.visually-hidden-focusable`.
|
- "Screen reader" classes are now "visually hidden" classes.
|
||||||
- Renamed `sr-only()` and `sr-only-focusable()` mixins to `visually-hidden()` and `visually-hidden-focusable()`.
|
- Changed the Sass file from `scss/helpers/_screenreaders.scss` to `scss/helpers/_visually-hidden.scss`
|
||||||
|
- Renamed `.sr-only` and `.sr-only-focusable` to `.visually-hidden` and `.visually-hidden-focusable`
|
||||||
|
- Renamed `sr-only()` and `sr-only-focusable()` mixins to `visually-hidden()` and `visually-hidden-focusable()`.
|
||||||
|
|
||||||
|
### Docs
|
||||||
|
|
||||||
|
- Renamed "Screen readers" helper page to "Visually hidden", and filename to `visually-hidden`
|
||||||
|
- Renamed "Checks" page to "Checks & radios", and filename to `checks-radios`
|
||||||
|
- Improved documentation of check/radio powered button groups
|
||||||
|
|
||||||
|
### Reboot
|
||||||
|
|
||||||
|
- Updated `th` styling to use a default `null` value for `font-weight` and inherit `text-align` instead of setting explicitly.
|
||||||
|
|
||||||
### Colors
|
### Colors
|
||||||
|
|
||||||
@ -27,6 +39,10 @@ toc: true
|
|||||||
|
|
||||||
- Disabled states of buttons are easier to customize thanks to additional arguments in the `button-variant()` mixin. [See #30639.](https://github.com/twbs/bootstrap/pull/30639)
|
- Disabled states of buttons are easier to customize thanks to additional arguments in the `button-variant()` mixin. [See #30639.](https://github.com/twbs/bootstrap/pull/30639)
|
||||||
|
|
||||||
|
#### Navs
|
||||||
|
|
||||||
|
- Added new `null` variables for `font-size`, `font-weight`, `color`, and `:hover` `color` to the `.nav-link` class.
|
||||||
|
|
||||||
#### Popovers
|
#### Popovers
|
||||||
|
|
||||||
- Renamed `whiteList` option to `allowList`
|
- Renamed `whiteList` option to `allowList`
|
||||||
|
Loading…
Reference in New Issue
Block a user