@ai-matrx/records 0.99.15 → 0.99.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,7 +168,7 @@ function formEmbedSnippet(kind, formUrl, options) {
168
168
  const esc = (v) => v.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;");
169
169
  if (kind === "inline") {
170
170
  const height = options?.height && options.height > 0 ? Math.round(options.height) : 640;
171
- return `<iframe src="${esc(src)}" title="${esc(label)}" style="width:100%;height:${height}px;border:0" loading="lazy" allow="clipboard-write"></iframe>`;
171
+ return `<iframe src="${esc(src)}" aria-label="${esc(label)}" style="width:100%;height:${height}px;border:0" loading="lazy" allow="clipboard-write"></iframe>`;
172
172
  }
173
173
  const script = `${url.origin}/embed/form.js`;
174
174
  return `<button type="button" data-matrx-form="${esc(src)}" data-matrx-form-mode="${kind}">${esc(label)}</button>