Enforcing Accessible States in CSS
Historically, I’ve been a fan of using state classes, prefixed with a namespace like .is-
or.has-
. And I’ve seen a lot of developers go this route as well.
However, the more I work with state classes the more I realize they often incur in a…