UI5 / UI5/webcomponents

[Table][a11y]: Focus is not set to newly added row when Load More is clicked on Growing Table

Open
#14,057 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Medium Prio TOPIC TBL
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Description

Describe the bug

We have an a11y bug from internal a11y team for table component. On Growing table when user pressed Enter on Load More button, new set of records are loaded. The focus still stays on the Load More if still more records are available or it is lost if there is no more record to fetch.
Expectation is: Focus should be set on the first row of newly loaded records.

Isolated Example

https://ui5.github.io/webcomponents-react/v2/?path=/docs/data-display-table--docs#growing-table

Reproduction steps
  1. Navigate to https://ui5.github.io/webcomponents-react/v2/?path=/docs/data-display-table--docs#growing-table
  2. Go to Growing section of the decumentation
  3. navigate to "More" button and press enter
  4. Observe focus stays on the More button
Expected Behaviour

Focus should be set on the first row of newly loaded records.

Screenshots or Videos

No response

UI5 Web Components for React Version

V2.26.2

UI5 Web Components Version

V2.26.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

Successfactors

Declaration
  • I’m not disclosing any internal or sensitive information.

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.

Research direction

Reproduce the issue in the Growing Table example linked in the report by activating More with Enter, then trace the Growing Table focus behavior as records are appended. Verify that focus moves to the first row of the newly loaded records both when more records remain and when loading reaches the end.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.