D06

Warning

Data and assets

D06 — A script loaded on consent, with nothing to ask for it

A meta.scripts entry marked "load": "consent" loads only once the reader accepts in a ConsentBanner. With no banner in the program, nobody is asked, and it never loads.

The fix

place a ConsentBanner("…") in app, where every page shows it, or drop "load": "consent" if the script needs no consent.

Why this rule exists

Warning. A meta.scripts entry is marked "load": "consent", so it loads only once the reader accepts in a ConsentBanner — and the program has no ConsentBanner, so nobody is asked and the script never loads.

lints may lower it:

"lints": { "D06": "off" } // wf-allow(D06)