InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework

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

dvdtsr opened this issue · 1 comments

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>
  • Result

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.

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