Migrate from WordPress to Astro in Leeds
Many businesses in Leeds run WordPress but face performance ceilings, security overhead, and rising hosting costs. Astro solves these with static HTML output, zero JavaScript by default, and edge deployment. I migrate existing WordPress sites to Astro with full SEO preservation, URL mapping, and 301 redirects.
- PageSpeed 95-100
Static HTML with zero JavaScript. Faster than any WordPress solution.
- SEO-safe migration
URL mapping, 301 redirects, Google rankings preserved.
- Cloudflare Pages hosting
Global CDN, free SSL, instant deployments. Hosting costs near zero.
What the 2018 regulations require
I am Mariusz Szatkowski, one developer in Gdynia, working remotely and in writing, with WordPress since 2006. I build content sites in Astro and WordPress. This page is for the Leeds organisations that are covered by the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018: local and central government bodies, bodies governed by public law, and associations of them.
The regulations are short. These are the points that decide what an Astro project has to deliver:
- The duty. Regulation 6 says public sector bodies must comply with the accessibility requirement, which regulation 3 defines as making the website or app perceivable, operable, understandable and robust.
- The standard. The regulations use those four principles. The gov.uk guidance for public sector bodies names the Web Content Accessibility Guidelines 2.2 AA as the standard to meet.
- Who is in and who is out. Non-governmental organisations are outside the regulations unless they provide services essential to the public or specifically for disabled people. Schools and nurseries are covered only for content about essential online administrative functions. Public service broadcasters are outside.
- What is out of scope. Office file formats published before 23 September 2018, unless needed for active administrative processes, pre-recorded media published before 23 September 2020, live media, third-party content the body neither funds, develops nor controls, and intranet and extranet content published before 23 September 2019 until a substantial revision. Online maps are out as long as essential information for navigation is available in an accessible digital way.
- Disproportionate burden. Regulation 7 allows a body to decline parts of the requirement after a written assessment that weighs its size, resources and the benefit to disabled people, and the statement must then say what was left out.
- The statement. Regulation 8 requires a statement in the model format, kept under regular review and published on the site. It must list the content that is not accessible and why, describe alternatives, link to a contact form for reporting failures and requesting excluded information, and link to the enforcement procedure.
- Oversight. According to gov.uk, the Government Digital Service monitors compliance and the Equality and Human Rights Commission enforces in England, Scotland and Wales.
The deadlines were 23 September 2019 for websites published on or after 23 September 2018, 23 September 2020 for older websites and 23 June 2021 for mobile apps. They have passed. A new Astro site for a covered body has to meet the standard on the day it goes live.

Photo: Tim Green, CC BY 2.0, Wikimedia Commons.
What three Leeds statements show
Public statements are the best evidence of where sites fail, and three Leeds organisations publish them. I read them for patterns, not for blame. Each is the organisation’s own account, dated by the organisation.
- Leeds City Council. The statement says the site is partially compliant with WCAG 2.1 AA. It lists PDFs and other documents, multiple instances of the same ID, heading order, lists with incorrect markup, radio buttons without a fieldset and legend, a Google Captcha on the feedback form, link text, and ARIA attributes on elements that do not allow them. It says the council does not currently intend to claim disproportionate burden. It records last review on 10 November 2026 and the last test date as 9 September 2020.
- University of Leeds. The statement says the digital estate is partially compliant with WCAG 2.2 AA, groups issues by site type, and was last reviewed on 14 March 2026.
- Leeds Teaching Hospitals NHS Trust. The statement says the site is partially compliant with WCAG 2.2 AA. It names PDFs and documents without text alternatives and videos without captions or audio descriptions, and was last reviewed on 29 June 2026.
Three things follow for a build. First, most of these gaps live in content and in markup choices, not in the framework. Second, documents come up in every statement. Third, a statement is a dated snapshot: the council’s records a 2020 test date next to a 2026 review, and and gov.uk now names WCAG 2.2 AA. A statement that is not tied to a test date and a standard version is the first thing I would ask a client to fix.
What WCAG 2.2 added
WCAG 2.2 became a W3C Recommendation on 5 October 2023. It adds nine success criteria and removes 4.1.1 Parsing. Six of the nine sit at levels A and AA, which is the range the gov.uk guidance targets:
| Criterion | Level | What it asks |
|---|---|---|
| 2.4.11 Focus Not Obscured (Minimum) | AA | A focused element is at least partly visible, not fully covered by author-created content |
| 2.5.7 Dragging Movements | AA | Anything that needs dragging also works with a single pointer click or tap |
| 2.5.8 Target Size (Minimum) | AA | Pointer targets are at least 24 by 24 CSS pixels, or spaced so they do not overlap within a 24-pixel circle, with exceptions |
| 3.2.6 Consistent Help | A | Repeated help mechanisms appear in the same relative order |
| 3.3.7 Redundant Entry | A | Information already entered in a process is filled in or selectable, with exceptions |
| 3.3.8 Accessible Authentication (Minimum) | AA | Login cannot depend on a cognitive test unless an alternative or help exists |
On a content site, the ones that bite are 2.4.11, because of sticky headers and cookie banners, 2.5.8, because of icon links in footers and pagination, and 3.2.6, because of a “help” or “contact” link that moves between templates.
How I build it in Astro
Astro compiles pages to static HTML, so the markup the user gets is the markup I write. That puts the accessibility work in the layout, the components and the content, in this order.
The layout. One layout carries the language, the title, a skip link and a labelled main region. Every page passes a unique title.
---
const { title } = Astro.props
---
<html lang="en-GB">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{title}</title>
</head>
<body>
<a class="skip-link" href="#main">Skip to main content</a>
<slot name="header" />
<main id="main" tabindex="-1"><slot /></main>
<slot name="footer" />
</body>
</html>Navigation without a full reload. If a site uses the <ClientRouter /> from astro:transitions, the Astro documentation says it includes a route announcer for assistive technologies. It builds the announcement from the page <title>, then the first <h1>, then the pathname, and the documentation strongly recommends always having a <title>. The component also disables its animation under prefers-reduced-motion. I use it only where a site benefits from it, because a plain page load is the simplest thing for a screen reader.
Sticky headers and targets. Two small CSS rules cover most 2.4.11 and 2.5.8 problems on content sites:
html { scroll-padding-top: 5rem; }
a, button { min-block-size: 24px; min-inline-size: 24px; }The first keeps a focused element from landing under a sticky header when the browser scrolls to it, and its value has to match the real header height. The second is a floor, not a design: inline links inside a sentence are covered by the exceptions in the criterion, so I check each case against the W3C text.
The Audit app. In development the Astro dev toolbar runs its Audit app on the current page and marks problems with a red dot. The Astro documentation says these basic audits are not a replacement for dedicated tools such as Pa11y or Lighthouse. I treat it as a first filter and then test with the keyboard, a screen reader and a contrast check, in that order, because the three statements above show the gaps tools miss: link text that says nothing, headings in the wrong order, and documents.
Documents, maps and embedded content
Documents are the common failure, so they get their own step.
- Prefer a page to a PDF. Where a body publishes a policy, a meeting paper or a service guide, I model it as a content collection entry that renders as HTML with a proper heading structure. The PDF becomes an optional download, not the only copy.
- Pre-2018 files. Regulation 4(2)(a) excludes office file formats published before 23 September 2018 unless needed for active administrative processes. I list such files in the statement as out of scope, instead of leaving them unmentioned.
- Maps. A map on a contact or venue page needs the address and directions as text next to it, which keeps it within the map exclusion.
- Embeds. Third-party content the body does not fund, develop or control is excluded, but a video the body funds and embeds is not. Captions are part of the brief for that video.
The statement as a page in the build
The statement is part of the site, so I build it as a page with the regulation 8 fields as structured content: status and standard version, the non-accessible content with reasons, alternatives, the feedback contact route, the enforcement link, and three dates (prepared, last tested, last reviewed). The model statement published by gov.uk sets the wording. Because the dates are fields, a build can warn when the review date is older than the body’s own review cycle.
How the accessibility work runs
- You send the site URL, the body or department, any previous accessibility audit and the deadline. A written reply follows by email within 24 hours on working days.
- I write the scope and assumptions in a document, with the standard and version I measure against, and ask my questions in writing.
- I design the templates or implement your design, on a staging URL, with keyboard and screen reader checks recorded per template.
- You review the draft statement. I fill in what I tested and what I did not, and you decide on any disproportionate burden assessment, which is the body’s decision and not a developer’s.
- You accept in writing and I deploy. A maintenance option keeps dependencies current and re-tests after content changes.
What I need from you: the content owner for each section, the current PDF list, the feedback contact route and, if you have one, the procurement document that sets the accessibility requirement.
Checklist you can use without me
- Write the standard and version at the top of the brief: WCAG 2.2 AA.
- Check that every page has a unique title, one h1 and headings in order.
- Tab through the site with a sticky header on and confirm that no focused element is hidden.
- Measure small targets against the 24 pixel rule and its exceptions.
- List every PDF, mark each as needed for a process, newer than 23 September 2018, or out of scope, and publish an HTML version where you can.
- Give every video captions, and audio description where the content needs it.
- Put the address next to every map.
- Date the statement with the last test, not only the last review.
The wider service sits on the Astro developer page.
Send me the site and the last audit
If you run a website for a public body, university or health organisation in Leeds, write to me through the contact page. Send the URL, the deadline and any accessibility audit you already have. The first written estimate I send is free, and replies come by email within 24 hours on working days.
Selected projects
Examples of my work.
E-commerce Development: marcoaldany.pl
marcoaldany.pl is a WordPress website built to present personalised services to show how this system can support companies offering personalised services or...
E-commerce Development: mavicon.pl
The website mavicon.pl has been designed with a view to providing a comprehensive presentation of the company’s offerings, which are based on innovative tech...
E-commerce Development: metal-meble.pl
metal-meble.pl is a WordPress website for a company offering metal furniture and constructions, with a clear catalogue, fast contact path, and simple administration.
See also in Great Britain
Need this service: Astro developer in Leeds?
Describe your project by e-mail. I reply within 24 hours.
Describe your projectExplore other WordPress services and knowledge base
Migration to Astro, Next.js, and headless WordPress.
WooCommerce sync with ERP and wholesale systems.
Business process automation around WordPress and company systems.
Library of concrete automation use cases.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Related categories
Supporting articles

Six to sixteen weeks for typical engagements, with a four-phase shape: discovery, scoping, build and cutover, tuning. The variables are catalogue size, integration count, URL preservation, and editorial team readiness, not framework choice.

A definitive 4-year Total Cost of Ownership (TCO) analysis, real-world Core Web Vitals benchmarks, Astro 7 GraphQL APQ architecture, and a 10-point executive decision matrix for choosing between decoupled and traditional WordPress.

The Shopify Plus vs WooCommerce headless decision in 2026 is no longer a binary "platform vs custom" trade-off. Both can run headless, both integrate AI, both ship at the edge. The real axes are control, total cost over five years, and exit strategy. This article walks the matrix with confirmed platform facts.