Shoutout to the dark mode toggle that tricked me into shipping bad contrast
Honestly I almost shipped a landing page last month with white text on a pale yellow button because it looked "fine" to me. The button was #FFF9C4 and the text was #FFFFFF, so basically invisible to anyone without perfect eyes. I had two choices: keep tweaking shades by eye until it felt right, or run every combo through a contrast checker and let the numbers decide. I picked the checker and it flagged 14 failing pairs in our design system that I'd been staring at for months. My coworker said the tool was "too strict" but then a client with low vision thanked us for finally making the form readable. Now I don't trust my eyeballs for anything under a 4.5:1 ratio. Does anyone else feel weird letting a linter overrule their design gut?