European Accessibility Act
EAA compliance for Vue.js: WCAG 2.1 AA checklist & fixes
Vue's component model and template syntax give you direct access to native HTML, which is good news for accessibility. The most frequent Vue-specific failures are router-link without focus management, <transition> hiding content from screen readers, and v-html bypassing alt-text checks. Top 3 frontend framework; common in SMB and education sites across Europe.
- 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 Vue.js site
The European Accessibility Act (Directive 2019/882) applies to consumer-facing online services from 28 June 2025. For a Vue.js 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 Vue.js-specific failure points we see most often during scans.
Top WCAG failures we see on Vue.js sites
Across hundreds of Vue.js 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.
Vue Router does not move focus
Just like React Router, vue-router silently swaps DOM. Add a global afterEach hook that focuses <h1>.
2.4.3 — Level A<transition> attribute bugs
During v-if transitions, the leaving DOM can remain in the tree but visually hidden — screen readers still see it.
4.1.2 — Level Av-html bypasses sanitisation and alt rules
Content rendered via v-html can include images without alt or buttons without names.
1.1.1, 4.1.2 — Level A
Concrete code fixes for Vue.js
Below are copy-paste fixes for the most common Vue.js 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.
Router focus on every navigation
router.afterEach(() => {
const h1 = document.querySelector('h1');
if (h1) {
h1.setAttribute('tabindex', '-1');
(h1 as HTMLElement).focus();
}
});Restores screen-reader focus context after every Vue Router navigation.
Tools and plugins worth installing first
eslint-plugin-vuejs-accessibility
@vue-a11y/announcer for live regions
How to scan a Vue.js 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.
Scan against the SSR/Nuxt-generated HTML if available.
Run a free public scan against any Vue.js URL right now — no signup, results in 60 seconds.
Frequently asked questions
Is Nuxt better than plain Vue for accessibility?
Marginally — Nuxt's SSR makes the first paint accessible to crawlers and screen readers. The component-level discipline is the same.
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 Angular
Enterprise default in many EU public-sector portals; subject to EAA and EN 301 549.
EAA compliance for Astro
Fast-growing meta-framework for content-heavy sites.
Find every accessibility issue on your site in 60 seconds.
Free public scan. No card. AI-generated fixes for every issue we find.