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

[BUG] - Focus management of Tabs Bar is broken when it's scrollable #3342

Open
o-hook opened this issue Jun 12, 2024 · 0 comments
Open

[BUG] - Focus management of Tabs Bar is broken when it's scrollable #3342

o-hook opened this issue Jun 12, 2024 · 0 comments
Labels
a11y bug Something isn't working code community community request component Adds or changes of the components to be refined issue has to be refined
Milestone

Comments

@o-hook
Copy link
Contributor

o-hook commented Jun 12, 2024

Bug Description

Focus management is broken after tabbing through the scrollable container of Tabs Bar component. This might be due that the p-scroller component get's an tabindex="-1" if the inner "scroll-area" get's blurred.

Example video:
https://github.com/porsche-design-system/porsche-design-system/assets/40788023/7e413822-167a-4851-9ff3-8216bb1e93c0

Contact Details

Slack: https://porschedev.slack.com/archives/CT7AVHTTQ/p1718177906400209

JS Framework

all

Porsche Design System version

3.16.0-rc.0

On which device(s) you can see the bug?

all

In which browsers you can see the bug?

all

Browser version

all

Reproduction Example

Storefront: https://designsystem.porsche.com/latest/components/tabs-bar/examples#gradient-color

Steps to reproduce the behavior

  1. Go to https://designsystem.porsche.com/latest/components/tabs-bar/examples#gradient-color
  2. Tab through the tab-bar example forwards and backwards
  3. after first focus of scrollable container, it is not possible to focus this container again. Therefor also the tab-items can't get focus state

Expected behavior

Focus management should always work

Relevant log output

No response

@o-hook o-hook added bug Something isn't working component Adds or changes of the components to be refined issue has to be refined code community community request a11y labels Jun 12, 2024
@o-hook o-hook added this to the Accessibility milestone Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y bug Something isn't working code community community request component Adds or changes of the components to be refined issue has to be refined
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant