Opened 11 years ago
Last modified 11 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:2 Changed 11 years ago by
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 11 years ago by
Status: | new → confirmed |
---|
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