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

[SF][A11y][AXE][ui5-list]AXE errors for checkbox in list item for ui5-list MultiSelect mode #5437

Closed GongRichard closed 2 years ago

GongRichard commented 2 years ago

Bug Description

AXE errors for checkbox in list item for ui5-list MultiSelect mode

Expected Behavior

No AXE error

Steps to Reproduce

  1. Go to 'https://sap.github.io/ui5-webcomponents/playground/components/List/'
  2. run chrome browser axe plugin to scan the page
  3. you will find there two axe errors which were related with checkbox in list item for ui5-list MultiSelect mode

Context

Log Output / Stack Trace / Screenshots

Error1: Ensures ARIA attributes are allowed for an element's role

image

Error2: Ensures every ARIA toggle field has an accessible name

image

Priority

Stakeholder Info (if applicable)

nnaydenow commented 2 years ago

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

Could you please check the issue? Seems like there is aria-label attribute to ui5-checkbox but I think that it should be changed to accessible name.

Regards, Nayden