feat: Add title attribute to iframe in embed.ts (#15944)

* feat: Add title attribute to iframe in embed.ts

* Update packages/embeds/embed-core/src/embed.ts

---------

Co-authored-by: Hariom Balhara <[email protected]>
This commit is contained in:
Hichem FantarandHariom Balhara authored and GitHub committed 2024-07-29 08:14:13 +00:00
1 parent 365dfe9178
commit 62dd5ea95b
1 file changed
+1
+1
View File
@@ -240,6 +240,7 @@ export class Cal {
const iframe = (this.iframe = document.createElement("iframe"));
iframe.className = "cal-embed";
iframe.name = `cal-embed=${this.namespace}`;
iframe.title = `Book a call`;
const config = this.getConfig();
const { iframeAttrs, ...restQueryObject } = queryObject;