15 of 15

Contrast checker on the old checkbox border: #D4D4D4 on white at 1.48:1, failing for text and graphics.
Before: the default border at 1.48:1

Mindtickle · Author and owner

Checkbox & Radio

A proposal to make Stencil's Checkbox and Radio easier to see and use.

Impact

  • The proposal took the default border contrast 1.48:1 → 10.3:1, from failing to well past the 3:1 WCAG AA minimum for UI parts.
  • The proposal added the 3 missing states: focus, pressed and error.
  • The proposal cut transitions 360ms → 100ms, so the controls would no longer feel laggy.

The problem

An audit of Stencil, Mindtickle's design system, found that Checkbox and Radio were hard to see and use. The default border was too faint, hover was hard to notice, and the focus, pressed and error states were missing. A slow transition also made the controls feel laggy.

What I did

I wrote and owned the proposal, and shared the final decision with a colleague.

  • Benchmarks. I compared how five other design systems handle these controls.
  • Interviews. I talked to three colleagues who design with them.
  • A survey. I asked 30 people how the controls should behave.
  • A clearer structure. I split the component's properties into selection and state, so every combination is easy to find and build.

When the data changed my mind

I had argued that clicking a half-checked parent checkbox should clear its children. In the survey, 60% expected it to select them instead, so we kept that behavior.

Where it stands

Proposal. We agreed on the stronger border, the new states, faster transitions and the split properties. They were planned to go live with the design refresh, but I can't confirm what shipped.

Contrast checker on the new checkbox border: #404045 on white at 10.3:1, passing AA and AAA.
After: border/strong at 10.3:1

Manyu Varma

മന്യു വർമ്മ

I design and build design systems for people and AI agents: tokens, governance, release tooling, and guidelines that agents can follow.

Highlights

Work

Agentic

Early AI

Pre-AI

Hold Alt or Option to see the spacing.