<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->

# Checkbox Toggle Release Notes

<!-- ## [Unreleased] -->

## 2.28.0

### Fixed

- Fixed checkbox clickable area to only apply within container.

### Added

- Added `role="switch"` to input element to ensure accessibility.

## 2.27.1

### Fixed

- Add missing `--slds` component hooks fallbacks to match existing `--sds` hooks

## 2.27.0

### Changed

- Added no flip rule to the checkbox-toggle, faux border style to fix rtl bug

## 2.23.0

### Changed

- Updated Checkbox Toggle Focus Style.

## 2.22.0

### Fixed
- Fixed `NVDA` checkbox toggle is announced twice removed aria-live="assertive"
## 2.21.5

### Changed
- Updated disabled checkbox toggle button color.

## 2.17.0

### Added
- Added reassignment of Styling Hooks for component states.

### Fixed
- Fixed spacing between checkbox toggle label and input on mobile.

## 2.14.0

### Added

- Enabled styling hooks for checkbox toggle. See checkbox toggle's styling hooks overview table for a full listing of the currently available hooks.

## 2.11.6

### Added

- Added documentation and examples for mobile/touch context

## 2.10.0

### Changed

- For touch devices:
  - Change `font-size` of label text to `$font-size-5` (1rem)
  - Increase `font-size` of `.slds-checkbox_faux_container` to `$font-size-2` (0.75rem)

<!-- ## [VERSION] -->
