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

fix(angular/tabs): allow focus on disabled tabs #1781

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mhaertwig
Copy link
Collaborator

According to the WCAG best practices focus should be allowed on disabled tabs (see https://w3c.github.io/aria-practices/#kbd_disabled_controls). These changes update our tabs to be in line with the recommendation.

According to the WCAG best practices focus should be allowed on disabled tabs (see https://w3c.github.io/aria-practices/#kbd_disabled_controls). These changes update our tabs to be in line with the recommendation.
@mhaertwig mhaertwig marked this pull request as draft January 16, 2023 15:27
@mhaertwig
Copy link
Collaborator Author

mhaertwig commented Jan 16, 2023

I mark this PR as draft because currently it's not clear how to style tabs that are disabled and focussed.
Moreover, in the current solution active and focussed tabs are not highlighted either.

test

@kyubisation
Copy link
Collaborator

We probably need to discuss this with @mcilurzo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants