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

[Feature request]: keep already set tabindex on buttons #3079

Closed
3 tasks done
stefan-schubert-sbb opened this issue Sep 11, 2024 · 3 comments
Closed
3 tasks done

[Feature request]: keep already set tabindex on buttons #3079

stefan-schubert-sbb opened this issue Sep 11, 2024 · 3 comments

Comments

@stefan-schubert-sbb
Copy link

Preflight Checklist

Request type

Request for enhancement of a component

It affects the following packages

Components

Functionality

Actually button components set initially a tabindex to 0, but ignore already set tabindex in markup. Is it possible to recognize already set tabindex on button components?

Link to design proposal file

No response

@jeripeierSBB
Copy link
Contributor

would it also work by setting inert attribute to the button component or it's parent in your case?

@stefan-schubert-sbb
Copy link
Author

No, with inert a element is not focusable at all. I only want to exclude the element from the tabindex.

@jeripeierSBB
Copy link
Contributor

We are sorry that we can't provide support in this case. We will close this issue for now.

@github-project-automation github-project-automation bot moved this from sbb.ch Priority to Done in ESTA Web Lyne Design System Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants