Menu: Accessibility rule F85. Lost focus on TAB #14246
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Menu
does not comply with Accessibility rule F85.On press
TAB
key, should go to the next element.But if you are using
Menu
component inside aTable
or another element and in the properties you are usingappendTo="body"
, when you pressTAB
key, loose the focus completely and you cannot continue navigate inside the table.You can see a example here:
(I'm opening the menu with
Spacebar
and then I pressTAB
and loose the focus. Should go to the next row or element.)Environment
Reproducer
No response
Angular version
Last version
PrimeNG version
Last version
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.18
Browser(s)
All browsers
Steps to reproduce the behavior
Expected behavior
When you press
TAB
go to the next element.The text was updated successfully, but these errors were encountered: