Responsive Foundation 6.0.0

Sidebar

Utilities » Accessibility ContrastLink

Sérgio Gomes Since: 3.2.0 Private New Issue

Calculates 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

Source: _accessibility.scss, line 72 View Source