vastlint

VAST-4.3-js-resource-browser-optional

<JavaScriptResource> should have a browserOptional attribute

WarningRequired fieldsIAB VAST 4.3 §2.3VAST 4.3 only

In VAST 4.3, `<JavaScriptResource>` elements should indicate whether they are browser-optional via the `browserOptional` attribute. This matters for CTV/audio environments that lack a browser JS runtime.

How to fix

Add browserOptional="true" if the script can be skipped in non-browser environments (CTV, audio), or browserOptional="false" if it is required.

Check your VAST tag for VAST-4.3-js-resource-browser-optional and other issues instantly.Validate a tag →