Skip to content

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

Open
Emreceyhnn wants to merge 1 commit into
t3-oss:mainfrom
Emreceyhnn:fix/a11y-clipboard-copy-label
Open

Emreceyhnn wants to merge 1 commit into
t3-oss:mainfrom
Emreceyhnn:fix/a11y-clipboard-copy-label

Conversation

@Emreceyhnn

@Emreceyhnn Emreceyhnn commented Nov 2, 2026 •

Copy link
Copy Markdown

Closes #2185

Changelog

The clipboard copy button in the landing page (www/src/components/landingPage/ClipboardSelect.tsx) previously rendered an icon-only Menu.Button with no accessible name, failing WCAG 2.1 Level A criterion 4.1.2 (Name, Role, Value). Screen reader users could not identify the buttons purpose.

Added aria-label="Copy command to clipboard" to the button. The label reflects the action: the button copies the selected package-manager command (e.g. npm create t3-app@latest).

Checklist

  • Followed contributing guide
  • PR title follows conventional-commit convention
  • Performed functional test on final commit (typecheck + prettier pass)

Screenshots

Not applicable — single attribute accessibility fix, no visual change.

@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
create-t3-app Ready Ready Preview Nov 2, 2026 5:12pm UTC

Request Review

@Emreceyhnn
Emreceyhnn requested a review from c-ehrlich as a code owner November 2, 2026 17:11
@changeset-bot

changeset-bot Bot commented Nov 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d4b9e88

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

@Emreceyhnn

Copy link
Copy Markdown
Author

Hi maintainers — this adds an accessible aria-label to the clipboard copy button on the landing page. CI is green. The changeset-bot note isn't applicable here since this only touches the www docs/landing site (not a published package). Ready for review — happy to adjust. Thanks!

@Emreceyhnn

Copy link
Copy Markdown
Author

✅ Tüm checks geçti (ESLint, Typecheck, Build, Socket, Label, Title, Vercel), 25/25 test başarılı. Fork push yapıldı (branch: fix/a11y-clipboard-copy-label). PR merge edilebilir — maintainer merge etmeye hazır olduğunda lütfen göz atın. Teşekkürler!

This branch was successfully deployed

1 active deployment
Preview — d4b9e88f Deployed Nov 2, 2026 by vercel[bot]
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