Accessibility·Intermediate·Conceptual·1 min read
Why must contrast be checked on hover, focus, and disabled states, not just the default state?
Short interview answer
A component that passes contrast at rest can easily fail on a lighter hover background or a muted disabled color, and those states are just as often relied upon by users as the resting state, so they need the same verification.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.