Test CasesEU

EU ePrivacy Directive Cookie banner UX test cases

Use these test cases to check whether a cookie banner lets users make, refuse, change, and prove Article 5(3) consent choices before non-essential storage or access occurs.

Built for privacy, product, analytics, marketing, engineering, and CMP owners who need concrete pass/fail checks rather than generic cookie-banner advice.

Author
Sorena AI
Published
May 9, 2026
Updated
May 26, 2026
Sections
7

Structured answer sets in this page tree.

Primary sources
7

Cited legal and guidance references.

Publication metadata
Sorena AI
Published May 9, 2026
Updated May 26, 2026
Overview

These EU ePrivacy banner UX test cases focus on storage of, or access to, information on a user's terminal equipment under Article 5(3). Each test states the user journey, the expected result, the evidence to keep, and what the test proves about consent quality.

Section 1

Test the Article 5(3) trigger before testing the banner

Start each test run by classifying the technologies loaded on the page. Article 5(3) is triggered when the service stores information on, or gains access to information already stored in, a user's terminal equipment unless a narrow technical or strictly necessary exemption applies.

Do not limit the inventory to browser cookies. EDPB technical-scope guidance covers storage and access patterns such as JavaScript-triggered network calls, tracking pixels, tracked URLs, local storage, application identifiers, and some IP-based or device-derived signals when they originate from terminal equipment.

  • Pass: before any choice, only cookies or similar technologies classified as transmission-only or strictly necessary are set or read.
  • Fail: analytics, advertising, social, A/B testing, personalization, affiliate, or tracking pixels fire before consent unless a documented exemption applies.
  • Evidence: network logs, browser storage snapshots, tag-manager version, CMP configuration, cookie inventory, purpose classification, and the exemption rationale for every item allowed before consent.
  • What this proves: the banner is not being used to ask for consent after the terminal-equipment access has already happened.
Section 2

Reject-all and equal-choice first-layer test

Open the page in a clean browser profile and inspect the first banner layer. If the layer offers an accept-all action for non-essential cookies, the test should look for a comparably available refuse, reject, or continue-without-accepting action at the same decision point.

The EDPB Cookie Banner Taskforce treated missing reject options and designs that push users toward consent as core banner issues. The test should therefore evaluate placement, wording, contrast, keyboard focus order, and whether refusal keeps the user on the requested content without non-essential storage or access.

  • Pass: the first layer presents accept and reject choices with clear wording, usable controls, and no misleading visual hierarchy that makes refusal hard to find or read.
  • Fail: the first layer has Accept all plus Settings only, hides refusal in paragraph text, makes the reject text unreadable, or implies that the site cannot be used unless the user accepts.
  • Evidence: screenshots at desktop and mobile widths, accessibility tree or tab-order capture, computed contrast for competing controls, CMP event logs, and a network trace showing non-essential tags remain blocked after rejection.
  • What this proves: the user had a genuine refusal path before consent-required terminal-equipment access occurred.
Section 3

Pre-ticked boxes and granular purpose-toggle test

Click into the settings layer and inspect every purpose, vendor, and technology toggle. Consent-required purposes should start off by default; the user's active selection should be needed before those purposes are enabled.

The test should also check granularity. If analytics, advertising, personalization, social plug-ins, and A/B testing are bundled behind one switch, the evidence should explain whether each purpose is being accepted separately or whether a single toggle is forcing consent to unrelated purposes.

  • Pass: consent-required categories and vendors are off by default, necessary items are visibly separated, and the user can accept one non-essential purpose without accepting all others.
  • Fail: any opt-in box is pre-ticked, opt-out wording requires the user to deselect agreement, or a broad bundled toggle silently enables several non-essential purposes.
  • Evidence: clean-profile screenshots of default settings, exported CMP configuration, purpose-to-tag map, vendor list, and a before-and-after storage diff for each toggle.
  • What this proves: consent was an affirmative, purpose-specific action rather than silence, inactivity, or a hidden opt-out construction.
Section 4

Withdrawal and change-my-choice test

After accepting non-essential cookies, test whether the same user can find a persistent route to change or withdraw consent. The route can be a footer link, privacy settings control, account setting, or CMP icon, but it must be available without unusual effort and without lowering the service level.

The withdrawal test is not complete when the UI flips a toggle. It should also confirm that consent-dependent tags stop, future reads or writes are blocked, downstream suppression signals are sent where used, and any deletion or retention behavior is documented.

  • Pass: a user can withdraw consent through the same website or app interface with effort comparable to giving consent, and non-essential tags stop after withdrawal.
  • Fail: withdrawal requires calling support, sending email, waiting for office hours, clearing browser storage manually, accepting degraded content, or hunting through unrelated pages.
  • Evidence: screen recording from accept to withdraw, timestamps, CMP consent-string changes, network traces before and after withdrawal, suppression logs, and the user-facing text that explained withdrawal before consent.
  • What this proves: consent remains reversible and under user control after the first banner decision.
Section 6

Analytics-toggle and exemption test

Analytics requires its own test because teams often misclassify it as necessary. First-party audience measurement may be lower risk, but it should not be treated as exempt unless the implementation matches documented conditions such as limited audience-measurement purposes, no cross-checking with other processing, single-publisher scope, IP truncation, limited tracker lifetime, user information, and an objection mechanism.

When those conditions are not met, analytics should behave like any other consent-required purpose: off before consent, controlled by a clear toggle, blocked after rejection, and stopped after withdrawal.

  • Pass: exempt analytics has documented conditions and an objection route, or non-exempt analytics is off until the user actively enables it.
  • Fail: analytics fires before consent because the team labels it necessary without an exemption analysis, shares identifiers across publishers, cross-checks with customer files, or uses third-party behavioral analytics as a necessary service cookie.
  • Evidence: analytics vendor configuration, IP truncation setting, tracker lifetime, data-sharing and cross-site controls, objection UI, purpose map, and network proof that analytics follows the recorded choice.
  • What this proves: the analytics toggle or exemption is based on the actual implementation rather than a generic analytics label.
Primary sources

References and citations

edpb.europa.eu
Referenced sections
  • Supports preserving banner-specific evidence because cookie complaints are assessed against concrete practices and national ePrivacy implementations.
"case-by-case verification"
edpb.europa.eu
Referenced sections
  • Supports keeping enough consent records to demonstrate how and when consent was obtained and what information was shown.
"demonstrate that valid consent has been obtained"
edpb.europa.eu
Referenced sections
  • Supports testing cookies, JavaScript, tracking pixels, tracked URLs, local processing, identifiers, and other terminal-equipment access patterns, not only classic cookies.
"Storage and access do not need to be cumulatively present"
digital-strategy.ec.europa.eu
Referenced sections
  • Commission context for ePrivacy as online-privacy and device-control policy material without adding national cookie-banner rules.
"future proof legal framework for online privacy"
ec.europa.eu
Referenced sections
  • Supports testing analytics against strict-necessity and purpose limits rather than assuming audience measurement is automatically exempt.
"First party analytics cookies are not exempt"
Related guides

Explore more topics

Are cookie walls allowed under the EU ePrivacy Directive?
FAQ answer on cookie walls under the EU ePrivacy Directive, covering freely given consent, refusal and withdrawal paths, banner evidence, and national-law caveats.
Do Analytics Cookies Require Consent under the EU ePrivacy Directive?
FAQ answer on analytics cookies under Article 5(3) ePrivacy, limited analytics exemptions, configuration evidence, consent logs, and national-law caveats.
ePrivacy cookie consent vs DSA ads obligations: source-limited comparison
Compare ePrivacy cookie and tracking-consent duties with DSA ads workstreams without merging consent, transparency, and evidence obligations.
ePrivacy Directive vs GDPR: cookies, communications, consent, and evidence
Compare the EU ePrivacy Directive and GDPR across subject matter, lex specialis overlap, terminal equipment, communications confidentiality, marketing, consent, enforcement, and evidence.
EU cookie banner requirements under the ePrivacy Directive
EU ePrivacy cookie banner requirements for non-exempt cookies and trackers: prior consent, reject choices, no pre-ticked boxes, withdrawal, analytics limits, cookie walls, and evidence logs.
EU ePrivacy analytics cookies: consent, exemption, and evidence guide
source-linked guide to analytics cookies under EU ePrivacy: Article 5(3) scope, when consent is usually needed, limited analytics exemptions, consent records, and evidence gaps.
EU ePrivacy Applicability Test for Cookies, SDKs, Pixels, Communications, and Marketing
A concrete EU ePrivacy Directive applicability test for electronic communications services, terminal-equipment storage or access, cookies, SDKs, pixels, local storage, direct marketing, GDPR overlap, and evidence.
EU ePrivacy Article 5(3) terminal equipment test
A source-linked Article 5(3) test for cookies, pixels, local identifiers, device APIs, strictly necessary exceptions, and consent evidence.
EU ePrivacy Confidentiality of Communications: Article 5 controls
Article 5 confidentiality guide for EU ePrivacy communications, traffic data, metadata, terminal-equipment access, consent limits, and GDPR interplay.
EU ePrivacy consent-log evidence workflow for cookies and trackers
Build an ePrivacy consent-log workflow that records cookie and tracker decisions, banner versions, consent signals, withdrawals, vendor evidence, and audit-ready outputs.
EU ePrivacy Cookie Scope Classifier Workflow
Classify cookies, pixels, SDKs, local storage, device identifiers, and analytics tracers under Article 5(3) ePrivacy rules, with consent and exemption evidence outputs.
EU ePrivacy direct-marketing consent checklist
Checklist for ePrivacy Directive direct-marketing messages: consent, soft opt-in, sender identity, opt-out handling, proof records, suppression, and national-law caveats.
EU ePrivacy Directive compliance calendar for cookies, consent, and marketing
source-linked ePrivacy calendar covering Directive milestones, Article 5(3) cookie reviews, consent evidence, direct marketing checks, and national-law follow-up.
EU ePrivacy Directive Compliance Checklist
A concrete ePrivacy checklist for terminal equipment access, cookie consent, exemptions, banner UX, direct marketing, confidentiality, GDPR interplay, and evidence records.
EU ePrivacy Directive Compliance Guide for Cookies, Marketing, and Communications
Practical ePrivacy Directive compliance checks for terminal equipment, communications confidentiality, cookie consent, exemptions, direct marketing, evidence, and national-law caveats.
EU ePrivacy Directive Cookies and Consent: Article 5(3), exemptions, and banner evidence
Cookie consent guide for the EU ePrivacy Directive: Article 5(3) scope, strictly necessary and transmission exemptions, consent UX, withdrawal, logs, analytics caveats, and GDPR interplay.
EU ePrivacy Directive direct marketing rules for electronic mail
source-linked guide to Article 13 ePrivacy Directive rules for electronic mail marketing, prior consent, customer soft opt-in, opt-out handling, sender identity, and Member State caveats.
EU ePrivacy Directive Enforcement and Fines
Source-grounded guide to ePrivacy Directive enforcement, national penalties, competent authorities, GDPR interplay, cookie-banner risk, and evidence limits.
EU ePrivacy Directive FAQ: cookies, consent, marketing, GDPR interplay
Answers to recurring EU ePrivacy Directive questions on Article 5(3), terminal-equipment access, cookie consent, exemptions, analytics, direct marketing, GDPR interplay, national enforcement, and evidence.
EU ePrivacy Directive Member State Cookie Rules
How to evidence EU ePrivacy cookie compliance when Article 5(3) is implemented through Member State law and national authority practice.
EU ePrivacy Directive Metadata and Location Data Guide
source-linked guide to EU ePrivacy Directive rules for traffic data, location data, anonymisation, consent, value-added services, Article 5(3) overlap, and national-law limits.
EU ePrivacy Directive penalties and fines: national enforcement caveats
source-linked guide to ePrivacy Directive penalty exposure, national transposition caveats, cookie enforcement evidence, consent defects, and GDPR overlap limits.
EU ePrivacy Directive Requirements: cookies, communications and marketing
source-linked map of EU ePrivacy Directive requirements for communications confidentiality, terminal-equipment access, consent, traffic and location data, and direct marketing.
EU ePrivacy Directive vs GDPR: cookies, communications, marketing, and evidence
Compare the EU ePrivacy Directive and GDPR by trigger, consent standard, lex specialis overlap, enforcement caveats, and evidence outputs for cookies, device access, communications, and marketing.
EU ePrivacy Directive vs UK PECR: source-limited cookie and marketing comparison
Compare EU ePrivacy Directive rules with a source-limited UK PECR workstream for cookies, terminal equipment, direct marketing, consent, soft opt-in, and evidence.
EU ePrivacy soft opt-in FAQ for email marketing
When Article 13(2) soft opt-in can support EU customer email marketing, including existing-customer, similar-offer, opt-out, sender-identity, suppression-list, and national-law checks.
EU ePrivacy soft opt-in marketing checklist
source-linked checklist for using the EU ePrivacy Directive soft opt-in exception for customer email marketing, opt-outs, sender identity, suppression records, and national-law caveats.
EU ePrivacy soft opt-in marketing review workflow
Review whether an EU electronic-mail marketing send can rely on the ePrivacy soft opt-in, with checks for customer relationship evidence, similar products, opt-out, sender identity, suppression records, and national-law caveats.
EU ePrivacy Strictly Necessary Cookie Exemptions
source-linked guide to the Article 5(3) ePrivacy exemptions for transmission cookies, requested-service cookies, analytics caveats, evidence, and national-law checks.
Is a reject-all button required for EU ePrivacy cookie consent?
Standalone FAQ answer on EU ePrivacy reject-all and refuse options for cookie banners, including equal prominence, deceptive UX, consent evidence, withdrawal, and national-law caveats.
Strictly Necessary Cookies under the EU ePrivacy Directive
FAQ answer on when EU ePrivacy Article 5(3) allows cookies without consent, with grounded examples, analytics caveats, evidence records, and national-law cautions.
What should CMP consent logs retain under the EU ePrivacy Directive?
FAQ answer on CMP consent logs for EU ePrivacy cookie consent: retained fields, consent validity signals, banner versioning, refusal and withdrawal events, proof limits, and national-law caveats.