Skip to content

fix(viewer): name the skincraft frame by aria-label, not title - #420

Open
ykns3 wants to merge 1 commit into
masterfrom
fix/viewer-frame-tooltip
Open

ykns3 wants to merge 1 commit into
masterfrom
fix/viewer-frame-tooltip

Conversation

@ykns3

@ykns3 ykns3 commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • The SkinCraft viewer modal's iframe carried title="SkinCraft 3D viewer". When the modal opens under a resting cursor, Chrome shows that title as a native tooltip over the viewer until the cursor moves into the frame.
  • Swap it for aria-label, which keeps the frame's accessible name without the tooltip.

Validation

  • npm run checkformat
  • npm run lint
  • npm test
  • npm run build

Note

Low Risk
Single attribute swap on the embed iframe with no behavior or security impact beyond accessibility naming.

Overview
Fixes an unwanted native tooltip when the SkinCraft 3D viewer modal opens with the cursor already over the embed.

The viewer iframe in skincraft_viewer_modal.ts no longer uses title="SkinCraft 3D viewer". It now uses aria-label="SkinCraft 3D viewer" so assistive tech still gets an accessible name without Chrome showing that text as a hover tooltip until the pointer moves into the frame.

Reviewed by Cursor Bugbot for commit 31a8b0b. Bugbot is set up for automated code reviews on this repo. Configure here.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant