The willValidate read-only property of the HTMLButtonElement interface indicates whether the element is a candidate for constraint validation. It is false if any conditions bar it from constraint validation, including:MDN Reference
willValidate
MDN Reference