ColorSwatch
ColorPickerは、色の見本を表示するコンポーネントです。
Setting aria-label will make it readable by screen readers.
<ColorSwatch color="#4387f4" aria-label="Blue" />
ARIA Roles and Attributes
| Component | Roles and Attributes | Usage |
|---|---|---|
ColorSwatch | role="img" | Indicates that it is an image. |
aria-roledescription="color swatch" | Set color swatch. |
Edit this page on GitHub

