My place in the WordPress community
- I have had a wordpress.org account since 2006.
- I contributed to WordPress core for versions 7.0 and 7.1.
- I maintain 30 plugins on wordpress.org.
- I organise and speak at WordCamps.
- I have attended every WordCamp Europe from 2017 to 2026.
- Local WordPress meetup: WordPress Leeds
A Next.js app where users post content that other users can see may be a regulated service under the UK Online Safety Act 2023. That covers a community forum, a marketplace with reviews and messages, a social feature inside a larger product. I am Mariusz Szatkowski, a solo developer in Gdynia, building Next.js applications remotely and in writing, with WordPress since 2006. This page reads the Act on legislation.gov.uk, section by section. I am not a lawyer, and what the duties mean for your business is a question for your adviser.

Leeds Civic Hall, a landmark and not a client reference. Photograph by Tim Green (CC BY 2.0), via Wikimedia Commons.
Does the Online Safety Act apply to my Next.js app?
Section 3 defines a “user-to-user service” as an internet service by means of which content generated directly on the service by a user, or uploaded to or shared on it by a user, may be encountered by another user. Two clarifications matter for a builder. It does not matter whether content is actually shared, as long as the service has a functionality that allows sharing. And it does not matter what proportion of the content is user-generated.
Section 4 then makes such a service a “regulated user-to-user service” if it has links with the United Kingdom and no exemption applies. Links exist in two ways:
- the service has a significant number of UK users, or the UK is one of its target markets (or the only one)
- the service can be used in the UK and there are reasonable grounds to believe user-generated content on it presents a material risk of significant harm to people in the UK
The exemptions sit in Schedule 1, which I have not read for this page. A plain brochure site with no user content is outside section 3. A site with a comment box, a review form or a direct messaging feature needs a closer look. Ofcom is the regulator named in the Act, and it publishes its own guidance and codes of practice on ofcom.org.uk. This page does not summarise them. Read them before you decide how far your duties go.
Which duties apply to every regulated app?
Section 7(2) lists what all providers of regulated user-to-user services must do for each service:
- carry out an illegal content risk assessment (section 9)
- follow the illegal content safety duties in section 10(2) to (8)
- operate content reporting (section 20)
- operate a complaints procedure (section 21)
- have particular regard to freedom of expression and privacy (section 22(2) and (3))
- keep records and review (section 23(2) to (6))
Section 7(4) adds the children’s duties, section 11 (children’s risk assessment) and section 12(2) to (13), for services likely to be accessed by children. Section 7(5) adds a further set for Category 1 services, which are listed in a register Ofcom keeps under section 95. Most small apps will not be on that register, but I have not checked the thresholds, and I do not claim any app is outside it.
What does the illegal content risk assessment cover?
Section 9(2) requires a suitable and sufficient illegal content risk assessment, and section 9(3) and (4) require it to be kept up to date and repeated before any significant change to the design or operation of the service. Section 9(5) lists what it looks at. Several items read like a code review checklist:
- the user base
- the risk of users encountering each kind of priority illegal content, taking into account algorithms and how easily, quickly and widely content may be disseminated
- the risk of the service being used to commit or facilitate a priority offence
- the functionalities that facilitate illegal content or priority offences, identifying those with higher risk
- how the design and operation, including business model, governance and moderation, reduce or increase the risks
The wording about algorithms and about functionalities is the part a developer can feed. A feed that ranks by engagement, a share button, an open direct-message channel, image upload: each is a functionality that the assessment has to weigh. Section 9(4) also means that a planned feature, such as adding public profiles, triggers a further assessment before it ships. I would put the assessment date and the feature list it covered in the repository, next to the roadmap, so a pull request that adds a functionality can point at it.
When is an app likely to be accessed by children?
The children’s duties apply when a service is “likely to be accessed by children”. Section 37 gives three cases. In the first, a children’s access assessment by the provider concludes that it is possible for children to access the service or a part of it, and the child user condition is met. In the second, the provider fails to carry out the first children’s access assessment as required by section 36(1), and the service is treated as likely to be accessed by children from the date the assessment was due. In the third, Ofcom determines after an investigation that the service should be treated that way.
The second case is the one to notice. Skipping the assessment does not leave the service outside the children’s duties. It puts it inside them by default.
When does the Act require age verification or age estimation?
Section 12(3)(a) requires proportionate systems to prevent children of any age from encountering primary priority content that is harmful to children. Section 12(4) says this requires the provider to use age verification or age estimation, or both, to prevent children from encountering that content when the provider identifies it on the service. Section 12(5) carves out one case. The requirement applies for each kind of such content, except where a term of service says that kind is prohibited on the service and the policy applies to all users.
If the requirement does apply, section 12(6) sets the bar: the age verification or age estimation must be of a kind, and used in such a way, that it is highly effective at correctly determining whether a user is a child. The kinds of content that count as primary priority are defined elsewhere in the Act, and I have not read that part for this page.
Section 20(6) points the same way from another angle. A provider may only conclude that children cannot access a service, or a part of it, if age verification or age estimation is used with the result that children are not normally able to access it.
Does a self-declared date of birth count?
No. Section 230 defines the terms. Age verification is any measure designed to verify the exact age of users of a regulated service. Age estimation is any measure designed to estimate the age or age range of users. Subsection (4) then says a measure that requires a user to self-declare their age, without more, is not to be regarded as either one.
So the familiar “enter your birth year” field is not a compliant age check where section 12(4) applies. It can still be a harmless UI element elsewhere, and it can be one input to a larger flow, but the words “without more” say it cannot carry the duty alone.
How would an age check sit in a Next.js build?
The Act sets the outcome, not the technology, and the choice of method belongs to the provider and its adviser. Ofcom’s guidance on what counts as highly effective is on ofcom.org.uk. I could not open those pages from my tools while preparing this page, so I do not describe them here. What the Next.js documentation does say is relevant to where the result is checked.
The Next.js authentication guide separates optimistic checks from secure ones. A proxy check reads only the session cookie and is meant for quick redirects. The guide says it should not be the only line of defence, and that most checks belong close to the data source, in a data access layer. The mutating-data guide adds that Server Functions are reachable by direct POST requests, so every one must verify authentication and authorization itself.
For an age gate that means the check cannot live in a button that hides a component. A sketch of the pattern, with my own field names:
// app/lib/age-gate.ts
import 'server-only'
import { verifySession } from '@/app/lib/dal'
export async function requireAgeAssured() {
const session = await verifySession()
// 'passed' is set only by the age assurance provider's callback
if (session.ageAssurance !== 'passed') {
throw new Error('Age assurance required')
}
return session
}Every route handler, Server Action and data query that returns age-restricted content calls it. The authentication guide also says session payloads should carry the minimum data and no personally identifiable information, so the session holds only the outcome of the check, not a birth date or a document image. That is a design choice of mine, not a requirement of the Act. Section 22(3) does require the provider to have particular regard to the privacy rules that apply when deciding on safety measures, which includes data protection law.
Who can report content, and how do complaints work?
Section 20(2) requires systems that let users and affected persons easily report illegal content, and for services likely to be accessed by children, content harmful to children on parts children can access. Section 20(5) defines an affected person as someone in the United Kingdom who is not a user and who is the subject of the content, a member of a group targeted by it, a parent or carer of a child who is a user or the subject, or an adult assisting another adult.
The build consequence is direct: the report form must work without an account. A Server Action behind a login would exclude exactly the people the section names. Because Server Functions are reachable by direct POST, a public report action needs its own abuse protection, since the login cannot provide it.
Section 21 asks for a complaints procedure that is easy to access, easy to use, including by children, and transparent. The listed complaints for all services include:
- a user whose content was taken down as illegal
- a user who was warned, suspended or banned for content the provider considered illegal
- a user whose content was restricted by proactive technology in a way not contemplated by the terms of service
- users and affected persons who think the provider is not complying with sections 10, 20 or 22(2) and (3)
For children’s services section 21(5) adds parallel complaints about content harmful to children and about the children’s safety duties. In a Next.js build this becomes a small state machine per complaint with an audit trail: who complained, about what, what action was taken, when the user was told. The tables and the status page are ordinary engineering, and they are worth designing before the first complaint arrives.
What can a developer take from this?
Section 10(4) and section 12(8) say the duties apply across a service, including design, algorithms, terms of use, moderation, user support and staff policies, where it is proportionate. In practice a Next.js team ends up with a short list of artefacts: the assessment and its date, a feature list tied to it, the age-check outcome stored per session, a public report form, a complaints flow with history, and terms that match what the system really does.
None of that is a legal opinion. The first step is for the provider to decide, with an adviser, whether the app is regulated at all.
Selected projects
Examples of my work.
E-commerce Development: kochamruch.pl
kochamruch.pl is a website for a community focused on movement and physical activity, with content publishing and stable technical foundations.
E-commerce Development: kredytywarszawa.pl
kredytywarszawa.pl is a WordPress website for a business offering loans and financial services, focused on clear services, performance, and basic security.
E-commerce Development: led-lumina.pl
led-lumina.pl is a professional online store that presents a comprehensive range of innovative LED solutions for both individual and business customers. The ...
See also in Great Britain
Need this service: Next.js developer in Leeds?
Describe your project by e-mail. I reply within 24 hours.
Describe your projectExplore other WordPress services and knowledge base
Migration to Astro, Next.js, and headless WordPress.
WooCommerce sync with ERP and wholesale systems.
Business process automation around WordPress and company systems.
Library of concrete automation use cases.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Related categories
Supporting articles

Six to sixteen weeks for typical engagements, with a four-phase shape: discovery, scoping, build and cutover, tuning. The variables are catalogue size, integration count, URL preservation, and editorial team readiness, not framework choice.

A definitive 4-year Total Cost of Ownership (TCO) analysis, real-world Core Web Vitals benchmarks, Astro 7 GraphQL APQ architecture, and a 10-point executive decision matrix for choosing between decoupled and traditional WordPress.

The Shopify Plus vs WooCommerce headless decision in 2026 is no longer a binary "platform vs custom" trade-off. Both can run headless, both integrate AI, both ship at the edge. The real axes are control, total cost over five years, and exit strategy. This article walks the matrix with confirmed platform facts.