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 links on the news grid cards #47

Open
demi-johnson opened this issue Nov 26, 2021 · 0 comments
Open

Fix links on the news grid cards #47

demi-johnson opened this issue Nov 26, 2021 · 0 comments

Comments

@demi-johnson
Copy link
Contributor

demi-johnson commented Nov 26, 2021

The USWDS link component guidance states:
Don’t rely on color alone to distinguish links. Site visitors should be able to distinguish text links from surrounding text. In most cases, include an underline or bottom border on text links, in addition to a consistent link color. Text links not distinguished with an underline need a contrast level of at least 3:1 with their surrounding text (the same as AA Large, or a USWDS magic number of 40) and should show an underline on hover.

In the latest edition of the News Grid template, I removed the underline from the text link because I didn't like the visual look of underlined text on a card. How can show an underline on hover?

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

No branches or pull requests

1 participant