web-feature: :user-valid and :user-invalid

baseline logo Widely available

The :user-valid and :user-invalid pseudo-classes match form controls that have been marked as valid or invalid based on their validation constraints.