Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List: assistive technologies, list item does not have ul or ol element #10359

Open
1 task done
tkeiner opened this issue Dec 11, 2024 · 1 comment
Open
1 task done
Labels
ACC bug This issue is a bug in the code Low Prio TOPIC P

Comments

@tkeiner
Copy link

tkeiner commented Dec 11, 2024

Bug Description

For Lists to be read correctly from assistive technologies like screen readers a certain structure is required.
According to the Fiori ACC guidelines the ui5-list is currently not following the guidelines. When using a tool like the "Access Assisstent" the following issue is found:

This LI does not have a ul element (without an ARIA-assigned role); ol element (without an ARIA-assigned role); an element with a role set to the value: list as a parent; or a ul element (without an ARIA-assigned role), ol element (without an ARIA-assigned role) or element with a role set to the value 'list' with an aria-owns attribute set to the ID of the element in the same DOM.

image

The issue cant be resolved by users because the li element is controlled by the web components.

Affected Component

ui5-list

Expected Behaviour

List should have correct structure to allow content to be read by assistive technology.

Isolated Example

https://sap.github.io/ui5-webcomponents/components/List/#basic-sample

Steps to Reproduce

No response

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

2.5.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@tkeiner tkeiner added the bug This issue is a bug in the code label Dec 11, 2024
@plamenivanov91
Copy link
Contributor

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

Could you please take over?

Regards,
Plamen Ivanov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACC bug This issue is a bug in the code Low Prio TOPIC P
Projects
Development

No branches or pull requests

2 participants