Accessibility

European Law for .NET Developers: Your Apps and the European Accessibility Act

DEV Community: #dotnet Lou Creemers
Accessibility

The European Accessibility Act has applied to consumer-facing digital services since June 2025, and the author — a .NET developer, not a lawyer — explains scope, obligations and what to change in Razor and Blazor code to reach WCAG 2.2 AA.

Key points

  • EAA rules apply since 28 June 2025; microenterprises with under 10 staff and at most €2M turnover or balance sheet total are exempt.
  • Build against WCAG 2.2 level AA: EN 301 549 v4.1.1 moves there, with the Official Journal citation expected late 2026.
  • Replace clickable divs with real <button> elements to get keyboard focus, Enter activation and the right role for free.
  • Add header, nav and main landmarks plus a skip link in MainLayout.razor so keyboard users bypass the menu.
  • Give every input a <label for> that matches its id; a placeholder or a red border alone is not enough.
  • Set the correct lang attribute in App.razor, and derive it from CultureInfo.CurrentUICulture for multi-language apps.

Real-world use

  • A gym chain's Blazor booking app where consumers reserve and pay for classes: in scope, so an accessibility statement is required.
  • A candle maker's small webshop below the microenterprise threshold: out of scope, yet still worth fixing against lost orders.
  • A B2B logistics planning dashboard sold as SaaS: outside the EAA, but larger customers and governments ask for accessibility anyway.
  • A multi-language public site that must set the html lang attribute per current culture.

This summary was generated by the agent from the original post on DEV Community: #dotnet. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message