GoogleChromeLabs / ProjectVisBug

FireBug for designers › Edit any webpage, in any state https://a.nerdy.dev/gimme-visbug
https://visbug.web.app
Apache License 2.0
5.46k stars 286 forks source link

Better contrast checking #443

Open argyleink opened 4 years ago

argyleink commented 4 years ago

Fork or pull from these great functions https://github.com/GoogleChrome/accessibility-developer-tools

Todo:

argyleink commented 4 years ago

WCAG 3.0 has outlined the removal of AA and AAA https://w3c.github.io/silver/guidelines/#visual-contrast-of-text and provides the following js https://github.com/Myndex/SAPC/blob/master/JS/SAPCsRGB.js to demonstrate the update. Consider moving to the 3.0 standard.