-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Dialog: (accessibility) "display: none" inside dialog breaks focus tabbing #6095
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
Milestone
Comments
arnodemer
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Mar 6, 2024
melloware
added
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Mar 6, 2024
Hi @melloware, |
@KirilCycle submit a PR and PrimeTek and I can review and see. I have to study it to see. |
melloware
added a commit
to melloware/primereact
that referenced
this issue
Apr 21, 2024
melloware
added a commit
to melloware/primereact
that referenced
this issue
Apr 29, 2024
nitrogenous
added a commit
that referenced
this issue
Apr 30, 2024
Fix #6095: Dialog refactor using FocusTrap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a Dialog contains a section with "display: none" and a as child of section, user cannot reach each focusable input/buttons/... using TAB key.
Reproducer
https://stackblitz.com/edit/qejj7w?file=src%2FApp.jsx
PrimeReact version
10.5.1
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
50 cents: Issue comes from DomHandler.getFocusableElements() ?
Note that issue is not the same as #4035
Expected behavior
All focusable elements inside a dialog box should be reached using Tab (Shift+Tab) key.
The text was updated successfully, but these errors were encountered: