pika icon indicating copy to clipboard operation
pika copied to clipboard

Failed WCAG contrast? Suggest values to fix

Open lloydi opened this issue 4 years ago • 1 comments

Alrighty, another thing to mull over :)

If the two colours fail WCAG contrast levels, provide a fix/adjust icon which, when activated, provides options to fix the contrast be either darkening the darker of the two colours until it passes, or lightening the lighter of the two until contrast ratio is good. Where one of the colours cannot be made any darker or lighter, then it'd have to be an adjustment to both.

What do you think?

lloydi avatar Apr 11 '21 21:04 lloydi

I think this ties into a suite of enhancements that I'd love to make, but that I'm unsure I have the bandwidth to implement and maintain. Currently Pika is very un-opinionated, and only represents the colours that the user picks—for example, you can't enter your own hex code (#57), or keep a history (#26). There are requests for those kinds of features, which would make it a more fully fledged colour management tool, but I'm not sure whether or not that makes sense in terms of the vision of the app as a tool to quickly and easily check colours onscreen, and it would be considerable work to implement in terms of the code and the additional UI complexity.

That said, I'd love to keep this open as a potential one for the roadmap, and see if it gets more thumbs up—especially as the amount of time I can commit may change in future.

Thanks for the suggestion!

superhighfives avatar Apr 12 '21 07:04 superhighfives