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][1.8.0] need add aria description to list #6181

Closed i323808 closed 1 year ago

i323808 commented 1 year ago

Bug Description

Currently we cannot add aria description to ui5-list.

Expected Behavior

We need add aria description to ui5-list.

Steps to Reproduce

  1. Go to https://sap.github.io/ui5-webcomponents/playground/components/List/
  2. There is no property for aria-description

Isolated Example

If possible, please provide an isolated example by forking CodeSandbox.

Context

Log Output / Stack Trace / Screenshots

{...}

Priority

The priority indicates the severity of the issue. To set the appropriate priority consider the following criteria:

Note: The priority might be re-evaluated by the issue processor.

Stakeholder Info (if applicable)

plamenivanov91 commented 1 year ago

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

The reporter wants to be able to configure the aria description to the ui5-list Web Component.

I noticed that the desired aria can't be configured on the List in the OpenUI5 too.

I guess that the description is not supported for the List Web Component but can you confirm it ?

Regards, Plamen Ivanov

dobrinyonkov commented 1 year ago

Hello @i323808,

The handling of descriptions is not that clear at this point due to limitation related to shadow DOM, so this should be handled carefully and centrally. For this we created https://github.com/SAP/ui5-webcomponents/issues/6445 where you could read detailed information related to the descriptions as well as track the process of implementation.

Thank you for reporting!

Dobrin