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

Presets Panel: Low Contrast on Icon Buttons #5452

Open
derekjackson-das opened this issue Jan 24, 2025 · 0 comments
Open

Presets Panel: Low Contrast on Icon Buttons #5452

derekjackson-das opened this issue Jan 24, 2025 · 0 comments
Labels
♿ a11y Accessibility

Comments

@derekjackson-das
Copy link
Collaborator

derekjackson-das commented Jan 24, 2025

Issue Description

The icon buttons in the presets menu are below the WCAG criteria of 3:1 for non-text content.

Related to:

Derived from #5187 .

WCAG Criteria

1.4.11 Non-text Contrast - AA

Screenshot or Screen Recording

Image

Relevant Code

<button class="m-0 h-full rounded-md bg-transparent p-2 text-gray-400 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200">

Notes

A small increase in the darkness will improve the contrast. For example, using #424242 improves the contrast significantly, or changing the .text-dark-grey-400 class to .text-dark-grey-600.

Image

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

No branches or pull requests

1 participant