Open
Description
openedon Sep 13, 2024
Part of #65338
All of our remaining usage of the ButtonGroup component is visually outdated as a segmented control and often inaccessibly implemented. We should correct this by replacing them with ToggleGroupControl.
How to submit PRs
To pick up a task, write your name by the checklist item or post a comment to this issue.
Please include before/after screenshots in the PR.
-
packages/block-editor/src/components/image-size-control/index.js
ImageSizeControls: Replace ButtonGroup with ToggleGroupControl #65386 -
packages/block-library/src/button/edit.js
- Button: Replace ButtonGroup usage with ToggleGroupControl #65346 -
packages/block-editor/src/hooks/layout.js
- updates LayoutTypeSwitcher to use ToggleGroupControl #65498 -
packages/block-library/src/search/edit.js
- Search: Replace ButtonGroup usage with ToggleGroupControl #65340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment