Fieldset: Content focusable and announced by assistive technology even when collapsed #17126
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
Same as #16972 except for fieldsets.
Environment
Reproducer
https://stackblitz.com/edit/github-8zuq3k7w?file=src%2Fapp%2Fapp.component.html
Angular version
18.0.1
PrimeNG version
18.0.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.17.0
Browser(s)
No response
Steps to reproduce the behavior
Go to a toggleable fieldset with focusable content elements
Collapse the fieldset
Using your tab key to navigate, navigate forwards to the next focusable element
Expected behavior
Once the fieldest is collapsed and the focusable content is focused, you can interact with it as normal using your keyboard. If you are using assistive technology, you can also prompt it to announce the focused element, despite being the child of an element that (when the panel is in a collapsed state) is marked with "aria-hidden='true'"
The text was updated successfully, but these errors were encountered: