LegalYour cookie banner is illegal. AEPD compliance for 2026
Legal
STT// ONLINE

Your cookie banner is illegal. AEPD compliance for 2026

USR//AldeaCode Team
DAT//
LOC//EN

Forbidden Practices

  • βœ• Pre-checked boxes
  • βœ• Cookie Walls (without alternative)
  • βœ• "Reject" button less visible

Mandatory Requirements

  • βœ“ Visual Symmetry (Accept/Reject)
  • βœ“ Granular Consent
  • βœ“ Permanent access to settings

1. The Visual Symmetry Rule

This is the most critical change. It is no longer valid to place a giant green β€œACCEPT ALL” button and a tiny text link to β€œreject”.

The AEPD requires that the action of rejecting cookies be at the same level and with the same ease as the action of accepting them. The user should not have to make more clicks to say β€œno” than to say β€œyes”.

Google has updated its APIs to respect these decisions without losing all analytics data.

ad_storage='denied'

Google Ads will not read or write advertising cookies. No remarketing.

analytics_storage='denied'

GA4 will work in "ping" mode without cookies. You lose session ID, but keep event counts.

Implementation (Before loading GTM)

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}

// 1. Set default state: ALL DENIED
gtag('consent', 'default', {
  'ad_storage': 'denied',
  'ad_user_data': 'denied',
  'ad_personalization': 'denied',
  'analytics_storage': 'denied'
});

// 2. Load GTM/GA4
// ...

Only when the user clicks β€œAccept”, you trigger the update:

gtag('consent', 'update', {
  'ad_storage': 'granted',
  'analytics_storage': 'granted'
  // ...
});

3. Accessibility: The Forgotten WCAG 2.1

Your banner must be accessible by keyboard and screen readers.

  • Visible Focus: When tabbing, you must see where you are.
  • Color Contrast: Gray text on black background must have a 4.5:1 ratio.
  • Semantics: Use <button>, not <div onclick="...">.

4. Dark Patterns Audit

If your banner does this, change it now:

πŸ˜΅β€πŸ’« Confusing Wording

"Accept to improve your experience" (Doesn't explain what you accept).

🐌 Obstruction

"Reject" takes you to a new page where you have to uncheck 50 boxes one by one.

πŸ‘» Visual Interference

Transparent banner background making legal text illegible.

5. Frequently Asked Questions (FAQ)

Can I use "Legitimate Interest" for cookies?

For advertising and analytics, NO. TCF v2.2 has eliminated legitimate interest for these purposes. Requires explicit consent.

If I use only technical cookies, do I need a banner?

You don't need consent (accept/reject banner), but you do need to inform (accessible cookie policy).

Does your banner scare users away?

We design ethical solutions that comply with the law and maximize acceptance rates.

Check My Compliance

For complete ethical data management, discover how to implement Global Privacy Control (GPC) and secure your technical assets under GDPR Technical Security.