validationMessage

open override val validationMessage: String(source)

The validationMessage read-only property of the HTMLOutputElement interface returns a string representing a localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string as elements are not candidates for constraint validation (HTMLOutputElement.willValidate is false).

MDN Reference