cta_contrast
Max severity: MediumMeasuredWorks from URL aloneCTA Button Contrast Check (WCAG AA)
What it measures: Computed foreground-to-background luminance contrast ratio of the primary CTA button text in headless Chromium.
cta_contrast
Max severity: MediumMeasuredWorks from URL aloneWhat it measures: Computed foreground-to-background luminance contrast ratio of the primary CTA button text in headless Chromium.
Ghost buttons, pastel brand palettes, white text over bright cyan or lime buttons, and semi-transparent hero buttons often look subtle on a calibrated studio display—and turn nearly illegible on a phone screen outdoors or on an uncalibrated office monitor.
When your primary call-to-action blends into the hero background, paid visitors miss the visual anchor of the page. Enforcing the WCAG 2.1 AA 4.5:1 luminance contrast ratio ensures your primary conversion action stands out clearly across devices and lighting conditions.
Passes at >= 4.5:1 contrast ratio (WCAG 2.1 AA normal text). Below 4.5:1 → Medium fail.
Thresholds are deterministic constants in BounceLint's rule engine—zero language models run during checks.
CSS background images or complex multi-stop gradients behind transparent buttons use the nearest resolved solid background color.
Spot an unexpected outcome on your page? Every check in every report includes a one-click “Wrong finding?” button reviewed against our 32-page golden set.
G27 & BounceLint Self-LintGolden Case G27 renders a SaaS hero using light white text over a pale pastel button background. BounceLint’s own homepage uses #ffffff text on #1d4ed8 primary blue.
G27 fails Medium with computed CTA contrast well below the 4.5:1 WCAG AA minimum; BounceLint’s own primary CTA passes at > 6.5:1 contrast.
Darkening the button fill or switching light pastel buttons to dark ink immediately brings the CTA above 4.5:1 without redesigning the page.
Measure whether a real conversion CTA button sits inside the first 390×844 mobile viewport or gets pushed below the fold by stacked hero copy.
Detect floating chat launchers, promo bars, and sticky overlays covering your primary mobile CTA button on a 390×844 screen via hit-testing.
Count visible, enabled user-input fields in your hero lead form and flag high-friction forms that demand 5+ fields on cold paid clicks.
Try it live: Paid Landing Page Pre-Launch Checker · Landing Page Experience Below Average Guide · All 13 Checks · Message Match Checker