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

Placeholder text in search box is hard to see and has low contrast #306

Open
thisisalistairsaccount opened this issue Dec 18, 2024 · 0 comments
Assignees

Comments

@thisisalistairsaccount
Copy link

On the projects page, the search box that includes the text "Type to search" is quite hard to read and the contrast is really low.
image

Input box is: rgb(235,236,240)
Placeholder pseudoclass is: color: rgb(235, 236, 240);
Contrast ratio is 1.18, well below WCAG of 4.5 as https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html

Suggested colours that would meet are listed at the bottom of https://app.contrast-finder.org/result.html?foreground=rgb%28235%2C+236%2C+240%29&background=rgb%28255%2C+255%2C+255%29&ratio=4.5&isBackgroundTested=false&algo=HSV&lang=en

Using one of the options, rgb(107, 114, 140) which has a ratio greater than 4.5, gives the following result:
image

@DaveDarsa DaveDarsa self-assigned this Dec 19, 2024
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

2 participants