Closed sh0ji closed 3 years ago
This will probably be helpful in #154 and #153.
Issue linked to JIRA Story: NDS-20
Hi @sh0ji
Just wanted to mention that if there are concerns regarding backwards compatibility to WCAG 2 contrast, we've released Bridge-PCA, which is backwards compatible to WCAG 2, but using APCA technology. There's a simple demonstrator and how-to at https://www.myndex.com/BPCA/
And both BridgePCA and APCA W3 are available on NPM.
npm i bridge-pca
npm i apca-w3
Questions and comments welcome in the discussion forum: https://github.com/Myndex/SAPC-APCA/discussions
Very cool, thanks for sharing, @Myndex! And thanks for everything you're doing to improve the way we evaluate color. We'll look into using these libraries.
Our books currently use Bootstrap's
color-yiq
function to set automatic text color on background-color bleeds, but we cannot currently support that in the design system. Let's do some research on this and implement something that can be used to accomplish it.References
NDS-20