From 31a8b0b3c3d567dc0452fcade60620627609754f Mon Sep 17 00:00:00 2001 From: Syed Zaidi Date: Wed, 7 Oct 2026 06:26:29 -0400 Subject: [PATCH] fix(viewer): name the skincraft frame by aria-label, not title A title on the iframe shows as a native tooltip when the modal opens under a resting cursor, and stays until the cursor moves into the frame. aria-label keeps the frame's accessible name without it. --- src/lib/components/common/skincraft_viewer_modal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/common/skincraft_viewer_modal.ts b/src/lib/components/common/skincraft_viewer_modal.ts index 5b2fe0ea..b0af3831 100644 --- a/src/lib/components/common/skincraft_viewer_modal.ts +++ b/src/lib/components/common/skincraft_viewer_modal.ts @@ -247,7 +247,7 @@ export class SkinCraftViewerModal { ${ref(this.frameRef)} class="${revealed ? 'loaded' : ''}" src="${this.options.embedSrc}" - title="SkinCraft 3D viewer" + aria-label="SkinCraft 3D viewer" referrerpolicy="no-referrer" sandbox="allow-scripts allow-same-origin allow-downloads" allow="fullscreen"