
Since the European Accessibility Act started to apply in June 2025, I get the same question again and again, in slightly different words: “Does the new law mean we have to redo our website?” At jweiland.net a lot of the sites we build are for public institutions and associations, so the question is fair.
The short answer is usually: for the public sector, not much changed in the law, because you were already covered by something stricter. The long answer is this post. And since rules alone don’t make a site accessible, the second half shows the automated checks I run in DDEV.
A small disclaimer first. I’m a developer, not a lawyer. What follows is my reading of the official texts, linked at the end. For a legal opinion, ask somebody who does that for a living.
Which rule is which
This is where I was confused myself in the beginning, so let me untangle it the way I explain it to clients.
- The EU Web Accessibility Directive (2016/2102) covers websites and apps of public sector bodies. In Germany it is implemented by the federal BGG together with the BITV 2.0, and by the laws of each Bundesland for state and municipal bodies.
- The European Accessibility Act, Directive (EU) 2019/882, covers certain products and services from private companies, for example e-commerce, banking services, e-books and passenger transport tickets. Germany implemented it with the Barrierefreiheitsstärkungsgesetz (BFSG), which applies since 28 June 2025.
- Both point to the European standard EN 301 549, and for web content that standard points to WCAG 2.1, level AA.
So a city or a ministry site falls under BITV 2.0 or the state law, not under the BFSG. An association could fall under the BFSG if it sells services to consumers online, like tickets or paid memberships, but micro-enterprises offering services are exempt. Again: check your own case.
What BITV 2.0 asks on top of WCAG
For federal public bodies, BITV 2.0 adds a few things that have nothing to do with code and are easy to forget in a project plan:
- An accessibility statement (Erklärung zur Barrierefreiheit) that says which parts are not yet accessible and why.
- A feedback mechanism, so people can report barriers and get an answer.
- Explanations on the start page in German Sign Language and in Leichte Sprache.
The state laws are similar but not identical. In TYPO3 the statement and the feedback form are just pages and an EXT:form definition. The sign language videos need a budget, and that conversation is better had early.
Where TYPO3 helps, and where it doesn’t
TYPO3 gives you good building blocks. The site configuration sets the language, so the lang attribute is right without hacks. Images have an alternative text field on the file reference. EXT:form renders labels for its fields. The backend itself has seen a lot of accessibility work in recent versions.
But most barriers come from the site package, which is our code. In upgrades I keep finding the same things: headings chosen for their look instead of their level, icon buttons with no text, a mobile menu you can’t close with the keyboard, colour contrast that the designer loved. No core version fixes that for you.
One small thing I now put into every site package is a skip link in the page layout, so keyboard users can jump over the navigation:
<f:layout name="Default" />
<f:section name="Main">
<a class="skip-link" href="#main">{f:translate(key: 'LLL:EXT:site_hoja/Resources/Private/Language/locallang.xlf:skipToContent')}</a>
<header>…</header>
<main id="main" tabindex="-1">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{colPos: 0}" />
</main>
</f:section>The CSS keeps the link off-screen until it gets focus. Simple, and it removes one of the most common findings.
Solution: automated checks in DDEV
Automated tools only find a part of the problems. They can tell you that an image has no alt text, but not whether the alt text makes sense. Still, they catch the boring mistakes on every release, and that leaves the manual testing for the things that need a human. I use pa11y-ci with two engines: axe-core from Deque and HTML_CodeSniffer.
Step 1: Create the configuration
Put a file called .pa11yci.json in the project root. List the pages that represent your templates, not every page of the site.
{
"defaults": {
"standard": "WCAG2AA",
"runners": ["axe", "htmlcs"],
"timeout": 30000,
"hideElements": "#cookie-banner"
},
"urls": [
"https://myport.ddev.site/",
"https://myport.ddev.site/contact",
"https://myport.ddev.site/accessibility-statement"
]
}hideElements hides things you check separately, like a cookie banner that would otherwise appear in every single result.
Step 2: Add a DDEV host command
pa11y starts a headless Chrome, and that is much easier on the Mac than inside the web container. So I made it a host command. Create .ddev/commands/host/a11y and make it executable with chmod +x:
#!/usr/bin/env bash
## Description: Run pa11y-ci accessibility checks against the DDEV site
## Usage: a11y [pa11y-ci options]
## Example: "ddev a11y" or "ddev a11y --sitemap https://myport.ddev.site/sitemap.xml"
cd "$DDEV_APPROOT" || exit 1
npx --yes pa11y-ci --config .pa11yci.json "$@"The first run downloads pa11y-ci and a browser through npx, so it takes a while. If Chrome complains about the certificate, run mkcert -install once so the DDEV certificates are trusted on your machine.
Step 3: Run it
ddev a11y
# or check every page from the sitemap
ddev a11y --sitemap https://myport.ddev.site/sitemap.xmlpa11y-ci exits with an error code when a page has issues, so the same command can run in a CI pipeline and stop a merge. Since TYPO3 generates an XML sitemap with EXT:seo, the sitemap option gives you the whole site in one go. Expect a long list the first time. That’s normal, don’t panic.
What automation won’t tell you
After the tools are green, I still do a short manual round on the main templates: the whole page with the keyboard only, zoom to 200 %, and a quick listen with VoiceOver on the Mac. It doesn’t take long, and it finds the things that matter most to real users. For public sector sites, a full BITV test by an independent tester is the real proof, and the BITV-Test project linked below explains how it works.
What’s still open for me is WCAG 2.2. It was published in 2023, and I expect the standards to move to it sooner or later. Most of its new criteria, like visible focus that isn’t hidden and enough target size, are good practice anyway, so I already test for them.
If you have a smarter setup for accessibility checks in TYPO3 projects, I’m all ears. Happy coding!
Further reading
- BITV 2.0 (gesetze-im-internet.de)
- Directive (EU) 2019/882, the European Accessibility Act (EUR-Lex)
- Web Content Accessibility Guidelines 2.1 (W3C)
- pa11y-ci on GitHub