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(card): added focus on click #5083

Merged
merged 2 commits into from
Feb 3, 2021
Merged

fix(card): added focus on click #5083

merged 2 commits into from
Feb 3, 2021

Conversation

raphaelamadeu-zz
Copy link
Contributor

Related Ticket(s)

#4744

Description

Added focus on click for the card component, as Safari would faltly consider body as the active element when the card was clicked, this caused an accessibility bug where the focus would be trapped inside ExpressiveModal even after closed.

Copy link
Contributor

@guilhermelMoraes guilhermelMoraes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍🏻

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Feb 3, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Feb 3, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Feb 3, 2021

@jeffchew jeffchew added the Ready to merge Label for the pull requests that are ready to merge label Feb 3, 2021
@kodiakhq kodiakhq bot merged commit fe6db84 into carbon-design-system:master Feb 3, 2021
IgnacioBecerra pushed a commit to IgnacioBecerra/ibm-dotcom-library that referenced this pull request Feb 22, 2021
### Related Ticket(s)

carbon-design-system#4744 

### Description

Added focus on click for the card component, as Safari would faltly consider `body` as the active element when the card was clicked, this caused an accessibility bug where the focus would be trapped inside `ExpressiveModal` even after closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants