Opened 11 years ago

Last modified 10 years ago

#10588 confirmed New Feature

WCAG color contrast info in color picker

Reported by: Sebastian Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


Reported on blog comment section

I'd love to see WCAG color contrast info in the CKEditor color picker. Either the ratio of foreground to background color, as this site provides, or a simple WCAG A, AA, or AAA status.

Change History (3)

comment:1 Changed 11 years ago by Matt Clare

The WCAG2 conformance requirements are: LEVEL A: 3:1 LEVEL AA: 4.5:1 LEVEL AAA: 7:1

Here are two examples of a JavaScript based contrast ratio calculators:

Last edited 11 years ago by Matt Clare (previous) (diff)

comment:2 Changed 10 years ago by Mike Gifford

This is what we've tried to do in Drupal:

It's still an open issue in Drupal 8, but hopefully it gets in before the release. Still needs more work to be done.

I'm not sure what can be pulled from this for use with CKEditor, but especially since Drupal 8's shipping with CKEditor there might be some room for overlap.

comment:3 Changed 10 years ago by Jakub Ś

Status: newconfirmed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy