Each form control in this document exposes a validity attribute that returns a live instance of ValidityState.