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

[a11y]: AccordionItem - Prevent keyboard navigation from reaching closed AccordionItem's clickable content #16413

Closed
2 tasks done
2nikhiltom opened this issue May 10, 2024 · 1 comment
Labels

Comments

@2nikhiltom
Copy link
Contributor

2nikhiltom commented May 10, 2024

Package

@carbon/react

Browser

Firefox

Operating System

No response

Package version

v1.56.0

React version

18.02

Automated testing tool and ruleset

Manual QA

Assistive technology

No response

Description

keyboard navigation reaches an AccordionItem with clickable content even when it's closed

WCAG 2.1 Violation

No response

Reproduction/example

https://stackblitz.com/edit/github-8xbgyj?file=src%2FApp.jsx

Steps to reproduce

<AccordionItem title="Section 1 title">
     <Button>Clickable</Button>
   </AccordionItem>
   <AccordionItem title="Section 2 title">
     <p>
       TestContent
     </p>
   </AccordionItem>

Make a accordion with clickable
Navigate the via keyboard , do not open the accordion
Focus still reaches the clickable inside

Screen.Recording.2024-05-10.at.12.35.25.mov

Code of Conduct

@2nikhiltom 2nikhiltom changed the title [a11y]: AccordionItem - keyboard navigation reach an AccordionItem with clickable content even when it's closed [a11y]: AccordionItem - Prevent keyboard navigation from reaching closed AccordionItem's clickable content May 10, 2024
@2nikhiltom 2nikhiltom moved this to ⏱ Backlog in Design System May 13, 2024
@guidari guidari assigned guidari and unassigned guidari Oct 11, 2024
@guidari
Copy link
Contributor

guidari commented Oct 11, 2024

This issue was fixed in this PR

@guidari guidari closed this as completed Oct 11, 2024
@github-project-automation github-project-automation bot moved this from ⏱ Backlog to ✅ Done in Design System Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants