ui5-webcomponents
ui5-webcomponents copied to clipboard
[ui5-menu | Accessibility]: Focus not shifting to the first element when the menu has dynamic content
Bug Description
When the ui5-menu menu or the sub-menu has menu items that are loaded dynamically after showing the busy indicator, the focus does not shift to the first element after the menu loads.
Video: https://sap-my.sharepoint.com/:v:/p/vignesh_r02/ER0q_uLNU6BAi_YC6vqG1XIBxyXKiXFaktR7ya0Dj_-ggw?e=tAbArb
Affected Component
ui5-menu, ui5-menu-item
Expected Behaviour
When i hit enter on a menu or sub-menu with dynamic menu items, after the busy indicator, the focus should go to the first element.
Isolated Example
https://sap-my.sharepoint.com/:v:/p/vignesh_r02/ER0q_uLNU6BAi_YC6vqG1XIBxyXKiXFaktR7ya0Dj_-ggw?e=tAbArb
Steps to Reproduce
This can be reproduced in the ui5-documentation itself.
- Hit tab and go to the menu with dynamic content
- Hit enter
- After the menu loads, the you can see the focus is not there for the first element ...
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
1.14.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
SAP Labs
Declaration
- [X] I’m not disclosing any internal or sensitive information.
Hello @SAP/ui5-webcomponents-topic-b,
The issue is reproducible as described by @rv97. When the busy indicator gets removed and the new items are added the focus should be applied into the first element of the list.
We should contact keyboard handling experts and discuss if the busy indicators should be focusable as well. Additionally we need to check if they are focusable what screen reader output we'll get.
Best regards, Boyan
Hi @unazko ,
Is there any update on this?
Hi @rv97,
We're currently working on fixing your issue and will keep you updated. Thank you for your patience!
Regards, Diana
Hi @DMihaylova ,
Thanks for the update.
Regards, Vignesh R
Hi @DMihaylova ,
Appreciate if you can share an update regarding in which version of ui5-webcomponents and ui5-webcomponents-react we will expect the fix?
regards Aban
Hi @Abanindra,
We are currently addressing some technical issues that have impacted our progress on your requirement. As a result, I cannot provide a precise completion date at this time. Please rest assured that we are working diligently to resolve these issues and will keep you updated on our progress.
Thank you for your understanding and patience.
Regards, Diana
Hi @DMihaylova Could you please let me know what is the current progress?
Hi @DMihaylova , @tsanislavgatev
Please let us know what is the status of this issue.
Hi @shubhamnazare,
We continue the work on this issue. Since it's not a trivial one, we expanded our collaboration in order to fix it.
Thanks for your understanding!
Regards, Diana