Utilities » Accessibility ContrastLink
Since: 3.2.0 Private New IssueCalculates the contrast ratio between two colors, for use in accessibility contrast calculations. See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests Based on Sérgio Gomes's accessibility work.
More info: https://medium.com/dev-channel/using-sass-to-automatically-pick-text-colors-4ba7645d2796
_accessibility.scss, line 72
View Source