[A11y][ui5-list]: Checkbox accessible names are not unique and do no match label

Open
#10,666 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start with the UI5-List implementation in the TypeScript repository and reproduce the problem using the linked isolated example with selection mode set to Multiple. Compare the checkbox announcements with the visible labels and review issue 6861 for context. Done means each checkbox has a unique accessible name that matches its physical label.

Written by the indexing model from the issue text.

Description

ACC Design Pending feature request SAP SF TOPIC P
Bug Description

This issue has previously been brought up in https://github.com/SAP/ui5-webcomponents/issues/6861

For a list that has select mode set to multiple the checkboxes accessible names are not unique and do not match the physical labels on the list. This is in violation of ACC264.3

Affected Component

UI5-List

Expected Behaviour

When using AT like JAWS we expect the checkboxes to be announced with unique accessible names. Additionally, these names should match the visual label used to label the checkbox.

Isolated Example

https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/data-display-list--docs

Steps to Reproduce
  1. Using JAWS navigate to https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/data-display-list--docs
  2. set selection mode to "Multiple"
  3. tab to the list items
  4. notice that announcement for the checkboxes lack description and clarity
    ...
Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

latest

Browser

Chrome

Operating System

Mac OS

Additional Context

This issue has already been discussed in https://github.com/SAP/ui5-webcomponents/issues/6861 which has been closed. However, important information has been added to the issue since it has been closed. Hence, I am opening this issue. Please refer to original issue's conversation for additional context which is pertinent to the issue at hand.

Organization

No response

Declaration
  • I’m not disclosing any internal or sensitive information.
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UI5/webcomponents

All issues in UI5/webcomponents

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.