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 <hariombalhara@gmail.com>
This commit is contained in:
Hichem Fantar
2024-07-29 08:14:13 +00:00
committed by GitHub
co-authored by Hariom Balhara
parent 365dfe9178
commit 62dd5ea95b
+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;