GUIDE深度 · Deep dive
Choosing Accessible Colors
Do not test only body text. Secondary text, placeholders, buttons, borders and focus rings all need the right thresholds; test hover and disabled too.
Common pairs
Body: dark grey on white, aim for 7:1.
Secondary text: at least 4.5:1; avoid pale grey.
Buttons: 4.5:1 text/background; focus ring 3:1.
Testing order
Test body and CTAs first.
Then forms, errors and disabled states.
Finally dark mode and hover.
FAQ
What if the brand color fails?
Adjust lightness, add a border or change text color; do not sacrifice readability.
Do icons need testing?
Yes; non-text UI needs at least 3:1.