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.5k stars 260 forks source link

[SF_ACC][ui5-list]: AXE error of grouping list #9684

Open GongRichard opened 1 month ago

GongRichard commented 1 month ago

Bug Description

AXE error of grouping list

Affected Component

ui5-list

Expected Behaviour

no AXE error

Isolated Example

No response

Steps to Reproduce

  1. open demo page
  2. run AXE tool scan
  3. check error

Log Output, Stack Trace or Screenshots

image image

Priority

Medium

UI5 Web Components Version

1.24.x

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SAP SuccessFactors

Declaration

unazko commented 1 month ago

Hello @SAP/ui5-webcomponents-topic-p,

The issue is reproducible with 1.24.8 patch in the sample page: https://sap.github.io/ui5-webcomponents/v1/components/List/ Open the "Grouping" snippet into edit mode and run AXE tool.

According to the accessibility standard it is allowed to use a group element containing "option" elements into a listbox. https://www.w3.org/TR/wai-aria-1.2/#listbox

For the list role however there is no group role in

Required Owned Elements

section https://www.w3.org/TR/wai-aria-1.2/#list

Best regards, Boyan