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

Link color on site is inaccessible #33

Open
geoffrich opened this issue Nov 24, 2020 · 1 comment
Open

Link color on site is inaccessible #33

geoffrich opened this issue Nov 24, 2020 · 1 comment

Comments

@geoffrich
Copy link
Member

The current color for links has a color contrast ratio of 3.53 against a white background, which could make it difficult for people with low vision to read. This fails the recommended WCAG minimum contrast ratio of 4.5.

I discovered this while working on other Axe accessibility issues I found on the Svelte docs (sveltejs/svelte#5678).

Since this is the primary color in the theme changing this could have wide-ranging effects. If we don't want to change this color, we could use a different color for links that passes the recommended contrast ratio threshold.

Example of link:
link example

@geoffrich
Copy link
Member Author

Also, the text color used for blockquotes on the docs does not have have sufficient contrast.

Example:
image

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