validity property
The validity read-only property of the ElementInternals interface
returns a ValidityState object which represents the different validity
states the element can be in, with respect to constraint validation.
Implementation
external ValidityState get validity;