Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

fix(editor): name Inspector controls - #3959

Open
aayushgarg903 wants to merge 1 commit into
resend:canaryfrom
aayushgarg903:fix/inspector-accessible-names
Open

aayushgarg903 wants to merge 1 commit into
resend:canaryfrom
aayushgarg903:fix/inspector-accessible-names

Conversation

@aayushgarg903

@aayushgarg903 aayushgarg903 commented Dec 3, 2026 •

Copy link
Copy Markdown

Related issue or discussion

Fixes #3958.

What this changes

Inspector property rows now give their controls an accessible name from the visible row label. PropRow provides a stable, unique label ID, and Label, color inputs, number inputs, selects, text fields, and textareas use it. Explicit control names take precedence, so the padding sides, border width/color/style controls, and radius corners each have a specific name. A patch changeset is included for @react-email/editor.

Regression tests cover row controls, repeated and nested rows, uniform picker inputs, and each side and corner control.

Validation

  • pnpm lint — passed (one existing warning in apps/web/src/app/editor/editor-overrides.css).
  • pnpm typecheck — passed across the repository.
  • Editor unit tests — 580 passed.
  • Editor browser tests — 21 passed.
  • Focused accessible-name tests — 6 passed.
  • pnpm test at repository root — did not pass: unrelated @react-email/ui tests timed out during the parallel run. The affected get-tailwind-css-configs.spec.ts file passed all 12 tests when rerun on its own through the package script.

Checklist

  • I understand the code in this PR and the problem it solves.
  • I read this description, and it accurately describes the change.
  • I added a changeset.

Summary by cubic

Fixes #3958 by giving Inspector property controls accessible names from their visible row labels.

  • Controls in a PropRow use the row label as their accessible name via a shared label ID.
  • Explicit aria-label values still take precedence for padding sides, border width/color/style, and radius corners.
  • Adds regression tests for row controls, repeated and nested rows, and side and corner pickers.

Written for commit 634cd44. Summary will update on new commits.

View guided diff

@changeset-bot

changeset-bot Bot commented Dec 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 634cd44

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@react-email/editor Patch

Not sure what this means? Click here to learn what changesets are.

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

@vercel

vercel Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

@aayushgarg903 is attempting to deploy a commit to the resend Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Dec 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear-synced PR has been synced to Linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

editor: Inspector controls have no accessible name (labels not associated, icon-only side inputs)

1 participant