# How to add a title tag to the iframe embed script?

**URL:** https://meta.discourse.org/t/how-to-add-a-title-tag-to-the-iframe-embed-script/271376
**Category:** Support
**Tags:** embedding
**Created:** [January 9, 2023, 12:13am UTC](https://meta.discourse.org/t/how-to-add-a-title-tag-to-the-iframe-embed-script/271376 "2023-01-09T00:13:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stance455](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stance455/32/255345_2.png) [@stance455](https://meta.discourse.org/u/stance455)
#### Post date: [January 9, 2023, 12:13am UTC](https://meta.discourse.org/t/how-to-add-a-title-tag-to-the-iframe-embed-script/271376/1 "2023-01-09T00:13:01Z")

</div>

Is there a way to add a title tag to the iframe embed script?

I tried adding a title tag to the below, didnt work

`<script src="https://subdomain.example.com/javascripts/embed-topics.js" title="title for the iframe" defer></script>`

I ask because you get a red flag under Accessibility ( lighthouse)

**Edit:** Title tags are generally not required, but they are for `<iframe>` , due to screen readers

 ![Screen Shot 2023-01-09 at 4.53.00 AM](https://global.discourse-cdn.com/meta/original/4X/0/6/3/06372a8564d5cfb6fc268d965ab69ddf6e7b6139.png)

Any help is appreciated

**Edit 2**

Seems I’ll need to edit the `/javascripts/embed-topics.js` or more specifically, the below

`var iframe=document.createElement("iframe");iframe.src=url+"/embed/topics?"+params.join("&");iframe.id=frameId;iframe.frameBorder=0;iframe.scrolling="no";list.appendChild(iframe);}});})();`

Is this something thats possible?

**Edit 3**

Any insight here guys/gals/x?

I also noticed this is marked as “Serious” when it comes to the test on [https://www.webpagetest.org/](https://www.webpagetest.org/)

(Google recommended testing tool)

 ![Screen Shot 2023-01-16 at 4.21.29 AM](https://global.discourse-cdn.com/meta/original/4X/2/d/c/2dc46aa9ab09b10a765722ca2e3d42c2882d4536.png)
