Skip to content
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

[Donut Chart]: A11y - Focus on hidden element not visible to user causes A11y issue. #6683

Open
1 task done
Brahmansh opened this issue Dec 2, 2024 · 0 comments · May be fixed by #6686
Open
1 task done

[Donut Chart]: A11y - Focus on hidden element not visible to user causes A11y issue. #6683

Brahmansh opened this issue Dec 2, 2024 · 0 comments · May be fixed by #6686
Labels
bug Something isn't working

Comments

@Brahmansh
Copy link

Describe the bug

There is a tabindex=0 on element which causes element to get focussed on tab but not visible to the user. When all children have tabindex = -1, parent element should also have tabindex = -1.
And because of this on press tab, it appears loss of focus to the user.

Isolated Example

No response

Reproduction steps

  1. Go to https://sap.github.io/ui5-webcomponents-react/v2/?path=/story/charts-donutchart--default
  2. Press tab inside
  3. Inspect document.activeElement on dev console.

Expected Behaviour

Hidden element shouldn't be focussed on tab.

Screenshots or Videos

Screenshot 2024-12-02 at 12 15 26 PM

UI5 Web Components for React Version

v2.4.0

UI5 Web Components Version

v2

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
1 participant