Home / Insights / QA and Software Testing
QA and Software Testing
Writing Performance and Accessibility into a Website Brief: Acceptance Criteria That Hold
Almost every website brief asks for a site that is fast and accessible. Very few say how either will be measured, which means neither is reliably delivered. Here is how to write both into the brief as criteria you can test.
TopicsQA and Software TestingWeb and SaaS DevelopmentProduct Design and Discovery
Key takeaways
- Use Core Web Vitals (LCP, INP, CLS) as the shared language for speed, assessed at the 75th percentile and separately for mobile.
- Use WCAG 2.2 level AA as the accessibility target unless a regulation or contract requires something different.
- Write criteria per template (home, service, article, form), tested on realistic content, not just on a demo page.
- Combine automated checks in the pipeline with manual keyboard and screen-reader testing; automation alone misses much of accessibility.
- Protect the result after launch: third-party scripts, oversized images and editor-built pages are where both standards erode.
On this page
“The site must be fast, mobile-friendly and accessible” appears in most website requests for proposal. It sounds clear, but it cannot be accepted or rejected. A vendor can reasonably claim a site is fast when it loads quickly on a developer’s laptop over office broadband, while real visitors on mid-range phones wait several seconds for the main image.
This article shows how to turn those intentions into acceptance criteria: measurable thresholds, the templates they apply to, how they will be tested and who signs them off. It is written for marketing leads, product owners and QA leads who brief and accept website projects.
Define speed with Core Web Vitals
Google’s Core Web Vitals give a widely understood definition of user-perceived performance. Each has a published “good” threshold:
| Metric | What it measures | “Good” threshold |
|---|---|---|
| Largest Contentful Paint (LCP) | How quickly the main content appears | 2.5 seconds or less |
| Interaction to Next Paint (INP) | How quickly the page responds to taps, clicks and key presses | 200 milliseconds or less |
| Cumulative Layout Shift (CLS) | How much the layout jumps around while loading | 0.1 or less |
The recommended assessment is at the 75th percentile of page loads, segmented by mobile and desktop. In other words, three out of four visits should meet the threshold, and mobile is judged separately rather than averaged with desktop.
Lab versus field data
Before launch, you only have lab data: simulated tests in tools such as Lighthouse, run under defined device and network conditions. After launch, field data from real users becomes available. Acceptance criteria for a new site therefore need to specify lab conditions (for example, a throttled mobile profile), with a follow-up review of field data a few weeks after launch.
Define accessibility with WCAG 2.2
The Web Content Accessibility Guidelines (WCAG) from the W3C are the reference standard. WCAG 2.2 was published in October 2023 and is also an ISO standard. Its success criteria are grouped into levels A, AA and AAA, under four principles: perceivable, operable, understandable and robust.
Level AA is the usual target for business websites and is what most accessibility laws and procurement requirements refer to. Organisations dealing with the European Accessibility Act typically use WCAG together with the European standard EN 301 549. If you operate in a regulated sector or sell to the public sector, check which version and level your obligations specify.
What AA covers in practice
- Text and interface contrast that remains readable.
- Everything usable with a keyboard alone, with a visible focus indicator.
- Meaningful alternative text for informative images.
- Form fields with labels, clear error messages and instructions.
- Headings and landmarks that make structure clear to screen-reader users.
- Content that reflows on small screens and when zoomed, without horizontal scrolling.
- Target sizes large enough to tap reliably (a criterion added in WCAG 2.2).
Writing criteria the vendor can be held to
Good criteria name the templates, the threshold, the test method and the conditions. An illustrative set:
| Area | Criterion | Test method |
|---|---|---|
| Speed | Home, service, article and contact templates achieve LCP ≤ 2.5s, CLS ≤ 0.1 in lab tests on a throttled mobile profile, using production-like content and images | Lighthouse or equivalent, run three times, median taken |
| Responsiveness | No long tasks block interaction on key templates; menu, accordions and forms respond without noticeable delay | Lab interaction profiling; field INP reviewed after launch |
| Accessibility | All templates meet WCAG 2.2 AA | Automated scan with zero critical issues plus manual keyboard and screen-reader check on each template |
| Forms | All forms completable by keyboard, with labelled fields and announced errors | Manual test with a screen reader |
| Editor safety | Blocks or components enforce heading order, alt text prompts and image sizing | Editor creates a test page; QA reviews output |
| Post-launch | Field Core Web Vitals reviewed four to six weeks after launch, with fixes for any template failing at the 75th percentile | Search Console or real-user monitoring |
Testing on realistic content matters. A template that performs well with a placeholder paragraph can fail once marketing adds a large hero video, three tracking scripts and an embedded form.
Build choices that make the criteria achievable
For performance
- Serve images in modern formats at the right size for each breakpoint, and do not lazy-load the main above-the-fold image.
- Reserve space for images, embeds and banners to avoid layout shift.
- Keep JavaScript lean; avoid heavy sliders and page builders for simple layouts.
- Load fonts efficiently and limit the number of font files.
- Use caching and a CDN such as Cloudflare, or a platform such as Vercel for headless front ends.
- Govern third-party scripts: every chat widget, heatmap and tag adds weight and main-thread work.
For accessibility
- Choose a colour palette that passes contrast checks at the design stage, not in QA.
- Use native HTML elements (buttons, links, form controls) before custom widgets.
- Design focus states and error states explicitly in the design system.
- Build editor guardrails into blocks: required alt text fields, constrained heading levels.
Our article on DesignOps describes how design, development and QA can share these standards rather than discovering gaps late.
A testing process that catches regressions
- Design review: check contrast, focus states, target sizes and content hierarchy in the designs.
- Automated checks in CI: run accessibility scans and lab performance tests on key templates for every release, failing the build on regressions beyond an agreed budget.
- Manual accessibility pass: keyboard-only navigation and a screen-reader walkthrough of each template and form. Automated tools catch only part of WCAG; issues like meaningful link text and logical reading order need a person.
- Content-loaded staging test: repeat performance tests once real content and tracking scripts are in place.
- Post-launch review: compare field data with lab results and fix templates that fail for real users.
Accessibility and performance testing should sit inside normal acceptance, not as a separate audit at the end. Our guide to user acceptance testing covers how to structure sign-off, and UX audits covers reviewing an existing site.
Keeping the standard after launch
Most sites launch in good shape and degrade over the following year. The common causes are new marketing scripts, uncompressed images uploaded by editors and new pages built outside the component system. Simple safeguards:
- An approval step for adding third-party scripts through the tag manager.
- Automatic image resizing and compression in the CMS.
- Quarterly checks of field Core Web Vitals and an automated accessibility scan.
- Editor guidance on headings, alt text and link text.
PoliteTech’s website design and development service covers speed optimisation, technical SEO and accessibility from the start, with maintenance available after launch. If a platform change is part of the project, see WordPress or a headless CMS?
Frequently asked questions
Is a perfect Lighthouse score a sensible requirement?
Not usually. Scores vary between runs and weight factors differently from real user experience. Thresholds for LCP, CLS and responsiveness on named templates are more meaningful and easier to agree on.
Do automated accessibility tools prove compliance?
No. They reliably find issues such as missing alt attributes or low contrast, but many WCAG criteria need human judgement, such as whether alt text is meaningful or whether focus order makes sense. Combine automated scans with manual testing.
Should we aim for WCAG AAA?
AAA is rarely required for a whole site and some criteria cannot be met for all content. Most organisations target AA and apply selected AAA criteria where they are practical and helpful to their users.
Who is responsible for accessibility after launch?
Both the vendor and the content team. The vendor should deliver accessible templates and editor guardrails; editors are responsible for alt text, headings and link text in the content they publish.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- web.dev: Web Vitals — Supported Core Web Vitals definitions, ‘good’ thresholds and assessment at the 75th percentile segmented by mobile and desktop.
- W3C WAI: WCAG 2 Overview — Supported WCAG 2.2 publication date, ISO status, conformance levels, the four principles and the EN 301 549 note.
Related reading
Continue your research
Want a website brief with speed and accessibility you can actually test?
We can help you write template-level acceptance criteria and build the checks into delivery.
