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

Create checker for link color contrast stuff #15

Open
3 tasks
HRemonen opened this issue Jan 16, 2024 · 0 comments
Open
3 tasks

Create checker for link color contrast stuff #15

HRemonen opened this issue Jan 16, 2024 · 0 comments

Comments

@HRemonen
Copy link
Owner

Links add more complexity to the color contrast requirements.
Links should be underlined, otherwise the text must have at least 3:1 contrast with the surrounding body text. Also links must have hover and focus indicators.

Additionally the link text and the body text must have at least 4.5:1 (small text) contrast with the background or 3:1 with large text.

Create a new "feature" that is used solely for checking the contrast ratios of links

  • Input for link color (the text of the link)
  • Input for the body text color (the color of the text that is surrounding the link)
  • Input for the background color (the color that is surrounding the paragraph or whatever)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant