Uh oh!
There was an error while loading. Please reload this page.
test(components): refresh Accordion snapshots for Radix 1.2.x aria-controls - #1617
Merged
Conversation
…ntrols `@radix-ui/react-accordion@^1.2.13` no longer emits `aria-controls` on a trigger whose content panel is unmounted (a collapsed item) — it previously pointed `aria-controls` at a non-existent id, a dangling ARIA reference. The new behaviour is more correct (aria-controls only when the panel exists), so the two `snapshot-critical` Accordion snapshots were stale and failed on every PR. Regenerated; the diff is purely the removal of 4 dangling `aria-controls` attributes on collapsed triggers (expanded triggers keep theirs). No component change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
Uh oh!
There was an error while loading. Please reload this page.
os-zhuang added a commit
that referenced
this pull request
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
snapshot-criticalAccordion snapshots are stale and fail on every objectui PR (they block CI on unrelated branches).Cause — a Radix a11y improvement, not a regression
@radix-ui/react-accordion@^1.2.13no longer emitsaria-controlson a trigger whose content panel is unmounted (a collapsed item). Older Radix pointedaria-controlsat a non-existent id — a dangling ARIA reference. The new behaviour is correct:aria-controlsis present only when the panel exists (verified — expanded triggers keep theirs; only collapsed ones drop it).Fix
Regenerated the two stale snapshots. The diff is purely the removal of 4 dangling
aria-controlsattributes on collapsed triggers — no component change, no behaviour change.Unblocks #1616 (and any other PR currently red on this).
🤖 Generated with Claude Code