Next.js developer in Paris

Next.js developer for Paris companies. One topic in depth: the French RGAA accessibility criteria, and what the Next.js framework does and does not cover for them.

Next.js developer

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.

My WordPress.org profile

Mariusz Szatkowski here, a solo Next.js developer in Gdynia, Poland. This page covers a single question for companies in Paris: how does an accessible Next.js application line up with the Référentiel général d'amélioration de l'accessibilité (RGAA), the French method for testing accessibility? The framework covers a handful of criteria and leaves the rest to the code you write.

#Who the RGAA binds

The RGAA is published by the DINUM on accessibilite.numerique.gouv.fr, in its fourth version, with 106 criteria in 13 themes. Its page on scope quotes article 47 of Law 2005-102 of 11 February 2005. The online public communication services covered belong to:

  • public law bodies;
  • certain private law bodies that run a public service mission or were created for needs of general interest, and are funded or controlled by public bodies;
  • companies above a turnover threshold of 250 million euros, calculated on the average annual turnover made in France over the last three closed financial years.

The scope includes websites, intranets and extranets, software used through a browser, and mobile applications. The same page lists exempt content, among it live audio and video, and content from third parties that the organisation neither funds nor develops nor controls. A company below the threshold is not named in that list. Whether another rule reaches it, through a client contract or a different law, is a question for your counsel.

The Seine, the Pont des Arts and the Île de la Cité at dusk

Photo: Benh LIEU SONG, CC BY-SA 3.0, Wikimedia Commons.

#What the audit looks at

The RGAA says an audit can be done by the organisation or by a third party, on a sample of pages that represents the service. The sample includes, where they exist, the home page, the contact page, the legal notice, the accessibility page, the site map, the help page and the login page. Add one page for each type of service, every page of a process such as a multi-step form, and a relevant downloadable document.

For a Next.js application this has a direct consequence. A page that only exists after a client-side state change, such as a modal step in a checkout, still belongs to the sample as a process. I test the rendered result in the browser, not the component tree.

The outcome is the accessibility declaration. According to the RGAA, the state is full conformity when every criterion is met, partial conformity when at least 50 percent are met, and non-conformity when no valid audit exists or fewer than 50 percent are met. The home page shows one of three mentions, “Accessibilité : totalement conforme”, “partiellement conforme” or “non conforme”. A page called “accessibilité”, reachable from the home page and every other page, holds the declaration, the multi-year plan or a link to it, and the current year’s action plan. The declaration is valid for three years from publication, and has to be updated at a substantial redesign, so a replatforming to Next.js triggers a new one. It also names the right to contact the Défenseur des droits.

The reference standard is EN 301 549 V2.1.2. The RGAA site also notes that version 5 is being written, with publication planned for the end of 2026, and that work on the current version should not be paused for it.

#What Next.js gives you

The Next.js documentation lists its built-in accessibility features, and they are few and concrete.

The route announcer. When a visitor moves between pages with next/link, there is no page load for a screen reader to announce. Next.js includes a route announcer for that case. It takes the name to announce from document.title first, then the <h1>, then the URL path. This matches RGAA criteria 8.5 and 8.6, on the presence and relevance of a page title. The announcer only works as well as your titles. The Metadata API lets a root layout define a title template, with each page supplying its own:

// app/[lang]/layout.tsx
import type { Metadata } from 'next'
import type { ReactNode } from 'react'

export const metadata: Metadata = {
  title: { template: '%s | Votre société', default: 'Votre société' },
}

export default async function RootLayout({
  children,
  params,
}: {
  children: ReactNode
  params: Promise<{ lang: string }>
}) {
  const { lang } = await params
  return (
    <html lang={lang}>
      <body>
        <a href="#contenu">Aller au contenu principal</a>
        <header>{/* logo, search */}</header>
        <nav aria-label="Principale">{/* links */}</nav>
        <main id="contenu" tabIndex={-1}>
          {children}
        </main>
        <footer>{/* legal, accessibilité */}</footer>
      </body>
    </html>
  )
}

The language attribute. The root layout must define the <html> tag, and it can sit under a dynamic segment such as [lang], as the Next.js layout reference describes. Setting lang from that parameter serves criterion 8.3 on the default language and, with per-element lang attributes for quoted passages, 8.7 on changes of language.

Required alt text. The alt property of next/image is required, and the reference says it must be an empty string for a purely decorative image. That maps to criterion 1.1 on text alternatives, and to the criteria on decorative images.

A lint preset. eslint-config-next depends on eslint-plugin-jsx-a11y. I opened version 16.4.6, which the npm registry lists as current. It enables six rules, all at warn: alt-text for img and Image, aria-props, aria-proptypes, aria-unsupported-elements, role-has-required-aria-props and role-supports-aria-props. Nothing blocks a build. Against 106 criteria this is a small net, and the rest needs a manual test.

#What stays manual

Most RGAA criteria are about how a rendered page behaves. A framework cannot decide them. These are the ones I check in a Next.js build, with the criterion numbers from the RGAA test page:

AreaRGAA criteriaWhat I do
Landmarks and skip link12.6, 12.7Header, navigation, main and footer regions, and a link that jumps to the main content, as in the layout above
Headings9.1One outline per page, with no level chosen for its size
Links6.1, 6.2Link text that says where it goes, including cards that wrap a whole block
Form labels11.1A visible label tied to each field
Input purpose11.13The autocomplete attribute on fields about the user
Status messages7.5A live region for results and errors, as in the form below
Keyboard7.3, 12.8, 12.9Every script works by keyboard, tab order matches reading order, no keyboard trap in modals or menus
Focus10.7A visible focus style on every focusable element
Contrast3.2Text against background, in each theme
Time limits13.1The visitor controls any time limit that changes content
Valid code8.2The generated HTML parses without errors

The Next.js forms guide shows the pattern that serves criterion 7.5: a client form built with useActionState, where the server function returns a message and the form renders it in a paragraph with aria-live="polite":

'use client'

import { useActionState } from 'react'

type State = { message: string }

export function ContactForm({ send }: { send: (prev: State, data: FormData) => Promise<State> }) {
  const [state, formAction, pending] = useActionState(send, { message: '' })
  return (
    <form action={formAction}>
      <label htmlFor="email">Adresse e-mail</label>
      <input id="email" name="email" type="email" autoComplete="email" required />
      <p aria-live="polite">{state.message}</p>
      <button disabled={pending}>Envoyer</button>
    </form>
  )
}

I tested neither this nor the layout with a screen reader as a substitute for your audit. They are patterns that map to criteria. The audit decides.

#How a project runs with me

  • Written brief: the application, the audience, whether the RGAA applies to you, and the date of any existing declaration.
  • Written scope and assumptions. I design the layout and wireframes, or you supply your own design; contrast and focus states are included either way, and I implement the result in components.
  • A criteria table in the repository, with each criterion, the component that serves it and how it was tested.
  • Staging and acceptance: keyboard run through every flow, the rendered pages checked against the table, the findings in writing.
  • Handover: the table, the lint setup and a note for whoever writes the declaration.

The work is remote and written, with no meetings or calls. I do not write the declaration or the multi-year plan. Those belong to the organisation.

#A checklist you can use without hiring me

QuestionA good answer
Does the RGAA apply to us?A written answer, based on the scope page
Does each page have a unique title?Yes, through the metadata template
Is the lang attribute set per locale?Yes, from the route parameter
Is there a skip link and are there landmarks?Yes
Can every flow be completed by keyboard?Tested, including modals
Do form errors reach a screen reader?Through a live region
Is there an accessibility page linked from every page?Yes, with the home page mention
When was the last audit?A date within the declaration’s validity

#What I need from you

  • The scope question answered: does the obligation apply, and who owns the declaration?
  • The layout, with states for focus, error and disabled controls.
  • Access to the existing site or repository, if there is one.
  • The name of whoever signs off acceptance.

#Questions Paris companies ask

#Does the RGAA apply to every company in Paris?

No. The RGAA site lists public bodies, certain private bodies tied to public service, and companies above a turnover threshold of 250 million euros, calculated on average annual turnover in France over the last three closed financial years. A smaller company is not in that list.

#What conformity statement must the home page show?

One of three: fully compliant if every criterion is met, partially compliant if at least 50 percent are met, non-compliant if no valid audit exists or fewer than 50 percent are met. The accessibility page holds the declaration, the multi-year plan and the current year’s action plan.

#Does Next.js make a site RGAA compliant?

No. It provides a route announcer, a required alt on images and a lint preset with six accessibility rules at warn level. The RGAA has 106 criteria, and most need a manual test on rendered pages.

#How is the page language set in a multilingual app?

The root layout sits under a dynamic segment such as app/[lang] and sets the lang attribute on the html element from that parameter. That serves the criteria on the default language of each page.

#Who audits the site?

The RGAA allows an audit by the organisation itself or by a third party, on a representative sample of pages. I fix what the audit finds and test the fixes, but I do not issue your declaration.

#Is the RGAA changing?

Version 5 is being written, with publication planned for the end of 2026 according to the RGAA site. The same site says work on version 4 should not be suspended or postponed. Other Next.js work is listed on the Next.js developer service page.

#Write to me

Send me the site or application address, whether the RGAA applies to you, and your deadline. Written questions come first, then a written estimate stating scope and assumptions. The first estimate is free. I reply within 24 hours on working days (CET). Use the contact page.

Need this service: Next.js developer in Paris?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Explore other WordPress services and knowledge base