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
449 stars 101 forks source link

AnalyticalTable: a11y issue - Table Header Element has children which are not allowed: [role=separator] #6515

Open fushizen opened 1 month ago

fushizen commented 1 month ago

Describe the bug

Using axe devtools (a plugin used by the internal A11y team to check for issues) there is an issue with critical impact for the AnalyticalTable. The issue detected by the tool is: Element has children which are not allowed: [role=separator]

image

Isolated Example

https://sap.github.io/ui5-webcomponents-react/v1/?path=/story/data-display-analyticaltable--tree-table

Reproduction steps

  1. Go to the storybook for analytical table
  2. Open axe devtools in dev console
  3. Issue is highlighted for the table header

image

Expected Behaviour

Component to not have a11y issues detectable by the tool

Screenshots or Videos

No response

UI5 Web Components for React Version

v1.24.x

UI5 Web Components Version

v1.24.x

Browser

Edge

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

SAP

Declaration