What Is Website Compliance? The Legal Pages Every Website Needs in the EU, UK and US (2026)
Imprint, privacy policy, terms, cookie consent and accessibility: which legal pages a website needs in the EU, Germany, the UK, the US and Canada, what each must contain, and the law behind every requirement.
Also available in: DeutschУкраїнська
"Website compliance" sounds like one thing, but it is a handful of separate duties from different laws: telling visitors who you are, what you do with their data, on what terms you deal with them, asking before you track them, and making the site usable for everyone. Each duty usually ends up as a page or a component: the imprint, the privacy policy, the terms, the cookie banner and the accessibility statement.
Which of these you need depends less on where your server is than on where your business and your customers are. This guide compares the EU (with Germany as the strictest example), the UK, the US and Canada, duty by duty. Every requirement links to the provision behind it on legalgraph.org, our open knowledge graph of website law.
Researchers, not lawyers. Aimix studies how website rules are written and applied. This guide is an orientation, not legal advice; for decisions that matter, ask a lawyer admitted in your country.
The overview
| Page | EU | Germany | UK | US | Canada |
|---|---|---|---|---|---|
| Imprint / legal notice | Required | Required, strictly enforced | Required | No general duty | No general duty |
| Privacy policy | Required | Required | Required | California and several states; children | Required |
| Terms | If you contract online; rules on their content | Same, plus strict rules for subscriptions | Same | Rules for subscriptions | Ontario: disclosure for online contracts |
| Cookie consent | Opt-in | Opt-in | Opt-in, some analytics opt-out | Opt-out of "selling or sharing" (California) | Meaningful consent |
| Accessibility | Online shops and other services, since June 2025 | Same | Equality law | Courts apply the disability law to websites | Varies by province |
1. Who you are: the imprint (legal notice)
In the EU, the E-Commerce Directive, Article 5(1), requires every provider of an online service to make basic information "easily, directly and permanently accessible": name, geographic address, email address and another fast way of contact, the trade register and number, the supervisory authority if the activity needs a licence, professional details for regulated professions, and the VAT number. Every EU country has implemented this, so a legal notice is required across the EU, not only in Germany.
In Germany, the same list lives in § 5 of the DDGDigitale-Dienste-Gesetz (German Digital Services Act)German law that has required the Impressum (§ 5 DDG) since May 2024. It replaced the TMG. and is called the ImpressumLegal notice (German: Impressum, also Anbieterkennzeichnung)The legal notice German websites must publish: who runs the site and how to reach them.. What makes Germany special is not the content but the enforcement: competitors can send an AbmahnungFormal warning letter (German competition law)A formal warning, often from a competitor's lawyer, demanding that you stop a legal violation. for a missing detail, and fines reach €50,000. We cover it in depth in What is an Impressum? and in our study of 389 real Impressum pages.
In the UK, the rule survived Brexit almost word for word in regulation 6 of the Electronic Commerce Regulations 2002. Companies must, in addition, show their company details on their websites: registered name, registered number, the part of the UK where they are registered and the registered office address.
In the US and Canada, there is no general imprint law. California is a partial exception: an electronic commercial service offering goods or services to consumers must show its name, address and phone number, its charges and how to complain. And any business selling to Europeans should keep a legal notice anyway.
2. What you do with data: the privacy policy
In the EU and the UK, the GDPRGeneral Data Protection Regulation, (EU) 2016/679 (German: DSGVO)The EU's data protection law. It governs how websites collect and use personal data, for example through forms and analytics. and the UK GDPR require you to inform people whenever you collect their data, and the privacy policy is how websites do it. Article 13 lists what it must contain: who you are, the purposes and the legal basis, the recipients, transfers outside the EU, how long you keep data, and people's rights. A website without a privacy policy is almost never compliant, because every site processes at least IP addresses. Our GDPR Website Compliance Checklist goes through it point by point.
The GDPR also reaches businesses outside the EU that offer goods or services to people in the EU, or track them (Article 3(2)).
In the US, there is no federal privacy law for websites in general. Instead:
- California's Consumer Privacy Act (CCPACalifornia Consumer Privacy Act, as amended by the California Privacy Rights ActCalifornia's privacy law for larger businesses: a detailed privacy policy, consumer rights and the right to opt out of the sale or sharing of data.) applies to for-profit businesses that do business in California and have annual revenue above about $25 million (adjusted for inflation), or buy, sell or share data of 100,000 or more consumers or households, or earn at least half of their revenue from selling or sharing personal data. Such businesses need a detailed online privacy policy and, if they sell or share data, including for cross-context advertising, a "Do Not Sell or Share My Personal Information" link on their home page.
- Below those thresholds, California's older online privacy law (CalOPPA) still requires a privacy policy on any commercial website that collects personal information from California residents. In practice, that makes a privacy policy standard for US websites too.
- More than a dozen other states have passed privacy laws similar to the CCPA, each with its own thresholds.
- Sites directed at children under 13 must follow the Children's Online Privacy Protection Act: a children's privacy notice and verifiable parental consent.
In Canada, the federal private-sector law requires organisations to be open about their privacy practices, in a form that is generally understandable and available without unreasonable effort: in practice, a privacy policy.
3. On what terms: terms and conditions
No law in the EU, UK or US says that every website must have terms and conditions. But if you sell, offer accounts or subscriptions, or want to limit your liability, you need terms, and then the law decides whether they count and what they may say:
- Unfair terms don't bind consumers. In the EU, a term not individually negotiated is unfair if, contrary to good faith, it creates a significant imbalance to the consumer's detriment. In the UK, an unfair term is not binding on the consumer.
- Terms must be part of the contract. In Germany, standard terms apply only if you expressly refer to them when the contract is concluded, the customer can take note of them, and agrees. A link somewhere in the footer is not enough; link them in the checkout.
- Subscriptions must be easy to end. In Germany, if consumers can conclude a contract on your website, they must be able to cancel it there with a cancellation button labelled "Verträge hier kündigen" (BGBBürgerliches Gesetzbuch, the German Civil CodeGermany's civil code. For websites, it governs online contracts with consumers, standard terms and the cancellation button. § 312k). Since 19 June 2026, online sellers in the EU must also offer a withdrawal function on their interface. In California, automatic renewal terms must be shown clearly before the purchase, with the price after any free trial, and consumers who signed up online must be able to cancel online. The UK has passed similar subscription rules, expected to apply from 2027.
- Online shops have further duties at checkout: pre-contract information, a summary before the order, and an order button that makes clear the order costs money, such as the UK's "order with obligation to pay".
4. Asking before you track: cookie consent
This is where the EU and the US differ most.
- In the EU and Germany, storing or reading anything on a visitor's device that is not strictly necessary needs prior consent (opt-in): analytics, advertising pixels, most embeds.
- In the UK, consent is the rule too, but since February 2026 first-party analytics to improve your site and functionality cookies may run with a clear notice and a free opt-out.
- In the US, there is no general consent requirement for cookies. California treats sharing data for cross-context advertising, which advertising cookies and pixels typically do, as "sharing" that consumers can opt out of, and businesses must honour browser opt-out signals such as Global Privacy Control.
- In Canada, consent must be meaningful: people must be able to understand what they agree to.
For the details, including Google Analytics, the Meta Pixel and YouTube embeds, read Cookie Banner Rules 2026.
5. Usable by everyone: accessibility
- In the EU, the European Accessibility Act requires that services covered by it are accessible since 28 June 2025. For websites, that mainly means online shops and other e-commerce services for consumers, along with banking, transport and e-books. Microenterprises that provide services (fewer than 10 employees and no more than €2 million turnover or balance sheet) are exempt.
- In Germany, the implementing law is the BFSGBarrierefreiheitsstärkungsgesetz (German Accessibility Strengthening Act)German law implementing the European Accessibility Act. Since 28 June 2025, many consumer e-commerce services must be accessible. (§ 3). Covered shops must also publish accessibility information. The technical yardstick is the European standard based on WCAGWeb Content Accessibility Guidelines (W3C)International guidelines for accessible websites, with levels A, AA and AAA. Level AA is the usual legal benchmark. level AA.
- In the US, the Americans with Disabilities Act (ADAAmericans with Disabilities Act of 1990The US civil rights law against disability discrimination. Courts apply it to websites of businesses open to the public.) prohibits discrimination in places of public accommodation. It does not mention websites, but courts in many circuits and the Department of Justice apply it to the websites of businesses open to the public, and thousands of lawsuits are filed each year. For state and local governments, a federal regulation now sets WCAG 2.1 AA as the standard.
The short version
- Selling to EU customers? Imprint, privacy policy, cookie consent (opt-in), terms that are fair and incorporated, and accessibility for online shops.
- In Germany? All of the above, done carefully, because warning letters make small mistakes expensive.
- UK customers? The same structure, with company details on the website and a lighter rule for first-party analytics.
- US only? A privacy policy (California makes it near-universal), opt-out rights where you share data for advertising, clear subscription terms, and an accessible site.
- Canada? A clear privacy policy and meaningful consent.
Find the rules that apply to your website
Which of these rules apply to you depends on a few facts: where your business is, whether you sell to consumers, whether you are a company, how big you are. The checklist on legalgraph.org asks exactly those questions and lists the matching rules for the EU, Germany and other EU countries, the UK, Switzerland, the US and Canada, each linked to its provision, in its original language and in English. You can also explore the graph to see how the rules connect: which national laws implement which EU directive, and which rules share a provision.
It runs entirely in your browser and is free and open: the data is published under a Creative Commons licence, so developers of website builders and shop systems can build on it too.
This guide provides general information about website legal requirements and does not constitute legal advice. For your specific situation, consult a qualified lawyer.