Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(16781): fixes Tab focus issue on accordion #17120

Merged

Conversation

2nikhiltom
Copy link
Contributor

Closes #16781

This PR prevents focus on reach onto collapsed according item, this usually happened when accordionItem was intractable element

Changelog

New

Added hidden={!isOpen} attribute to wrapper div

Changed

Snapshot updated

Testing / Reviewing

Verify that when navigating accordion through Keyboard Tab navigation the focus does not reach on collapsed according item

@2nikhiltom 2nikhiltom requested a review from a team as a code owner August 8, 2024 10:55
Copy link

netlify bot commented Aug 8, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c3580dc
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66ba031b4e027b0008b58a5e
😎 Deploy Preview https://deploy-preview-17120--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 8, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit c3580dc
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66ba031bce1c5c00075dd29b
😎 Deploy Preview https://deploy-preview-17120--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@kennylam kennylam left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

LGTM!

@tay1orjones tay1orjones added this pull request to the merge queue Aug 12, 2024
Merged via the queue into carbon-design-system:main with commit 9b737e8 Aug 12, 2024
22 checks passed
@carbon-automation
Copy link
Contributor

Hey there! v11.64.0 was just released that references this issue/PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[a11y]: Tab focus in accordion items incorrect, focusing on hidden items
3 participants