What should "responsive" mean in a website contract?
It should mean a short list of checks both sides can run: the screen widths to test, the browsers and real phones to test on, which pages have a mobile design, and a few named WCAG 2.2 criteria, such as content that reflows at 320 CSS pixels. "Fully responsive" on its own is an intention; a list is something you can accept or send back.
web.dev describes responsive web design as changing a site's layout to suit the device being used, for example a single column on a phone, two columns on a tablet and three or four on a desktop computer (web.dev: responsive web design basics). That leaves open which pages, which widths and who decides how a desktop layout folds onto a phone. It is the same problem as writing "fast" into a contract, covered in my article on page speed targets.
Which screen widths should the contract name?
Widths, not devices. web.dev advises against defining breakpoints by device classes or by any product, brand name or operating system, and says content shouldn't rely on a particular viewport width to render well (web.dev: responsive web design basics).
- Test widths: for example 320, 390, 768, 1280 and 1440 CSS pixels, from a small phone to a wide desktop. These are the contract's own choice, not a standard, but keep 320 because WCAG uses it.
- Everything in between: the layout must also work at every width between the smallest and the largest. Dragging the browser window slowly from wide to narrow finds where a menu wraps or a heading overflows.
- Above the widest: in web.dev's example, large screens get a maximum width so a panel doesn't use the whole screen width, and the same page notes that classic readability theory puts an ideal column at 70 to 80 characters per line (web.dev). Say what happens beyond your widest width.
- No sideways scrolling: users are used to scrolling vertically but not horizontally (web.dev).
Two technical lines belong here too. Every page needs a viewport meta tag, because without one mobile browsers render the page at a desktop width, usually about 980px (web.dev). And the tag must not block zooming: MDN says setting user-scalable to no prevents people with low vision from being able to read and understand page content (MDN: viewport meta tag).
Who decides the mobile layout of each page?
Whoever the contract names. Check whether the designer delivers a mobile frame for every template or only for key pages. Both work if each gap has an owner:
- Pages without a mobile frame: the developer adapts them using the patterns of the designed mobile pages, and you review them on staging.
- Tablet: if there are no tablet frames, the tablet layout is the developer's call within the same rules.
- Stacking order: when columns stack, decide what comes first, such as an image above or below its text.
Before a Figma to website build I check these in the file, as in my guide to reviewing a design before it goes to build. If the design is not made yet, put mobile frames into the Figma website design scope from the start.
Which accessibility criteria make responsive design testable?
Five WCAG 2.2 success criteria, all at level AA, describe what a responsive page has to survive:
| Criterion | What it requires | How to check |
|---|---|---|
| 1.4.10 Reflow | No loss of content or functionality and no scrolling in two dimensions at a width equivalent to 320 CSS pixels, except parts such as maps, video and data tables (W3C: Reflow) | A window 1280 CSS pixels wide zoomed to 400 percent, which W3C gives as equivalent |
| 1.4.4 Resize Text | Text resizes up to 200 percent without loss of content or functionality, in each media query variation of a responsive site (W3C: Resize Text) | Zoom to 200 percent at each test width |
| 1.4.12 Text Spacing | Nothing is lost with line height at 1.5 times the font size, paragraph spacing at 2 times, letter spacing at 0.12 times and word spacing at 0.16 times (W3C: Text Spacing) | Apply those values with a text spacing bookmarklet and look for clipped text |
| 1.3.4 Orientation | Content is not restricted to portrait or landscape unless an orientation is essential (W3C: Orientation) | Rotate a real phone on every template |
| 2.5.8 Target Size (Minimum) | Pointer targets are at least 24 by 24 CSS pixels, with exceptions such as enough spacing or a link in a sentence (W3C: Target Size); new in WCAG 2.2 (W3C: what's new in WCAG 2.2) | Check buttons, menu links and close icons on a phone |
Text Spacing is where fixed heights show up: W3C lists clipped or overlapped content when text spacing is adjusted as a failure (W3C: Text Spacing), so a button with a fixed height that cuts off its label fails. The wider checks are in my article on accessibility in a website build.
Should mobile visitors get the same content as desktop?
Yes, rearranged but not cut. Google uses the mobile version of a site's content for indexing and ranking, asks that the mobile site contains the same content as the desktop site with the same headings, and accepts moving content into accordions or tabs (Google: mobile-first indexing). It also warns that Google won't load content that requires user interactions, such as swiping or clicking, to load (Google: mobile-first indexing). web.dev adds: don't hide content just because you can't fit it on the screen (web.dev). So write down that nothing is removed from the mobile layout without your approval.
Which browsers and devices should be tested?
The ones your visitors use. MDN's testing guide says you can't test every combination, so test those commonly used among the target audience, and use analytics if the site is already live (MDN: testing strategies). For its example audience it suggests the latest Chrome, Firefox, Safari and Edge on desktop, plus iOS Safari and Chrome and Firefox on phones, ideally on a phone and a tablet.
Agree how testing is done, too. Chrome's documentation calls DevTools device mode a first-order approximation of how a page looks and feels on a mobile device, because the code doesn't actually run on one, and says that when in doubt you should run the page on a mobile device (Chrome DevTools: device mode). A sensible split: widths checked in device mode, every template on at least one real iPhone and one real Android phone.
How should images work on phones?
MDN notes that mobile users don't want to waste bandwidth downloading a large image intended for desktop users. The srcset and sizes attributes let the browser choose between several sizes of an image, and the picture element serves a different crop to narrow screens, which MDN calls art direction (MDN: responsive images). Ask for both where a wide hero image would lose its subject on a phone. web.dev also recommends width and height attributes on images so the browser can reserve space before they load (web.dev).
What about menus, forms, tables, pop-ups and embeds?
- Menus: a menu button is fine, since W3C says relocating content is not a loss as long as users can still access it (W3C: Reflow). web.dev warns you can't assume every small device uses a touchscreen or every large one is a regular computer (web.dev), so dropdowns must open with a tap, not only on hover.
- Forms: web.dev recommends the right input type on each field, which provides the right keyboard on mobile, and autocomplete values such as email (web.dev: sign-up form best practices).
- Tables: a data table may scroll inside its own container, but the heading, search field and pagination around it must still fit (W3C: Reflow).
- Pop-ups: Google advises banners that take up only a small fraction of the screen instead of full-page interstitials, and, unless legally mandatory, not obscuring the entire page (Google: intrusive interstitials). Every close button should be easy to tap.
- Embeds: W3C's Reflow page shows a video player without max-width: 100% causing a page-wide sideways scrollbar (W3C: Reflow). Check maps and booking widgets the same way.
On a WordPress build or a Webflow build, ask which breakpoints the theme or platform provides and compare them with your test widths.
What does a sample responsive clause look like?
- Widths: each template is checked at 320, 390, 768, 1280 and 1440 CSS pixels and works at every width between, with no sideways page scrolling.
- Browsers and devices: the latest Chrome, Safari, Firefox and Edge on desktop, plus a real iPhone and a real Android phone in both orientations.
- Designs: mobile frames for the listed templates; other pages follow their patterns.
- Accessibility: WCAG 2.2 success criteria 1.4.10, 1.4.4, 1.4.12, 1.3.4 and 2.5.8 at level AA.
- Content: the same content and headings on mobile and desktop.
- Images: several sizes, with mobile crops where supplied.
- Exclusions: third-party embeds and content added after approval are reported, not guaranteed.
- Evidence: screenshots of each template at each width before the final milestone.
Put it in the contract or the milestone description on Upwork before work starts, so the final review is a check against the list rather than a debate about what "fully responsive" meant.
