Skip to content

Commit

Permalink
Use GitHub permalinks and add alt text
Browse files Browse the repository at this point in the history
  • Loading branch information
krokodok committed Mar 20, 2024
1 parent d68b48a commit 316e847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/radio-control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ If you have a list of available options that can be collapsed, consider using a

#### Do

![](https://raw.githubusercontent.com/krokodok/gutenberg/b3bfe9b6ce458de792595f863df1412975d1c714/do.png)
![Right: A screenshot showing two radio buttons for "Author" and "Editor", one checked](https://github.com/WordPress/gutenberg/assets/10128264/77da4e95-b038-43e7-bd29-11282cc2bac7)
Use radio buttons when only one item can be selected from a list.

#### Don’t

![](https://raw.githubusercontent.com/krokodok/gutenberg/b3bfe9b6ce458de792595f863df1412975d1c714/dont.png)
![Wrong: A screenshot showing two checkboxes for "Author" and "Editor", one checked](https://github.com/WordPress/gutenberg/assets/10128264/214f37a8-2080-4c10-a4b5-b011e0875f18)
Don’t use checkboxes when only one item can be selected from a list. Use radio buttons instead.

#### Defaults
Expand Down

0 comments on commit 316e847

Please sign in to comment.