# Showing the statement in TYPO3: the content element

How to place the statement on a TYPO3 page with the content element, choose a section and the heading level, and keep it up to date.

**In short**

- The content element “Accessibility statement” shows the statement published in the service as HTML in the page, with no script and no styling of its own.
- It shows the statement in the language it was approved in; it never translates.
- A new version is on the page after 60 minutes at most, with the scheduler task at its next run, and at once after a release from TYPO3.

The extension places the text of your accessibility statement on a page of your TYPO3 site – on your own domain and in the most recently published version. The text is written into the page on the server, so it is complete without JavaScript and for assistive technologies.

## Requirement

The site is connected ([Setting up and connecting the TYPO3 extension](https://barrierepruefung.de/en/help/typo3-setup)) and the statement is **published** in the service. The element never shows a draft.

As long as the site has never received a version, the element only shows the sentence “The accessibility statement cannot be shown at the moment. Please try again later.” – to your visitors too. So link the page only once the statement appears there.

## Creating a page with the statement

The quickest way: sub-module *Statement*, section *Create page with statement*, button *Create page with statement*. The extension creates a **hidden** page with the content element below the start page of the site; its title follows the default language of the site (“Barrierefreiheitserklärung” on a German site). It stays hidden until you make it visible in the page module. Then link it in the footer so it can be reached from every page.

Under *Pages with the statement* the sub-module lists every page that contains the element, with its language and state (*hidden* or *visible*) and the link *Open in the page module*.

## The content element

You can also place the element on a page yourself: in the new content element wizard under *Special elements*, element *Accessibility statement*. It shows the statement of the site the page belongs to. It has no header field – the statement brings its own headings.

| Field | Values | Effect |
| --- | --- | --- |
| *Part* | *Whole statement* (default), *Only the content that is not accessible*, *Only feedback and contact* | the whole statement, only the section with the known barriers, or only the contact section |
| *First heading level* | *Heading 2 (h2)* (default), *Heading 3 (h3)*, *Heading 4 (h4)* | level of the topmost heading output |
| *Version and date* | *Show* (default: on) | closing line “Version …, Stand …” |

### Showing one section

*Only the content that is not accessible* looks for the section “Nicht barrierefreie Inhalte” (statement of public bodies) or “Bekannte Einschränkungen” (information under § 14 BFSG and voluntary statement). *Only feedback and contact* looks for “Feedback und Kontaktangaben” or “Kontakt bei Barrieren”.

If the extension cannot find the section, it shows the whole statement without an error – the whole text rather than none.

### The heading level

The headings of the statement start at the chosen level and never skip one. The page keeps its single `h1`; the element never outputs one. If the statement sits below another subheading on your page, choose *Heading 3 (h3)*.

Choose the level by the structure of the page, not by font size. How large a heading looks is up to your site package.

### The version line

With *Version and date*, the line “Version …, Stand …” (or “as of” for an English statement) with the date of publication appears below the text. It tells you which version is being shown: [TYPO3 does not connect, or shows an old statement](https://barrierepruefung.de/en/help/typo3-troubleshooting#alte-fassung).

## Language

A statement is approved in one language and **shown in that language**. The extension does not translate it. The element on a translated page therefore shows the same statement as the one in the default language. If the page language differs, the text carries a matching `lang` attribute so screen readers pronounce it correctly. The *Statement* sub-module names the *Approved language*.

## Styling

The element has **no styling of its own**: no CSS, no inline styles, no script. It takes whatever your site package defines. Three classes are available for your own rules:

- `a11y-erklaerung` – the wrapper around the statement,
- `a11y-erklaerung-stand` – the version line,
- `a11y-erklaerung-nicht-verfuegbar` – the notice while there is no version yet.

Two things are worth checking in the site package: the sizes of the heading levels (in the Camino theme of TYPO3 14.3, `h3` is larger than `h2`) and long words in headings, which can run over the edge at a width of 320 pixels – for instance with `hyphens: auto` and `overflow-wrap: anywhere`.

Below the text there is a note on the tool the statement was created with, as long as the service delivers it. On the Agency plan you can switch it off under “Organization”.

## When a new version appears

Between a release and what a visitor sees there are two caches in TYPO3:

1. **The extension’s version.** It is valid for 60 minutes; during that time the extension does not ask the service again.
2. **The page cache.** A page with the element stays in the page cache for at most as long as the version is valid – so 60 minutes at most.

As a result:

- **Release from TYPO3** ([Publishing the statement from TYPO3](https://barrierepruefung.de/en/help/typo3-publish)): pages with the element show the new version at once.
- **Release in the service:** the page shows the new version after 60 minutes at most – or at the next run of the scheduler task ([Showing the statement in TYPO3: the content element](https://barrierepruefung.de/en/help/typo3-embedding#scheduler)).
- **At once, by hand:** sub-module *Statement*, *Compare now*. The extension asks the service and removes exactly the pages showing a new version from the page cache.

If there is another cache in front of TYPO3 – a reverse proxy, a CDN or a static file cache – it may deliver the old page for longer. The extension does not clear it.

### When the service is down

If the service cannot be reached or no longer accepts the token, the page keeps showing the last good version – with its own date. The extension then keeps it for 5 minutes at a time before asking the service again, so that not every page view waits for it. A statement therefore never disappears from your website because of an outage. What the module shows then: [TYPO3 does not connect, or shows an old statement](https://barrierepruefung.de/en/help/typo3-troubleshooting#nicht-erreichbar).

## Setting up the scheduler task (recommended)

Without a scheduler task, a page fetches the new version only on the first view after the old one has expired. For prompt updates, set up the task (system extension `scheduler`):

1. Open the *Scheduler* module – in TYPO3 13.4 under *System*, in 14.3 under *Administration*.
2. Add a task of type *Execute console commands*.
3. Choose the command `barrierepruefung:aktualisieren`.
4. Frequency: every 60 minutes.

The command asks the service for the published statement of every connected site – usually the answer is just “unchanged” – and removes exactly those pages from the page cache that show a new version. If the service cannot be reached, the command reports no error and the last good version stays. It only reports an error when not a single token can be decrypted any more: [TYPO3 does not connect, or shows an old statement](https://barrierepruefung.de/en/help/typo3-troubleshooting#encryption-key).

By hand:

```
vendor/bin/typo3 barrierepruefung:aktualisieren
```

---

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