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 focus edge cases #1265

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

Fix card focus edge cases #1265

wants to merge 1 commit into from

Conversation

mxmason
Copy link
Member

@mxmason mxmason commented Apr 29, 2021

Closes #1208

Summary

This PR addresses an edge case in the way we style :focus-within on the resource cards: if the user focused within a card and then clicked outside the browser window, the card title would turn black, while the rest of the text remained white.

@mxmason mxmason added styling Issues dealing with our Sass/CSS. accessibility Issues dealing with accessibility. labels Apr 29, 2021
@mxmason mxmason self-assigned this Apr 29, 2021
@boring-cyborg boring-cyborg bot added javascript Issues dealing with JavaScript. markup Issues dealing with markup labels Apr 29, 2021
@mxmason mxmason removed javascript Issues dealing with JavaScript. markup Issues dealing with markup labels Apr 29, 2021
@SaptakS
Copy link
Member

SaptakS commented Apr 30, 2021

I am not able to reproduce #1208 anymore after @ericwbailey refactored the card resources. Can you tell me the steps to reproduce so I can verify that it's fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Issues dealing with accessibility. styling Issues dealing with our Sass/CSS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inaccessibility: Low contrast .c-card__additional in Featured Resource Card
2 participants