HTML/CSS/JS browser APIs are always just like SO CLOSE to being what is needed. Case in point: :invalid pseudo-class. You pretty much NEVER want to show a form field as invalid unless form submission has been attempted (or MAYBE if user has interacted). :invalid is there no matter what. :user-invalid exists but doesn't seem to totally work right?
↧