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:
1 parent
365dfe9178
commit
62dd5ea95b
1 file changed
+1
@@ -240,6 +240,7 @@ export class Cal {
|
|||||||
const iframe = (this.iframe = document.createElement("iframe"));
|
const iframe = (this.iframe = document.createElement("iframe"));
|
||||||
iframe.className = "cal-embed";
|
iframe.className = "cal-embed";
|
||||||
iframe.name = `cal-embed=${this.namespace}`;
|
iframe.name = `cal-embed=${this.namespace}`;
|
||||||
|
iframe.title = `Book a call`;
|
||||||
const config = this.getConfig();
|
const config = this.getConfig();
|
||||||
const { iframeAttrs, ...restQueryObject } = queryObject;
|
const { iframeAttrs, ...restQueryObject } = queryObject;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user