validationMessage

open override val validationMessage: String(source)

Returns the error message that would be shown to the user if internals's target element was to be checked for validity.

MDN Reference