SAP / ui5-webcomponents-react

A wrapper implementation for React of the UI5 Web Components that are compliant with the SAP Fiori User Experience
https://sap.github.io/ui5-webcomponents-react/
Apache License 2.0
426 stars 94 forks source link

ObjectStatus: has incorrect attribute role="group" #5980

Closed ee92 closed 1 week ago

ee92 commented 1 week ago

Describe the bug

The element has role="group" which is not correct.

sapui5 equivalent does not add the "group" role either: https://sapui5.hana.ondemand.com/#/entity/sap.m.ObjectStatus/sample/sap.m.sample.ObjectStatus

Isolated Example

No response

Reproduction steps

  1. go to https://sap.github.io/ui5-webcomponents-react/?path=/docs/data-display-objectstatus--docs
  2. using JAWS navigate to the ObjectStatus
  3. notice the content is prefixed with "group start" and "group end"

Expected Behaviour

Expect no aria role on the element

Screenshots or Videos

No response

UI5 Web Components for React Version

1.29.2

UI5 Web Components Version

1.24.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

SuccessFactors

Declaration

Lukas742 commented 1 week ago

Hi @ee92

according to Screen Reader support guidelines, inactive ObjectStatus should be announced as group. If you're working for SAP and have access to our internal systems, I can send you the resources (please contact me internally for this), otherwise you will unfortunately have to take my word for it.