-
Notifications
You must be signed in to change notification settings - Fork 94
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
Insufficient contrast on highlighted suggestion #425
Comments
You can customize the style as you want, see https://github.com/easyops-cn/docusaurus-search-local?tab=readme-ov-file#custom-styles |
Thanks; I didn't see that. But, please consider shipping with default colors that meet accessibility requirements. Simply overriding Instead, I had to use I wound up with, e.g.,
|
What's your actual color setting of Edit: could you post a screenshot? |
The contrast between the background color and text on the highlighted result in the suggestions dropdown is insufficient and fails WCAG recommendations for accessibility.
It's poor in light mode, and unreadable in dark mode.
Please update the module stylesheet to use higher contrast colors for the highlighted result.
The text was updated successfully, but these errors were encountered: