Skip to content

AnalyticalTable: Expand and Collapse row is not focusable #7147

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

Closed
1 task done
lakha26 opened this issue Mar 27, 2025 · 2 comments · Fixed by #7181
Closed
1 task done

AnalyticalTable: Expand and Collapse row is not focusable #7147

lakha26 opened this issue Mar 27, 2025 · 2 comments · Fixed by #7181

Comments

@lakha26
Copy link

lakha26 commented Mar 27, 2025

Describe the bug

Hi, the expand/collapse button in the Tree Table is not focusable using the Tab key. I want to add aria-expanded for accessibility so that when we press the Spacebar, it announces 'expanded,' and when pressed again, it announces 'collapsed.

Isolated Example

No response

Reproduction steps

Use tab to navigate to expand/collapse button.

Expected Behaviour

Expand and Collapse button in should be focusable via Tab.

Screenshots or Videos

Image

Image

Screen.Recording.2025-03-25.at.10.11.34.AM.mov

UI5 Web Components for React Version

1.29.18

UI5 Web Components Version

1.24.9

Browser

Chrome

Operating System

MAC

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@Lukas742 Lukas742 changed the title Tree Table: Expand and Collapse row is not focusable AnalyticalTable: Expand and Collapse row is not focusable Apr 3, 2025
@Lukas742 Lukas742 added the a11y label Apr 3, 2025
@Lukas742
Copy link
Contributor

Lukas742 commented Apr 3, 2025

Hi @lakha26

the linked PR will improve this behavior. Please note that the expand button is not included in the tab-chain and can therefore only be focused via pointer interactions. When using the keyboard to navigate the and the "expand" cell is focused, pressing Space will collapse/expand the row, which is also announced by screen readers.

@ui5-webcomponents-react-bot
Copy link
Contributor

🎉 This issue has been resolved in version v2.9.0 🎉

The release is available on v2.9.0

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

3 participants