Opened 4 years ago

Last modified 4 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:

Description

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 4 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: http://webaim.org/resources/contrastchecker/ http://www.msfw.com/accessibility/tools/contrastratiocalculator.aspx

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

comment:2 Changed 4 years ago by Mike Gifford

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

https://drupal.org/node/134359

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 4 years ago by Jakub Ś

Status: newconfirmed
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy