import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { ValidityState } = dom;
The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.