SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.52k stars 263 forks source link

[Input]: keyboard navigation issue for input suggestion in JAWS #9340

Open pankajpandey01 opened 3 months ago

pankajpandey01 commented 3 months ago

Describe the bug

[Input]: keyboard navigation issue for input suggestion in JAWS -Can not navigate to all item in input suggestions with keyboard in JAWS. Focus is stuck on one item after navigating few items and JAWS is announcing background element.

Isolated Example

No response

Reproduction steps

  1. Open JAWS 2024
  2. Go to https://sap.github.io/ui5-webcomponents-react/?path=/docs/inputs-input--docs
  3. Go to "Input with customizable SuggestionItem" section
  4. enter "a" in input box
  5. Start navigating to suggestion items with keyboard

Observed that focus is stuck on 7th item and JAWS started announcing background element.

Expected Behaviour

All items should be navigable through keyboard in JAWS. Focus should not be lost.

Screenshots or Videos

No response

UI5 Web Components for React Version

1.29.3

UI5 Web Components Version

1.24.0

Browser

Chrome, Edge

Operating System

Windows 11

Additional Context

No response

Relevant log output

No response

Organization

SuccessFactors

Declaration

Lukas742 commented 3 months ago

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

nikoletavnv commented 3 months ago

Dear @SAP/ui5-webcomponents-topic-rl ,

I could reproduce this issue when JAWS is running. Follow the steps reported by @pankajpandey01. When navigating through the suggestion items with the arrow keys, the navigation gets stuck at "Iceland" and item "Moldova" is never reached. If JAWS is not running, the issue is not reproduced when navigating with the arrow keys.

I also tested on 1.124 and the 2.0.0-rc.6 and normal suggestions (not custom). The issue there is even more severe, as the navigation through items gets stuck at the first suggestion item. Again it is only reproduceable when JAWS is running and reading the items.

For reference - the problem does not exist in combo-box.

Kind regards, Nikoleta Terzieva

nikoletavnv commented 3 months ago

I could not reproduce the issue with NVDA reader on Windows.

elenastoyanovaa commented 2 weeks ago

There are several issues to be fixed herehere:

Kind Regards, Elena