Skip to content

Compliance Rules

The compliance checker runs all rules below on every save. Error-severity rules block the save (or are enforced at runtime). Warning-severity rules are advisory but legally significant.

idseverityregulationhumanMessage
reject_all_hiddenerror Article 7(3) GDPR; CNIL 2020/091 §2.3The Reject button must be visible on the first screen. Hiding it violates GDPR Article 7(3).
pre_ticked_checkboxeserror Planet49 CJEU C-673/17Non-necessary category toggles cannot be visually pre-checked. Pre-checking invalidates consent.
shadow_glow_asymmetryerror EDPB 05/2020 §86Accept and Reject buttons must have equal visual weight. Shadow/glow only on Accept is a dark pattern.
buttons_visually_unequalwarning EDPB 05/2020 §86; CNIL 2020/091 §2.3Differing colors, sizes, or weights between Accept and Reject create imbalanced choice architecture.
brand_nudge_on_acceptwarning EDPB 05/2020 §86Coloring Accept in brand hue while Reject stays neutral is a choice-architecture dark pattern.
dark_pattern_color_psychologywarning EDPB 05/2020Green Accept + Red Reject exploits color psychology to nudge consent.
tap_target_too_smallwarning WCAG 2.1 Level AA §2.5.5Button tap target below 44px min-height violates WCAG AA accessibility.
font_weight_asymmetrywarning EDPB 05/2020 §86Accept button with significantly heavier font than Reject is a visual nudge.
accept_more_prominent_sizewarning EDPB 05/2020 §86Accept button with more padding than Reject creates asymmetric visual hierarchy.
consent_expiry_too_longwarning CNIL 2020/091 §2.5Consent expiry > 365 days is non-compliant in most EU jurisdictions.
decline_cooldown_too_shortwarning CNIL 2020/091Re-showing the banner fewer than 180 days after a Reject constitutes harassment.
missing_privacy_policywarning GDPR Article 13Privacy policy link must be present in the banner.
missing_cookie_policywarning ePrivacy Directive Article 5(3)Cookie policy link must be present in the banner.
  • id — the machine-readable rule identifier used in API responses and the data-rule attribute on <ComplianceCallout> components.
  • severity — error rules are blocking; warning rules are advisory. Treat warnings as errors if you operate in high-enforcement jurisdictions (France, Germany, Netherlands).
  • regulation — the specific regulatory reference (GDPR article, EDPB opinion section, CNIL decision, CJEU case, WCAG criterion).
  • humanMessage — plain-language explanation of the rule.