Skip to content

fix(react): render input aria-label once, on the inner input - #240

Merged
pbroom merged 2 commits into
mainfrom
fix/react-input-aria-label
Oct 10, 2026
Merged

pbroom merged 2 commits into
mainfrom
fix/react-input-aria-label

Conversation

@pbroom

@pbroom pbroom commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

ColorInput and ColorStringInput spread the rest props (including
aria-label) onto the wrapper div and also set aria-label on the inner
input, so a consumer label was rendered twice. aria-label and
aria-labelledby are now taken out of the rest props and applied only to
the inner input; a consumer label replaces the default, and
aria-labelledby alone suppresses the default aria-label.

Found while documenting the public API in #235. Each finding was reproduced against the built package before the fix, has a regression test, and its affected JSDoc examples were recomputed. lint, build, test, format:check, typecheck, size, check:artifacts, check:preprod and agents:check:strict pass.

Part of the color-kit assessment stack.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
color-kit Ready Ready Preview Oct 10, 2026 8:18pm UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T03:30:01.426325Z ffc6a15 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This was referenced Oct 8, 2026
Comment thread packages/react/__tests__/color-string-input.test.tsx Outdated

@pbroom pbroom left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the full incremental PR and its corrections at e3a0a11fa65a0e88c52a4bdfa203a49606486a4f. ARIA label rendering reviewed; accessible-name assertions added. No remaining actionable findings in the reviewed scope.

Independent correction re-reviews and stack preservation verification passed. At the integrated tip, lint, full build/DTS, 2,208 tests, formatting, strict agent checks and 14 built-site Chrome tests passed. All recorded actionable review threads are addressed. Hosted CI is being verified separately; this review does not authorize merge or release.

pbroom commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner Author

Merge activity

  • Oct 10, 6:47 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 10, 8:15 PM UTC: Graphite rebased this pull request as part of a merge.
  • Oct 10, 8:15 PM UTC: @pbroom merged this pull request with Graphite.

@pbroom
pbroom changed the base branch from fix/driver-input-precision to graphite-base/240 October 10, 2026 20:12
@pbroom
pbroom changed the base branch from graphite-base/240 to main October 10, 2026 20:13
pbroom and others added 2 commits October 10, 2026 20:14
ColorInput and ColorStringInput spread the rest props (including
aria-label) onto the wrapper div and also set aria-label on the inner
input, so a consumer label was rendered twice. aria-label and
aria-labelledby are now taken out of the rest props and applied only to
the inner input; a consumer label replaces the default, and
aria-labelledby alone suppresses the default aria-label.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@pbroom
pbroom force-pushed the fix/react-input-aria-label branch from ff99bfe to e4afb83 Compare October 10, 2026 20:14
@pbroom
pbroom merged commit 6331e05 into main Oct 10, 2026
6 of 7 checks passed
@pbroom
pbroom deleted the fix/react-input-aria-label branch October 10, 2026 20:15

This branch was successfully deployed

1 active deployment
Preview — e4afb839 Deployed Oct 10, 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.

1 participant