InteractiveAdvertisingBureau / GDPR-Transparency-and-Consent-Framework

Technical specifications for IAB Europe Transparency and Consent Framework that will help the digital advertising industry interpret and comply with EU rules on data protection and privacy - notably the General Data Protection Regulation (GDPR) that comes into effect on May 25, 2018.
860 stars 360 forks source link

The iframe name "__tcfapilocator" does not pass the w3c validation #323

Open dvdtsr opened 2 years ago

dvdtsr commented 2 years ago

The following element <iframe name="__tcfapiLocator" title="__tcfapiLocator" style="display: none;" class="hidden"></iframe> Does not pass the w3c validation. The reason is that the "browsing context name" (here the name attribute) cannot start with the underscore.

To reproduce

<!DOCTYPE html>
<html lang="en">

<head>
  <title>..</title>
</head>

<body>
  <iframe name="__tcfapiLocator" title="__tcfapiLocator" style="display: none;"></iframe>
</body>

</html>

Error: Bad value __tcfapiLocator for attribute name on element [iframe](https://html.spec.whatwg.org/multipage/#the-iframe-element): Browsing context name started with the underscore.

anderagakura commented 2 years ago

Hi @dvdtsr Thanks for flagging. We're checking and will come back to you asap.