HTMLObjectElement: checkValidity() method

Baseline 2023

Newly available

Since March 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The checkValidity() method of the HTMLObjectElement interface returns a boolean value that always is true, because object objects are never candidates for constraint validation.

Syntax

js
checkValidity()

Parameters

None.

Return value

true

Exceptions

None.

Specifications

Specification
HTML Standard
# dom-cva-checkvalidity-dev

Browser compatibility

BCD tables only load in the browser