Skip to content

fix(www): add accessible label to clipboard copy button - #2243

Open
gonzoblasco wants to merge 2 commits into
t3-oss:mainfrom
gonzoblasco:fix/2185-a11y-clipboard-button
Open

fix(www): add accessible label to clipboard copy button#2243
gonzoblasco wants to merge 2 commits into
t3-oss:mainfrom
gonzoblasco:fix/2185-a11y-clipboard-button

Conversation

@gonzoblasco

Copy link
Copy Markdown

Description

The clipboard copy button on the landing page (create.t3.gg) was missing an accessible label, causing a WCAG 4.1.2 violation. Screen reader users couldn't identify the button's purpose.

Changes

  • Added aria-label="Copy to clipboard" to <Menu.Button>
  • Marked both decorative SVG icons as aria-hidden="true"

Closes #2185

Adds aria-label to the Menu.Button and marks decorative SVGs as
aria-hidden to fix the accessibility violation reported in t3-oss#2185.

Closes t3-oss#2185
@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
create-t3-app Ready Ready Preview Jul 30, 2026 6:45pm

Request Review

@changeset-bot

changeset-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5804bde

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

bug: [A11Y] Clipboard copy button lacks accessible label

1 participant