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.47k stars 254 forks source link

ACC: wrong order of texts in accessibility reader on a button #8976

Closed mszabo42 closed 1 month ago

mszabo42 commented 1 month ago

Describe the bug

When accessibility reader (JAWS) reads filter button, it reads UI Name last, which is consider to be wrong order. It supposed to read the UI Name followed by its Type and its state.

Isolated Example

https://stackblitz.com/edit/github-rc93m5-4bwabk?file=src%2Findex.css

Reproduction steps

prerequisite: screen reader is running

  1. Navigate to Filter button (by pressing tab)
  2. Listen to reader / Check reader history

result: Emphasize Button Filter /UI name/ To activate press spacebar

Expected Behaviour

Screen reader reads UI Name followed by its Type and its state.

Screenshots or Videos

No response

UI5 Web Components for React Version

1.26.1

UI5 Web Components Version

1.23.1

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

Lukas742 commented 1 month ago

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

GerganaKremenska commented 1 month ago

Hello @ui5-webcomponents-topic-b I am forwarding this issue to you, because i have tested buttons in openui5 and there is a diffrence in the output.

Openui5:

Screenshot 2024-05-16 at 10 10 41 Screenshot 2024-05-16 at 9 50 41

webcomponetns:

Screenshot 2024-05-16 at 8 46 38

Please take over.

Best Regards, Gergana