Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dvdtsr opened this issue May 19, 2022 · 1 comment
Open

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

dvdtsr opened this issue May 19, 2022 · 1 comment

Comments

@dvdtsr
Copy link

dvdtsr commented May 19, 2022

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.

@anderagakura
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants