Color· 5 of 11

5 of 11

Give essential control edges enough contrast

When a boundary is needed to identify an enabled control, WCAG AA requires at least 3:1 contrast against its adjacent color. A decorative divider may be quieter. Check the actual pair in each theme.

Do
Don’t

Doinput border: neutral-500 · divider: neutral-200

Don’tinput border: neutral-100 · divider: neutral-200

Before you ship

  • Without the border, can a reader still find the field?
  • Does the required cue reach 3:1 on the adjacent surface?
  • Are focused and selected controls identifiable by their own cues?

Next

Keep hover feedback distinct from a resultColor · 6 of 11J