-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Component: Panel menu tabbing incorrectly sets selected item #14242
Comments
@erber014 I can not regenerate this case can you recheck or make video. |
Generate path:
|
I think you are still misunderstanding my issue. This has nothing to do with styling of focused element, I dont really care about that. What I am experiencing is a change of functionality related to TABBING, which I believe is a bug, but maybe there has just been a change in the component. In previous versions like v15 LTS, tabbing meant that the selected element in the menu changed, now it does not. When "New"-element is the selected element, pressing enter or space results in this menu item expanding or collapsing. In previous versions I could TAB away from the "New"-element and PRESS enter or space and NOTHING would happen since the selected element is no longer "New", but another element. We are using links in our PanelMenu to route to other components/urls and we used to be able to tab to change between items and press enter or space to go to these URLS. This now does not work. Is this clear enough @ashikjs ? |
@erber014 Ya, Sorry for my miss understanding. I recheck this bugs and finally got it. Keyboard TAB and left,right arrow not work properly same time. After control submenu by left-right arrow if we press TAB and again try to control by left-right arrow then it generate. |
This issue is a duplicate of #13630 After this fix is complete however, you will notice an issue with the Tabbing but not the same as described here. When it comes to fixing, note that in PR #13724 @cetincakiroglu says:
This PR has not been merged yet due to this issue |
Could we please provide an option to allow tab to also work inside the panel or investigate a screen reader issue? It appears arrow keys do not function as expected when using screen readers such as NVDA. Typically, the first element is reachable with arrow keys and then nothing. Additionally, the numpad enter does not correctly trigger an action on the elements. Is there a reason why we are using a div with role="button" over a button element? |
Hi, So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Best Regards, |
Describe the bug
There is an issue with tabbing in the panel menu where the selected item incorrectly gets set to the first item inside the panel menu despite the focus being set to the correct item.
Error is reproducible on https://primeng.org/panelmenu#basic
Environment
primeng.org
Reproducer
No response
Angular version
primeng.org
PrimeNG version
v17.0.0-beta.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
Whatever the official site uses
Browser(s)
No response
Steps to reproduce the behavior
https://primeng.org/panelmenu#basic
Expected behavior
No response
The text was updated successfully, but these errors were encountered: