Checkbox Input
Alignment target:@astryxdesign/core v0.7.1 · CheckboxInput
Color contrast
Measure the foreground and background as they appear together on screen. The ratios below are the WCAG 2.2 AA checks for this component.
| Check | Ratio | Applies to | Guidance |
|---|---|---|---|
| Checkbox box | 3:1 | Rest, Hover, Pointer down, Checked | The box edge (unchecked) and fill (checked) must have at least 3:1 contrast with the surface behind them. For Hover and Pointer down, measure the final colors after the tint and the pressed overlay are applied. 1.4.11 Non-text Contrast |