# Setting up and connecting the TYPO3 extension

Step by step – install the extension, create a token, connect a site, verify the domain and start the first scan from TYPO3.

**In short**

- The extension does not scan on its own – it connects a TYPO3 site to its website in the service, starts scans there and fetches the published statement.
- Only a TYPO3 administrator can connect a site, with three values from the “Embedding” tab.
- Each site is connected on its own, to its own website and with its own token in the service.

The extension connects one site of your TYPO3 installation to its website in the service. Scans run in the service, in a real browser; TYPO3 starts them, shows the open findings, guides you along the way to the statement and embeds the published statement as a content element. The extension adds no script, no widget and no styling to your pages.

Labels from the TYPO3 core (module groups, scheduler, user groups) appear here as the English backend shows them. Labels of the *Accessibility* module appear as the extension shows them in English.

## Before you start

- **TYPO3 13.4 LTS or 14.3 LTS** with PHP 8.2 to 8.5 and the system extension `fluid_styled_content`.
- **In TYPO3**, an administrator account to connect. Afterwards editors can scan, view findings and follow the way to the statement too: [Setting up and connecting the TYPO3 extension](https://barrierepruefung.de/en/help/typo3-setup#rechte).
- **An `encryptionKey`** in the installation (*Admin Tools → Settings*). Without it the token cannot be stored securely, and the extension does not connect.
- **In the service**, an account with the role “Owner” or “Administration”. Only these roles see the “Embedding” tab where the token is created.
- **For the statement text:** the content element only shows a **published** statement. Scanning and viewing findings work before that; publishing is included from the Starter plan.

## 1. Install the extension

With Composer:

```
composer require barrierepruefungde/typo3
vendor/bin/typo3 extension:setup
```

`extension:setup` creates the table for the connection. Without Composer, download the extension with the key `barrierepruefung` from the TYPO3 Extension Repository, activate it under *Admin Tools → Extensions* and run *Admin Tools → Maintenance → Analyze Database Structure*. The first release in the Extension Repository and on Packagist is still pending.

Run `extension:setup` or *Analyze Database Structure* again after every update.

The source code is in the [extension's public repository](https://github.com/lukasboc/barrierepruefung-typo3).

## 2. Add the website in the service

In the service under “Websites” → “Add website”. Enter the address the TYPO3 site is reachable at – as it appears as *Base* in the site configuration.

The extension only connects if both addresses belong together: **the same host and the same port**. A leading `www.` does not count, nor do scheme and path. So `https://www.example.org/` and `https://example.org/` match, `https://example.org/` and `https://museum.example.org/` do not. What counts is the address of the default language; languages on their own domains do not.

## 3. Create a token

In the service, open “Websites” → your website → “Embedding” tab, section “Token for WordPress or TYPO3”. Enter a “Label” – say “TYPO3 example.org” – and choose “Create token”.

The service now shows three values: “API token”, “Site ID” and “Service address”.

**The token is shown this one time only.** Copy it before you choose “I have saved the token”. If it gets lost, create a new one.

The token is valid for this one website only. It may start scans and read results and the statement. If the statement is also to be prepared and published from TYPO3, tick “May prepare and publish the statement from WordPress or TYPO3” – or grant the permission later with “Allow publishing”, without entering the token in TYPO3 again: [Publishing the statement from TYPO3](https://barrierepruefung.de/en/help/typo3-publish#recht-fehlt).

## 4. Connect the site in TYPO3

In the TYPO3 backend you find the *Accessibility* module in the module group *Site Management* (TYPO3 13.4) or *Sites* (TYPO3 14.3). It has four sub-modules: *Overview*, *Findings*, *Statement* and *Way to the statement*. You choose them at the top of the module, next to the site (*Site: …*).

Choose *Overview* and the site. Under the heading *Connect site* there are three fields:

- ***API address*:** prefilled with `https://barrierepruefung.de/api/v1`. It is the “Service address” from the “Embedding” tab; leave it as it is.
- ***Website ID*:** the “Site ID” from step 3.
- ***Token*:** the “API token”, complete. It is stored encrypted in the database, never in the site configuration, and is not shown again.

Then the *Connect* button. The extension checks token and ID with the service, compares the addresses and saves only once everything matches. The message reads “Connected. This site is now connected to its website in the service; the proofs for the domain are served from now on.”

If it fails, the message starts with “Not connected” and names the reason: [TYPO3 does not connect, or shows an old statement](https://barrierepruefung.de/en/help/typo3-troubleshooting#verbinden).

## 5. Verify the domain

The service only scans a website once its domain is verified. The overview then shows “not confirmed” under *Domain* and the button *Confirm domain*.

The extension serves the proof for every connected site itself, in two ways:

- as a **meta element** on the start page – also on a start page that was already in the page cache before connecting,
- as a **file** at `/.well-known/a11y-site-verification.txt`.

*Confirm domain* asks the service to look for the meta element first, then for the file. If it succeeds, it says “The domain is confirmed” and which way worked. You do not need a DNS record.

**A site under a path** (say *Base* `https://example.org/museum/`) can only be verified with the meta element: the service always looks for the file at the root of the host, and that is not where this site answers. The module says so for such a site.

The service re-checks the verification regularly. If you disconnect, the site no longer serves the proof, and the verification is lost at the next re-check. If verification fails: [TYPO3 does not connect, or shows an old statement](https://barrierepruefung.de/en/help/typo3-troubleshooting#domain).

## 6. Start the first scan

*Check now* at the top of the module starts a scan in the service; a double click does not start a second one. Depending on the size of the site it takes a few minutes. The module does not refresh itself – *Refresh status* shows the progress. Afterwards *Latest check* shows the result and the number of open findings, and the *Findings* sub-module lists the open, binding findings per rule with their occurrences.

**Assessing** findings – “not a defect”, “won’t fix”, “disproportionate burden” – happens in the service only, where the images of the occurrences are: [Reviewing findings](https://barrierepruefung.de/en/help/reviewing-findings). *Open in the service* leads there.

Next: prepare and publish the statement ([Publishing the statement from TYPO3](https://barrierepruefung.de/en/help/typo3-publish)), then place it on a page ([Showing the statement in TYPO3: the content element](https://barrierepruefung.de/en/help/typo3-embedding)).

## Several sites

Each site of your TYPO3 installation is connected on its own – to its own website in the service whose address matches its *Base*, and with that website’s token. A token is only ever valid for the one website it was created for. For a city portal and a museum on its own domain, you add two websites in the service and create two tokens.

The selection *Site: …* at the top of the module lists the sites whose root page lies in your web mount. What you choose applies to all four sub-modules.

## Backend permissions

- **Connecting and *Disconnect*** are for TYPO3 administrators only. Everyone else sees, for a site that is not connected, the sentence “An administrator can connect it.”
- **Each sub-module needs its own module permission.** Open the backend user group record, *Access Rights → Modules*, and tick the sub-modules one by one. A group that only has *Overview* does not see *Findings*, *Statement* and *Way to the statement*.
- **The person also needs a web mount containing the site.** Without it the site does not appear in the selection. That is deliberate: in the service, the token acts for the whole organisation.
- **Creating the statement page** needs the usual permissions to create pages and content elements below the start page; TYPO3 checks them itself.

## Disconnecting

*Disconnect* in the overview removes the connection and the token from the database. The site then no longer serves the domain proof, and the module no longer starts scans. The website in the service and its results remain, and the token stays valid until you “Revoke” it in the “Embedding” tab.

## What the extension transmits

The extension only talks to the address stored in the connection. It sends the site ID and the token, plus what you enter in the *Way to the statement* sub-module: answers to manual checks with their notes, the details of the declaring body, the answers of the applicability check and the mandatory details. On release it sends the reason for a different conformance statement, if any, and also the name of the person releasing – the full name from their backend user account, or the username if there is none –; it is recorded in the version: [Publishing the statement from TYPO3](https://barrierepruefung.de/en/help/typo3-publish#verantwortung). It does **not** send content of your pages or data about your visitors.

Requests go to the service when you connect, verify the domain, start a scan, open a sub-module, save or publish along the way to the statement, choose *Compare now*, and when the scheduler task runs. Also when a page with the statement has to fetch it again: as a rule at most every 60 minutes per site, while the service is down every 5 minutes: [Showing the statement in TYPO3: the content element](https://barrierepruefung.de/en/help/typo3-embedding#zwischenspeicher).

---

Last checked against the product: 2026-11-23 · https://barrierepruefung.de/en/help/typo3-setup
