Check if your React app is compliant before people start using it

Updated November 17, 2026

There's a growing cottage industry of people who scan small websites for compliance gaps and send demand letters. They don't look for big companies. They look for apps that launched fast and skipped the boring parts. Most of what they find is easy to fix once you know it's there.

This isn't legal advice. It's the list of things worth checking in code, so you know which questions to bring to a lawyer.

Privacy

  • A privacy policy exists and is linked from the footer and the signup form.
  • It matches what your code does. If you load analytics, a pixel or a session recorder, the policy has to say so. A policy that says "we never share your data" next to an ad pixel is worse than no policy.
  • You only collect what you use. Every extra form field is something you have to protect and explain.

Cookies and tracking

  • If you have visitors in places with consent rules, non-essential trackers shouldn't load before consent.
  • "Reject" should be as easy as "Accept".

Accessibility

  • Every image has alt text, every input has a label, every icon-only button has an aria-label.
  • Keyboard users can reach everything. No positive tabIndex, no div with only an onClick.

Automated audits for these are cheap to run, which is exactly why missing labels and alt text show up so often in complaints.

Subscriptions

  • The price, the renewal period and how to cancel are next to the subscribe button.
  • Users can cancel online, as easily as they signed up.

Accounts and age

  • If you have accounts, users can delete theirs.
  • If children might use the app, check whether you need age gating or parental consent.

Check it in code, on every change

Periderm runs these checks with the rest of its 150+ rules: missing or unlinked legal pages, a policy that contradicts the trackers in your code, missing labels and alt text, subscription buttons without renewal terms, and more. Each finding names the file and the fix:

npm i -g periderm-cli
periderm scan

It tells you what's missing in your app. Which laws apply to you is a question for a lawyer, and you'll have a much shorter list to bring them.

more guides