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.56k stars 267 forks source link

[Input]: 'unselected' is announced when the suggestion item is selected #9314

Closed AlexYanSap closed 4 months ago

AlexYanSap commented 4 months ago

Describe the bug

When using Input with suggestion items. 'unselected' will be announced when the suggestion item is selected. It's not expected and we (SFSF) have received the reports from the customers.

Isolated Example

https://sap.github.io/ui5-webcomponents-react/?path=/docs/inputs-input--docs#more-examples

Reproduction steps

  1. open screen reader
  2. type 'a' in the input
  3. select any selectable suggestion item
  4. 'unselected' will be announced

Expected Behaviour

when an item e.g., 'ABC' is selected, 'ABC is selected' should be announced.

Screenshots or Videos

No response

UI5 Web Components for React Version

1.29.2

UI5 Web Components Version

2.0.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

Lukas742 commented 4 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.

kineticjs commented 4 months ago

Hi @AlexYanSap,

Thank you for reporting the issue. May I ask you to specify the version of JAWS + browser that you are using when reproducing the issue?

Thanks

AlexYanSap commented 4 months ago

Hi @kineticjs, I used NVDA as the SR, and its version is 2024.1. Edge version is 123.0.2420.81 (Official build) (64-bit)

GerganaKremenska commented 4 months ago

Hello @AlexYanSap,

I have tested with JAWS 2024 + Chrome(our testing enviourment) and the issue is not reproducible. Please reffer to video:

https://github.com/SAP/ui5-webcomponents/assets/22882174/bdca3e5f-4300-4914-81a3-332a594fb2dc

UI5 Web Components provide the prerequisites for screen reader support based on the HTML, ARIA, and WCAG standards. All screen readers that follow those standards should work fine. Nevertheless, there are deviations in the interpretation depending on the combination of browser and screen reader. UI5 Web Components focus on compliance with the standards, rely on automated checks for accessibility and manual tests with reference testing environments.

For Screen Reader Support, we recommend using JAWS 2021 + Chrome (latest), and for HTML/ARIA validation the recommended testing tool is Access Assistant. UI5 Web Components support other environments to the extent of providing a valid HTML and ARIA implementation following the WCAG standards.

Please note that reference testing environments may change over time to reflect changes in the usage of different browsers, their maintenance period, and increased accessibility compliance.

When reporting issues with different testing environments, please ensure that the issue is not false positive, a real accessibility concern is present and there is an impact over the users. Therefore, we recommend to retest the issue using the mentioned reference testing tools and additionally with plain HTML.

This seems as a false positive therefor i am closing the issue.

Best Regards, Gergana