fix(Dialog): Use Radix Dialog Primitives for Accessibility#973
fix(Dialog): Use Radix Dialog Primitives for Accessibility#973dustinhealy merged 6 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 0036a0e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Claude finished @dustinhealy's task in 45s —— View job PR Review: fix(Dialog): Use Radix DialogTitle Primitive for Accessibility
The change is correct and minimal — swapping 🚨 Must Fix
♿ Accessibility — informational (pre-existing, not introduced by this PR)
Everything else looks good. The fix is clean, non-breaking, and the existing test suite covers the title rendering path. 🙌 |
|
Claude finished @dustinhealy's task in 1m 19s —— View job PR Review: fix(Dialog): Use Radix DialogTitle Primitive for AccessibilityThe 🚨 Must Fix
💡 Suggestions (non-blocking)
Everything else looks great — the core fix is clean and the |
|
Claude finished @dustinhealy's task in 1m 26s —— View job PR Review: fix(Dialog): Use Radix Dialog Primitives for Accessibility
The 🚨 Must Fix
💡 Suggestions (non-blocking)
The core accessibility fix is exactly right. Once the |
|
@claude re-review |
|
Claude finished @dustinhealy's task in 1m 0s —— View job PR Review: fix(Dialog): Use Radix Dialog Primitives for Accessibility
The changeset is in place and the 🚨 Must Fix
💡 Suggestions (non-blocking)
Once the |
|
Claude finished @dustinhealy's task in 1m 2s —— View job PR Review: fix(Dialog): Use Radix Dialog Primitives for Accessibility
All three must-fix items from previous reviews are now resolved. This is clean and ready to merge. 🙌 ✅ Previously flagged issues — all fixed
💡 Suggestions (non-blocking, carry-over from prior reviews)
None of these block merge — the core fix is exactly right. Nice work, @dustinhealy! |
punkbit
left a comment
There was a problem hiding this comment.
This is good, thanks @dustinhealy
Before merging to main, let's approve/merge the following #974 into yours. It adds a new story and shows before/after example in the changeset to make it clear and incentivise usage as you suggestion seem to be better, less boilerplate.
* chore: 🤖 add with description story, showcasing description usage * chore: 🤖 add changeset
|
Claude finished @punkbit's task in 1m 43s —— View job PR Review: fix(Dialog): Use Radix Dialog Primitives for Accessibility
All previous must-fix items are resolved — the PR #974 needs to be merged into this branch first, per @punkbit's review. That PR adds a new story and cleans up the changeset. Once #974 merges into 💡 Suggestions (non-blocking, carry-over)
The core fix is exactly right. Once #974 is resolved, this is ready to merge. Nice work, @dustinhealy! 🙌 |
punkbit
left a comment
There was a problem hiding this comment.
@dustinhealy Merged #974 test it out, if happy feel free to merge. Thank you!
📚 Storybook Preview Deployed✅ Preview URL: https://click-i1iv0h4ab-clickhouse.vercel.app Built from commit: |
* fix(Dialog): use Radix DialogTitle primitive for accessibility * feat(Dialog): add description prop for Radix DialogDescription * chore: add changeset for Dialog accessibility fix * chore: format Dialog.tsx * fix(Dialog): style description with theme tokens * chore(dialog): 🤖 add story for new description prop (#974) * chore: 🤖 add with description story, showcasing description usage * chore: 🤖 add changeset --------- Co-authored-by: Helder Oliveira <helder.oliveira@clickhouse.com>
Why?
Dialog.Content has two accessibility issues:
titleprop as astyled.h2instead of Radix'sDialogTitleprimitive, causing:DialogContent requires a DialogTitleMissing Description or aria-describedbyHow?
Titlefromstyled.h2tostyled(RadixDialog.Title)descriptionprop that renders asRadixDialog.DescriptionTickets?
Contribution checklist?