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

ui5-dialog with ui5-messagestrip inside announces entire content when opened #5391

Closed ee92 closed 2 years ago

ee92 commented 2 years ago

Bug Description

When a ui5-dialog is opened which has a ui5-messagestrip as its first element, the entire content of the dialog will be announced by screenreaders.

Expected Behavior

The dialog should not announce its entire content when opening, only the dialog title and the first focused element.

Steps to Reproduce

  1. Use screen reader (JAWS or NVDA)
  2. Go to https://codesandbox.io/s/ui5-webcomponents-forked-ifp587
  3. Open the first dialog
  4. Notice it announces the dialog title and the first focused element as expected
  5. Open the second dialog
  6. Notice it announces the entire content of the dialog

Isolated Example

https://codesandbox.io/s/ui5-webcomponents-forked-ifp587

Context

Priority

Stakeholder Info

nnaydenow commented 2 years ago

Hi @ee92,

Could you please provide information which version of JAWS and NVDA use are using?

Regards, Nayden

ee92 commented 2 years ago

Using NVDA version 2022.1, which can be downloaded from https://www.nvaccess.org/download/

Todor-ads commented 2 years ago

Hi @ee92, Could you also provide information on the version of JAWS you are using?

Regards, Todor

ee92 commented 2 years ago

This is reproducible with JAWS 2022

github-actions[bot] commented 2 years ago

Hello, everyone! The issue has been inactive for 21 days. If there are still questions or comments, please feel free to continue the discussion. Inactive issues will be closed after 7 days!

ndeshev commented 2 years ago

I was able to reproduce the described behavior with NVDA, but I'm not reproducing the issue with our recommended setup - JAWS 2022 and Chrome. Could you please update JAWS, UI5 Webcomponents and Chrome it with their latest updates and resets JAWS settings to the default ones.

I'm closing the issue, if you find the problem persists on your side reopen it and if you could please provide a video with the exact steps to reproduce and speech output.