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.47k stars 254 forks source link

[SF_ACC][Feature Request]: Support changing the additional instruction of List #7595

Closed ksblklu closed 9 months ago

ksblklu commented 9 months ago

Feature Request Description

When List have only one list item, screenreader announced as "To move to an item press the Arrow keys", we expect the instruction text to be removed when there is only on list item.

  1. Go to https://codesandbox.io/p/sandbox/goofy-lamport-yfytwd?file=/src/App.tsx:28,76
  2. Use keyboard arrow key to navigate the list litems with JAWS
  3. Observe the instruction label "To move to an item press the Arrow keys" was presented, but there is only one list item image

Proposed Solution

Support remove list navigate instruction label "To move to an item press the Arrow keys" when there is only one item presented.

Proposed Alternatives

No response

Organization

SuccessFactors

Additional Context

No response

Priority

Medium

Privacy Policy

plamenivanov91 commented 9 months ago

Hello @SAP/ui5-webcomponents-topic-p, take a look of this feature request

yanaminkova commented 9 months ago

Hello @ksblklu,

This is expected screen reader behaviour and can`t be controlled from our side.

Regards, Yana