fix(core): Prevent focus in collapsed card content in CardList - #2704
fix(core): Prevent focus in collapsed card content in CardList#2704varun-srinivasa wants to merge 2 commits into
Conversation
🦋 Changeset detectedLatest commit: 45644fa The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
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 |
✅ Deploy Preview for ix-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



💡 What is the current behavior?
Cards are focusable in cardlist even when the cardlist is collapsed
GitHub Issue Number: #
🆕 What is the new behavior?
When the cardlist changes to collapsed state, the card-content container is now marked as inert. This removes slotted card content and any nested interactive controls from the tab order and accessibility tree while hidden.
🏁 Checklist
A pull request can only be merged if all of these conditions are met (where applicable):
pnpm test)pnpm lint)pnpm build, changes pushed)👨💻 Help & support