facebook pixel
27Sep 2026

Mobile web design for developers: GDS aligned steps to ship fast sites

Responsive web layouts across different screen sizes

For most websites, responsive mobile-first design is the best default. It gives you a single codebase, wider reach across devices, and a stronger foundation for accessibility and performance. This guide sets out the core principles, a build checklist, and accessibility and performance checks that turn those principles into a working site.


TL;DR:

  • Most mobile-first websites should follow a responsive design with fluid layouts and flexible assets to adapt smoothly across all device sizes.
  • Building should start with wireframes at 320 pixels wide, focusing on core tasks, then layer on responsive CSS and progressive enhancement for accessibility and interactions.
  • Performance must be optimized by setting a clear budget, compressing assets, deferring non-critical scripts, and monitoring key metrics like Largest Contentful Paint.
  • Testing should include strict accessibility checks at 320 pixels, verifying contrast, focus states, landmarks, text resizing, and real-device validation with assistive tools.
  • Common pitfalls include overloaded homepages, no pre-defined performance budget, and accessibility as an afterthought, which can be avoided with early planning and standards adherence.

Brainiacmedia
Build A Responsive Website That Works
Brainiac Media creates responsive websites, e-commerce platforms, CMS solutions, and bespoke digital experiences for growing businesses.
Explore web development

Table of Contents

1. Core principles: mobile-first and progressive enhancement

Mobile-first means designing for the smallest, most constrained screen before you design for anything larger. It forces you to prioritise: what does someone actually need on this page, right now, on a phone with patchy signal? That discipline still matters in 2026, because it stops desktop assumptions from dictating the mobile experience.

Responsive design, where one flexible layout adapts to any screen width, is the strongest default for most sites, according to Gov. Adaptive design, which serves separate fixed layouts for set breakpoints, suits specific cases such as complex data dashboards. Dedicated mobile sites on separate subdomains are rarely worth the maintenance overhead they create.

Progressive enhancement follows naturally: build the smallest useful experience first using semantic HTML, then layer on styling and interactivity for browsers and devices that can handle it. GOV.UK’s guidance recommends exactly this sequence rather than starting from a desktop layout and stripping it back.

A few rules of thumb carry most of the weight:

  • Use fluid layouts and percentage or relative units rather than fixed pixel widths.
  • Serve flexible images that scale with their container instead of fixed-size assets.
  • Design touch interactions first, then adapt them for mouse and keyboard.
  • Never disable pinch-to-zoom or user scaling, whatever the design brief asks for.

Get these four right and most of the harder mobile problems solve themselves.

2. Practical build sequence and checklist

A mobile-first build works best as a clear sequence, not a checklist tackled out of order.

  1. Define mobile tasks first. Inventory your content and map what a phone visitor actually needs to do, whether that is finding an opening time or completing a purchase.
  2. Wireframe at 320 pixels. Design the smallest useful screen before anything wider, so the layout survives the narrowest real devices.
  3. Build semantic HTML and responsive CSS. Media queries and fluid images should follow the wireframe, not replace the thinking behind it.
  4. Apply progressive enhancement. The core page must work without JavaScript; add richer interaction as a layer on top, never as a dependency.
  5. Optimise assets and set a budget. Images, web fonts and scripts all cost load time, so measure before and after every change.
  6. Polish for touch. Enlarge tap targets, label inputs clearly, choose sensible input types, and cut form fields down to the essentials.
  7. Test on devices and assistive technology. This closes the loop and is covered in detail next.

Pro Tip: Plan and review layouts on your phone if you like, but do the actual build and QA on a desktop with Lighthouse and WebPageTest open, because that is where the tooling GDS recommends actually runs, according to GDS’s frontend performance standard.

Following this order matters more than any single step. Teams that jump straight to visual polish before defining tasks tend to end up redesigning the same page twice.

3. Accessibility and testing for mobile

Use the Web Content Accessibility Guidelines as your baseline for mobile content, not an afterthought bolted on once the design is signed off. W3C is explicit that mobile-first design supports accessible foundations rather than working against them.

Test at 320 pixels in both portrait and landscape, with the browser’s text enlargement turned on, and confirm the page still reflows without breaking. The DWP Accessibility Manual treats this as a standard check precisely because layouts commonly fail it. A concrete checklist keeps testing consistent:

  • Check contrast ratios meet WCAG thresholds against every background colour used.
  • Confirm visible focus states appear when tabbing or navigating by keyboard.
  • Verify semantic landmarks (header, nav, main, footer) exist and read correctly.
  • Add ARIA attributes only where semantic HTML cannot express the same meaning.
  • Allow users to zoom and resize text; BBC’s content resizing guidance recommends relative units for exactly this reason.

Run Lighthouse for automated checks, then follow up manually with a screen reader and at least one real device, since simulators miss touch and gesture quirks. Chrome DevTools’ responsive mode is useful for quickly simulating 320 pixels and rotating orientation, but treat it as a first pass rather than a substitute for physical hardware. Accessible mobile design also tends to support search visibility, a link explored further in this partner piece on accessibility and SEO.

4. Performance optimisation essentials for mobile

Speed on mobile is a prioritisation problem before it is a technical one. Set a performance budget for the page, decide which assets are critical for the content above the fold, and defer everything else.

Illustration of prioritised mobile page assets

GDS’s frontend performance guidance ranks specific optimisations by priority and recommends validating them against real-user conditions, not just synthetic lab tests, according to The GDS Way. That means compressing assets, minimising unused code and cutting third-party requests wherever possible.

Practical moves that consistently pay off:

  • Inline critical CSS in the page head and defer non-critical JavaScript until after render.
  • Serve images in efficient formats such as AVIF or WebP with a responsive srcset.
  • Set a sensible font-display strategy so text stays visible while web fonts load.
  • Reduce the number of third-party scripts and domains the page depends on.
  • Consider service worker caching if the site is moving towards progressive web app behaviour.

Track Largest Contentful Paint, Cumulative Layout Shift and Time to First Byte, and combine Lighthouse and WebPageTest runs with real-user monitoring across locations, since lab results and real conditions rarely match exactly. Our own guide to image optimisation covers the srcset and compression detail in more depth.

5. Examples, patterns and quick dos and don’ts for common mobile pages

Certain patterns repeat across nearly every mobile-first project, and getting them wrong is the single most common reason a redesign underperforms.

A hero section should carry a brief headline and one visible call to action; a large decorative image that pushes the CTA below the fold defeats the point of putting it there at all. Navigation works best as a simple, persistent menu button with a logical content order and a clear way back to where the visitor started. Forms should ask for the fewest fields possible, use the correct input type for each one, and validate inline rather than after submission, with tap targets generous enough to hit reliably on a small screen.

  • Do allow zoom and use a generous base font size across the whole page.
  • Do keep the primary action visible without scrolling on the most common screen widths.
  • Don’t use tiny tap targets that force a visitor to zoom just to tap a button.
  • Don’t load heavy third-party widgets above the fold before the main content appears.

Our notes on mobile usability and conversion and our landing page design work both cover these patterns in more practical detail.

6. What agency projects teach us about mobile-first builds

The same pitfalls turn up again and again: homepages overloaded with competing messages, no performance budget agreed before the build starts, and accessibility treated as a fix applied at the end rather than a decision made at the start. Some agencies build mobile-first from the wireframe stage, with performance budgets and accessibility checks set before coding begins.

— Rob

7. Get mobile-first design done properly

Reading a guide is one thing. Rebuilding a live site under a client’s schedule is another. Brainiac Media offers Website Design built around responsive, mobile-first foundations, along with performance and accessibility reviews as part of the wider build process.

Brainiacmedia

  • Responsive builds that follow the same sequence set out in this guide, from wireframe through to launch.
  • Performance and accessibility audits to catch the issues this article flags before they reach production.
  • Ongoing support once the site is live, so fixes do not wait for the next redesign.

If you want a second opinion on an existing mobile site or a plan for a new one, get in touch through our website design services page for a free audit.

Sources

FAQ

Can you do web design on a mobile device?

You can plan, review and sketch layouts on a phone, but production-quality development and QA need desktop tools such as Lighthouse and WebPageTest, which GDS recommends for performance validation. Phones are useful for spot-checking touch behaviour, not for the full build.

What is the best web design approach for mobile?

Responsive, mobile-first design is the strongest default for most sites, according to GOV.UK’s mobile technology guidance. It uses one flexible layout, fluid images and touch-first interactions that then scale up for larger screens.

Is mobile-first design still relevant?

Yes. It remains a design and delivery strategy that forces content prioritisation, supports accessible foundations, and underpins progressive enhancement, as W3C’s mobile accessibility guidance sets out. Starting small and adding complexity later avoids desktop assumptions creeping into the mobile experience.

How do I build a mobile website?

Start with a content inventory and task map, wireframe at 320 pixels, then build with semantic HTML and responsive CSS before layering on progressive enhancement. Optimise assets against a performance budget and test on real devices and with assistive technology before launch.