ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[ui5-menu | Accessibility]: Focus not shifting to the first element when the menu has dynamic content

Open rv97 opened this issue 1 year ago • 9 comments

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.

  1. Hit tab and go to the menu with dynamic content
  2. Hit enter
  3. 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.

rv97 avatar Jun 21 '23 06:06 rv97

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

unazko avatar Jun 21 '23 06:06 unazko

Hi @unazko ,

Is there any update on this?

rv97 avatar Nov 27 '23 04:11 rv97

Hi @rv97,

We're currently working on fixing your issue and will keep you updated. Thank you for your patience!

Regards, Diana

DMihaylova avatar May 08 '24 14:05 DMihaylova

Hi @DMihaylova ,

Thanks for the update.

Regards, Vignesh R

rv97 avatar May 09 '24 04:05 rv97

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

Abanindra avatar Jun 11 '24 05:06 Abanindra

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

DMihaylova avatar Jun 12 '24 10:06 DMihaylova

Hi @DMihaylova Could you please let me know what is the current progress?

shubhamnazare avatar Sep 13 '24 05:09 shubhamnazare

Hi @DMihaylova , @tsanislavgatev

Please let us know what is the status of this issue.

shubhamnazare avatar Oct 04 '24 05:10 shubhamnazare

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

DMihaylova avatar Oct 08 '24 08:10 DMihaylova