Guide10 min read

Regression testing for government websites: Accessibility, sovereignty, and citizen impact

Government websites face accessibility (WCAG), data sovereignty, and availability requirements that automated regression testing helps meet.

Contents
  1. The impact of a visual bug on a public service
  2. The RGAA and accessibility: an obligation, not an option
  3. Digital sovereignty: why a foreign cloud is a problem
  4. The profile of public teams: users, not developers
  5. Budget constraints: doing better with less
  6. Visual testing as an RGAA compliance tool
  7. Recommendations for implementation in the public sector
  8. FAQ
  9. Conclusion: public service deserves visual testing

Visual testing means automatically comparing the appearance of a web interface between two states to catch any unintended regression. Applied to government websites, it becomes a public service tool: making sure every citizen gets an interface that works, is readable and meets accessibility standards.

A visual bug on an e-commerce site is a lost sale. A visual bug on a government website is a citizen who cannot file their taxes, renew their ID card or access their social rights. The stakes are not commercial: they are democratic.

And yet public sector websites are among the least visually tested. Teams are small, budgets are tight, technical skills are limited, and the tools available are often poorly suited to the sovereignty and accessibility requirements of public service.

This article makes the case for adopting visual testing in the public sector, with concrete answers to the specific constraints of this environment.

The essentials on one page (definition, no-code automation, how to choose a tool): Automated regression testing, no code.


The impact of a visual bug on a public service

When the tax website is unavailable during the filing period, it is a national event. The media report on it, citizens worry, and trust in digital public services erodes a little more.

But total outages are rare. What is frequent, on the other hand, is silent visual bugs. A form whose submit button is hidden by another element. A navigation menu that no longer opens on mobile. Insufficient color contrast that makes text unreadable for visually impaired people. A layout that falls apart when the citizen increases the text size, something older people or people with a visual disability do regularly.

These bugs do not trigger a monitoring alert. They do not generate a 500 error. They appear in no dashboard. But they stop citizens from accessing their rights.

In 2025, the Direction interministérielle du numérique (DINUM, the French interministerial digital directorate) published the Observatoire de la qualité des démarches en ligne (the observatory of the quality of online procedures), showing that many administrative procedures still have usability and accessibility problems. Automated visual testing is one of the tools that could significantly reduce these problems.


The RGAA and accessibility: an obligation, not an option

The Référentiel Général d'Amélioration de l'Accessibilité (RGAA, the French general accessibility improvement framework), in its version 4.1, requires public websites to meet the criteria of the international WCAG 2.1 level AA standard. This is not a recommendation: it is a legal obligation, set out in article 47 of law no. 2005-102 of 11 February 2005 and reinforced by decree no. 2019-768.

The obligations are clear: every public administration must make its digital services accessible to people with disabilities. Failure to comply exposes it to financial penalties of up to 50,000 euros per service per year (article 8 of decree no. 2019-768).

What does this have to do with visual testing? The link is direct and often underestimated.

Contrast is a visual criterion. The RGAA requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (criterion 3.2). A CSS change that alters a color can violate this criterion on dozens of pages at once. Visual testing detects this kind of change immediately.

Readability at different text sizes is a visual criterion. The RGAA requires content to remain readable and functional when the text size is increased by 200% (criterion 10.4). A layout that breaks when zooming is a visual bug that only visual testing can detect systematically.

Visual order must match logical order. The RGAA requires the visual order of presentation to be consistent with the order in the source code (criterion 10.3). A CSS change that visually reorders elements through flexbox order or grid placement can create an inconsistency that functional tests do not see.

Interactive components must be visually identifiable. The RGAA requires interactive elements to have a visual focus indicator (criterion 10.7). A CSS reset that removes focus outlines is a visual bug with a direct impact on accessibility.

Visual testing does not replace a full accessibility audit. But it is an automated first line of defense against visual regressions that affect accessibility.


Digital sovereignty: why a foreign cloud is a problem

The French State's "Cloud au centre" doctrine, formalized by Prime Minister's circular no. 6282/SG of 5 July 2021, requires administrations to favor the cloud for their digital projects, but not just any cloud.

For sensitive data, the doctrine requires a cloud qualified SecNumCloud by the ANSSI (the French national cybersecurity agency), or on-premise solutions. Citizens' data, public service interfaces and screenshots of those interfaces naturally fall into this category.

Using a hosted visual testing service from an American provider to test French government websites raises a problem of principle and a legal problem:

The problem of principle. Screenshots of a public service potentially contain form data, authentication interfaces and sensitive administrative workflows. Storing them with a provider subject to the American Cloud Act (which allows American authorities to access data stored by American companies, even on European servers) is hard to justify.

The legal problem. Since the CJEU's Schrems II ruling in 2020, transferring personal data to the United States is subject to strict conditions. Standard Contractual Clauses (SCCs) do not guarantee protection equivalent to the GDPR against American surveillance laws.

The consequence is simple: for the French public sector, the visual testing tool must be installable on infrastructure you control. No data transfer to a foreign cloud. No dependency on a third-party service for a critical quality function.

This is an eliminatory criterion, not a "nice to have".


The profile of public teams: users, not developers

The teams that maintain the websites of local authorities, prefectures, ministries and public bodies are generally not made up of developers. They are communications officers, webmasters and administrative staff who learned to use a CMS.

Asking them to write test scripts in JavaScript is unrealistic. Asking them to configure a CI/CD pipeline is out of the question. Asking them to maintain a Selenium test suite is absurd.

And yet they are the ones who update content, edit pages and run the CMS updates that can break the layout. They are the ones who need visual testing.

Visual testing for the public sector must be no-code. Not "low-code with a bit of YAML configuration". No-code. The agent who updates their municipality's website must be able to capture a baseline, run a comparison after their update, and see immediately whether anything has moved. Without technical support, without three days of training, without 200 pages of documentation.

It is a matter of digital inclusion in reverse: if we want public teams to produce quality digital services, we must give them tools within their reach.


Budget constraints: doing better with less

The public sector does not have private sector budgets. The IT departments of local authorities work with tight envelopes, annual budget cycles and long approval processes. A SaaS subscription at 500 euros a month for a visual testing tool, even if technically justified, is often impossible to get approved.

That is why being free is not a marketing argument in this context: it is a prerequisite. A visual testing tool for the public sector must be free or have a cost compatible with public budgets.

Delta-QA starts with a free account, no credit card. It runs in the browser, with no server infrastructure to install. For a local authority managing a 50-page website, it is a solution that can be used immediately.

For central administrations and large local authorities that need a solution at scale (multi-site, multi-team, integration with existing environments), Delta-QA offers on-premise deployment options compatible with sovereignty requirements.


Visual testing as an RGAA compliance tool

The RGAA requires regular compliance audits. These audits are often carried out as one-offs (once a year, sometimes less) and their results quickly become obsolete: the first site update after the audit can introduce accessibility regressions.

Automated visual testing makes it possible to move from a one-off audit model to a continuous monitoring model. Here is how:

Capture baselines at different text sizes. By capturing your pages at 100%, 150% and 200% zoom, you automatically check that your layout stays functional at the magnifications the RGAA requires.

Capture baselines in dark mode and high contrast mode. If your site supports these modes (as accessibility best practices increasingly require), visual testing checks that they stay functional after each change.

Compare renderings before and after each CMS update. CMS updates (WordPress, Drupal, TYPO3) are a frequent source of visual regressions. A template that breaks, a style that gets overwritten, an extension that changes the rendering. Visual testing detects them before citizens are affected.

Document visual compliance over time. The history of baselines and comparisons forms a paper trail of your RGAA compliance. In the event of an inspection, you can show that you have an active monitoring process, not just an annual audit.

Visual testing does not cover every RGAA criterion: semantic criteria (text alternatives, heading structure, ARIA) require specific tools. But it covers the visual criteria in an automated, continuous way, which one-off audits cannot.


Recommendations for implementation in the public sector

If you work in the public sector and want to build visual testing into your quality process, here is a pragmatic approach:

Start with the most used online procedures. Identify the 10 pages or forms most critical to citizens. The home page, the contact form, the main administrative procedure pages. Capture baselines for these pages.

Involve webmasters, not developers. No-code visual testing is designed for the people who manage content every day. Train them in 30 minutes: that is enough to capture baselines and run comparisons.

Test after every CMS update and every significant content change. WordPress or Drupal security updates are frequent and can introduce visual regressions. A quick comparison after each update takes under 5 minutes and saves you hours of debugging.

Build visual testing into your RGAA process. Add captures at different text sizes to your test routine. It is a natural complement to your accessibility audits.

Keep the data in-house. Use a tool installed on your own infrastructure (On-Premise), without a foreign cloud or data transfer. It is the only approach compatible with public sector sovereignty requirements.


FAQ

Is visual testing recognized as an RGAA compliance tool?

The RGAA does not prescribe specific tools: it defines result criteria. Visual testing is a way to check, in an automated manner, compliance with certain visual criteria (contrast, readability when zoomed, layout consistency). It complements accessibility audit tools such as Axe, WAVE or Tanaguru, which focus on semantic and structural criteria.

Can local authorities use a free tool without a call for tenders?

In France, low-value public purchases (below the threshold of 40,000 euros excluding VAT) can be made without particular formalities. A free tool obviously requires no public contract. For enterprise deployments with associated services, the usual procedures apply depending on the amounts.

How does visual testing fit with the CMSs used in the public sector?

Visual testing works on the final rendering in the browser, independently of the underlying CMS. Whether your site is built with WordPress, Drupal, TYPO3 or a proprietary CMS, visual testing captures what the citizen sees. There is no CMS integration to configure: you point to your URLs and the tool does the rest.

Do screenshots of a public site contain sensitive data?

The public pages of a government website generally do not contain personal data. Pages behind authentication (user areas, back offices), however, can contain sensitive data. For these pages, use acceptance environments with fictitious data, or mask the sensitive areas before capture. In every case, a tool installed on your own infrastructure (On-Premise) eliminates the risk of data transfer to a third party.

How much training does a local authority webmaster need?

With a no-code tool like Delta-QA, a webmaster can be up and running in under 30 minutes. The learning curve is minimal: create an account, enter the URLs to test, capture the baselines and run the comparisons. There is no script to write, no command line, no technical configuration.

Can visual testing detect accessibility problems automatically?

Visual testing detects visual regressions that can affect accessibility: loss of contrast, a layout broken when zoomed, disappearing focus indicators. But it does not detect semantic problems (missing text alternatives, incorrect heading structure, missing ARIA attributes). For full accessibility coverage, combine visual testing with dedicated accessibility audit tools.


Conclusion: public service deserves visual testing

Public digital services cannot afford approximation. Every broken page, every unreadable form, every inaccessible interface is a citizen who cannot exercise their rights. Automated visual testing is a simple, free and sovereign safety net that protects citizens against silent regressions.

The tools exist. They are accessible without technical skills. They can be installed on your infrastructure, without a foreign cloud. All that is missing is the will to adopt them.

Try Delta-QA