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.52k stars 263 forks source link

[Table]: incorrect row count for "growing" table #9243

Closed ee92 closed 2 months ago

ee92 commented 3 months ago

Bug Description

The row count includes an extra row in addition to the header and table rows.

Affected Component

ui5-table

Expected Behaviour

table with one item should have row count 2 (1 for the header, and 1 for the item)

Isolated Example

No response

Steps to Reproduce

  1. go to playground
  2. use a screen reader
  3. navigate to table
  4. notice "table with 5 columns and 8 rows" is read, though there are only 6 items

Log Output, Stack Trace or Screenshots

image

Priority

None

UI5 Web Components Version

1.24.1

Browser

Chrome

Operating System

No response

Additional Context

Thank you

Organization

SuccessFactors

Declaration

hinzzx commented 3 months ago

Hi @ee92,

Could you please provide what screen reader are you using as I am using JAWS and am getting different outputs ? As it is growing on scroll, for me when selecting item from the table, the screen reader (JAWS in my case) reads its information, and at the end it reads for example - "2 of 7", meaning the second item out of 7.

When scrolling and new items append to the table it reads it - "2 of 11", "2 of 14", etc.

@SAP/ui5-webcomponents-topic-core , colleagues could you please tell if thats the desired behaviour ?

Regards, Stoyan

ee92 commented 3 months ago

The issue is happening with JAWS, as well as MacOS voiceover when the table is navigated to

Here is JAWS:

image
ilhan007 commented 2 months ago

Expected to be released with 1.24.8 and 2.1.0 in the beginning of Aug