European Accessibility Act
EAA compliance for SvelteKit: WCAG 2.1 AA checklist & fixes
Svelte's compiler emits warnings for accessibility issues at build time — missing alt, click-on-non-interactive, and so on — which catches a surprising amount before the code ships. SvelteKit-specific risks live in route transitions and the use:action pattern when authors disable accessibility warnings. Popular among small teams shipping fast, accessible-by-default apps.
- Category
- Web framework
- Standard
- WCAG 2.1 Level AA via EN 301 549
- Deadline
- 28 June 2025 (EU consumer services)
- Risk for B2C
- High — public-facing, consumer-billed
What the EAA actually requires from a SvelteKit site
The European Accessibility Act (Directive 2019/882) applies to consumer-facing online services from 28 June 2025. For a SvelteKit site selling to EU consumers, that means the storefront, checkout, account area, and any embedded payment flow have to meet WCAG 2.1 Level AA via the harmonised standard EN 301 549. Microenterprises with under 10 employees and below €2 million in turnover are exempt for services, but not for products.
Fines vary by member state. Germany caps individual penalties at €100,000; France can fine up to 4% of group turnover; Spain reaches €600,000 for serious or repeated breaches. None of those numbers are theoretical — market surveillance authorities have already started auditing storefronts in Germany and France in the run-up to enforcement.
In practice, the work breaks down into three buckets: theme-level fixes (focus styles, contrast, semantics), interaction-level fixes (carousels, modals, drawers, gallery widgets), and content-level fixes (alt text, headings, descriptive link text). The list below covers the SvelteKit-specific failure points we see most often during scans.
Top WCAG failures we see on SvelteKit sites
Across hundreds of SvelteKit scans, the same handful of issues show up over and over. None of them require ripping the theme apart — most are fixable in a few hours by someone comfortable in the platform's editor or template files.
Route changes silent to assistive tech
goto() does not announce; add a live region.
4.1.3 — Level AA<!-- svelte-ignore --> abuse
Compiler warnings ignored without addressing the underlying issue.
all
Concrete code fixes for SvelteKit
Below are copy-paste fixes for the most common SvelteKit issues. They assume you have access to your theme code or the platform's custom-code injection panel. If you cannot edit code directly, share these snippets with whoever maintains the site — every one of them is a ten-minute change.
Announce route changes from a layout
<script lang="ts">
import { afterNavigate } from '$app/navigation';
import { tick } from 'svelte';
let routeMessage = '';
afterNavigate(async ({ to }) => {
await tick();
const title = document.title;
routeMessage = `Navigated to ${title}`;
});
</script>
<div role="status" aria-live="polite" class="sr-only">{routeMessage}</div>
<slot />A polite live region announces every navigation without stealing focus.
Tools and plugins worth installing first
Svelte compiler a11y warnings (do not disable globally)
eslint-plugin-svelte
How to scan a SvelteKit site without missing anything
Automated scanners catch about 30–40% of WCAG issues; the rest need manual review. The good news is that the 30–40% includes the most expensive issues to remediate after the fact, so an automated scan is the cheapest way to get unstuck. Run one before you change a line of theme code.
Test SSR output against client-side hydration; differences create flashes for screen readers.
Run a free public scan against any SvelteKit URL right now — no signup, results in 60 seconds.
Other web framework platforms
EAA compliance for Next.js
The dominant React meta-framework for production sites; chosen by Stripe, Notion, TikTok,
EAA compliance for React
The most-used UI library; the foundation of Next.js, Remix, and most modern SPAs.
EAA compliance for Vue.js
Top 3 frontend framework; common in SMB and education sites across Europe.
EAA compliance for Angular
Enterprise default in many EU public-sector portals; subject to EAA and EN 301 549.
Find every accessibility issue on your site in 60 seconds.
Free public scan. No card. AI-generated fixes for every issue we find.