Checks for proper cookie consent banners with accept/reject options
Analyzes websites for cookie consent banners and GDPR compliance mechanisms. This checker detects the presence of cookie consent interfaces, validates the availability of both accept and reject options, and assesses whether users have proper control over their cookie preferences.
The Cookie Consent Checker performs a comprehensive analysis of cookie consent implementations on websites:
Banner Identification: Scans for cookie consent banners using multiple CSS selectors and patterns
Visibility Assessment: Ensures detected consent mechanisms are actually visible to users
Button Analysis: Identifies and categorizes available user options (accept, reject, settings)
Content Analysis: Extracts banner text and analyzes the consent mechanism type
Accept Options: Presence of buttons to accept cookies (e.g., "Accept All", "Allow")
Reject Options: Presence of buttons to decline cookies (e.g., "Reject All", "Essential Only")
Privacy Links: Detection of privacy policy or cookie policy links
Granular Controls: Identification of preference management options
Default Behavior: Analysis of whether non-essential cookies are blocked by default
Uses browser automation to load pages realistically
Monitors cookie setting behavior before and after user interactions
Analyzes DOM structure for consent-related elements
Supports multiple consent banner formats (modals, banners, overlays)
| Status | Condition | Description | Test Logic |
|---|---|---|---|
| 🟢 SUCCESS | Banner with both accept and reject options | A cookie consent banner is detected with both accept and reject functionality available | hasConsentBanner() == true AND hasAcceptAllOption() == true AND hasRejectOption() == true |
| 🟡 WARNING | Banner present but missing accept or reject option | A cookie consent banner is found but lacks either accept or reject functionality | hasConsentBanner() == true AND (hasAcceptAllOption() == false OR hasRejectOption() == false) |
| 🔴 FAIL | No consent banner detected | No visible cookie consent mechanism is found on the page | hasConsentBanner() == false |
Success: "Cookie consent banner found with both accept and reject options"
Warning: "Cookie consent banner found but missing [accept/reject/both accept and reject] option(s)"
Fail: "No cookie consent banner detected"
The checker provides detailed information in the response data:
Complete consent mechanism analysis (CookieConsentData)
Detected banner selectors and text content
Available user options and button types
Cookie behavior before and after consent actions
Privacy policy link presence
Consent mechanism classification (None, Binary Choice, Accept Only, Granular)
GDPR Violations: Fines up to €20 million or 4% of annual turnover for non-compliance
Privacy Law Violations: Breach of CCPA, LGPD, and other regional privacy regulations
Legal Action: Potential lawsuits from users whose privacy rights were violated
Regulatory Investigations: Scrutiny from data protection authorities
User Trust Loss: Visitors may lose confidence in your brand's data handling practices
Reduced Conversions: Poor consent experience can lead to higher bounce rates
Competitive Disadvantage: Non-compliant sites may be avoided by privacy-conscious users
Brand Damage: Negative publicity from privacy violations
Analytics Gaps: Incorrect consent implementation can lead to incomplete data collection
Ad Revenue Loss: Improper consent may reduce advertising effectiveness and revenue
Integration Issues: Third-party services may not function correctly without proper consent
Cookie Blocking: Modern browsers may block tracking without valid consent
Accessibility Issues: Poor consent interfaces may exclude users with disabilities
Mobile Usability: Inadequate mobile consent experiences frustrate users
Performance Impact: Poorly implemented consent can slow page loading
Confusion: Unclear consent options lead to user frustration and abandonment
Add this checker to your monitoring setup and start identifying issues on your websites today.