diff --git a/extensions/amp-consent/0.1/amp-consent.js b/extensions/amp-consent/0.1/amp-consent.js index e0fbccc9d8e9..bdef57d8e1f4 100644 --- a/extensions/amp-consent/0.1/amp-consent.js +++ b/extensions/amp-consent/0.1/amp-consent.js @@ -1035,6 +1035,7 @@ export class AmpConsent extends AMP.BaseElement { // Set up the __tcfApiLocator window to signal postMessage support const iframe = this.element.ownerDocument.createElement('iframe'); + iframe.setAttribute('title', this.element.title || 'Consent Banner'); iframe.setAttribute('name', TCF_API_LOCATOR); iframe.setAttribute('aria-hidden', 'true'); toggle(iframe, false);