You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When focus moves into the tab list, places focus on the active tab element.
When the tab list contains the focus, moves focus to the next element in the page tab sequence outside the tablist, which is the tabpanel unless the first element containing meaningful content inside the tabpanel is focusable.
Describe the bug
As stated in the W3C Authoring Practices Guide, for a Tab interface the
tabbutton should behave as follow:Check: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/#keyboardinteraction for reference.
To be compliant with WCAG, all the patterns should be applied.
Environment
Windows
Reproducer
https://primeng.org/tabview
Angular version
16.X
PrimeNG version
16.1.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.20
Browser(s)
No response
Steps to reproduce the behavior
tabExpected behavior
Pressing
tab, the focus should move inside the content of the selected tab, if focusable, or to the next focusable element of the page.