2 MIN READ
Blog Post
Ron_Katz
Community Member
Great Demo, Johnathan. That was a great way to show good from bad.
How is the ratio calculated?
How is the ratio calculated?
Jonathan_Hill
4 years agoSuper Hero
Thanks Ron. I used the WebAim Color Contrast checker (others are available!) to obtain the ratios based on the hex code for each text color against the white background.
Then I made individual circular pngs containing these figures and replaced the button on the slider through a series of state changes based on its position.
Then I made individual circular pngs containing these figures and replaced the button on the slider through a series of state changes based on its position.