Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting WCAG requirements. #79

Open
Horiatu opened this issue Jun 8, 2015 · 3 comments
Open

Supporting WCAG requirements. #79

Horiatu opened this issue Jun 8, 2015 · 3 comments
Labels
type: idea Feature requests
Milestone

Comments

@Horiatu
Copy link

Horiatu commented Jun 8, 2015

I would extend this to support WCAG requirements for contrast.
Basically, the picker will store two colors (for foreground and background) and calculate the contrast ratio.

Not sure how to calculate the contrast but good resources are:
http://contrast-finder.tanaguru.com/
http://leaverou.github.io/contrast-ratio/
http://www.colorsontheweb.com/colorcontrast.asp
all above are missing a picker, also are not implemented as an extension.

(I would also be pleased to be able to call the extension from the configuration phase of my project assuming that the tool was intalled.)

@kepi
Copy link
Owner

kepi commented Jun 17, 2015

That sounds interesting. Not sure about last part - how you want to call the extension exactly?

@kepi kepi added the type: idea Feature requests label Jun 17, 2015
@kepi kepi added this to the some day milestone Jul 25, 2016
@kepi
Copy link
Owner

kepi commented May 28, 2022

similar to #107

@Horiatu
Copy link
Author

Horiatu commented May 30, 2022

My initial comment is 7 years old.
In the mean time, I've built an extension to do that:
"WCAG Luminosity Contrast Ratio Analyzer" - https://chrome.google.com/webstore/detail/wcag-luminosity-contrast/lllpnmpooomecmbmijbmbikaacgfdagi
And later, Google developer tools has included some of the functionality I'm providing there.
However, my extension provides more goodies, suggesting alternate accessible color sets and names for appropriate colors. It also support filters to see a page in challenged visions (may not work anymore, sorry - some deprecated function in JS have invalidate this feature. The code is now many years old and, although I have upgraded it on my computer, Google Developer program does not accept it anymore, or require too much effort from me to re-deploy...)
Give it a try, tell me what you think.

@kepi kepi modified the milestones: maybe, feature Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: idea Feature requests
Projects
None yet
Development

No branches or pull requests

2 participants