Step 4: quality gates, defects found and fixes applied
4 December 2026
All three prototypes pass every quality gate set in the brief. An
independent review (Fable 5.2) and a copy check (Haiku 5.5) found no
blockers. They did find 7 major and 11 minor defects, plus a handful of
copy slips; all have been fixed and the checks re-run. The only score
below target is Lighthouse SEO (66). That is intentional: the prototypes
carry noindex so they cannot compete with the live shop in
search (see §4).
| Gate | A · Gallery | B · Editorial | C · Boutique | Result |
|---|---|---|---|---|
| Functional (links, drawers, filters, forms) | Pass | Pass | Pass | Pass |
| Responsive 360 / 768 / 1024 / 1440, no horizontal scroll | Pass | Pass | Pass | Pass |
| Accessibility (axe-core serious/critical, keyboard, focus, contrast, alt, landmarks) | Pass | Pass | Pass | Pass |
| Performance (Lighthouse mobile, LCP < 2.5 s) | See §4 | See §4 | See §4 | Pass (see §4) |
| JSON-LD, heading order, meta | Pass | Pass | Pass | Pass |
| Traceability (every P0–P1 finding mapped to a feature) | Pass | Pass | Pass | Pass |
| Content integrity (artwork unaltered, no fabricated reviews or sales, Sample labels) | Pass | Pass | Pass | Pass |
Tools: Playwright 1.x with Chromium, axe-core, Lighthouse 12.8.2 (mobile, simulated throttling, the Lighthouse default), and a local static server with Brotli compression so transfer sizes resemble a real host. All checks ran on 4 December 2026 against the final build.
The script crawls every page of each prototype (62, 64 and 65 pages) and then runs the interactive checks on the key pages.
| Check | A | B | C |
|---|---|---|---|
| Pages crawled | 62 | 64 | 65 |
| Broken internal links | 0 | 0 | 0 |
| Pages without exactly one H1 | 0 | 0 | 0 |
| Heading-level skips | 0 | 0 | 0 |
| Missing title / description / canonical / Open Graph | 0 / 0 / 0 / 0 | 0 / 0 / 0 / 0 | 0 / 0 / 0 / 0 |
| Duplicate page titles | 0 | 0 | 0 |
| JSON-LD blocks (parse errors) | 189 (0) | 200 (0) | 182 (0) |
| Schema types present | Organization, Person, WebSite, Product/Offer, VisualArtwork, BreadcrumbList, FAQPage | Same plus CreativeWork (journal) and CollectionPage | Same as A |
| Images without alt text | 0 | 0 | 0 |
Inline scripts / inline event handlers (CSP
script-src 'self') |
0 / 0 | 0 / 0 | 0 / 0 |
| Third-party requests on load | 0 | 0 | 0 |
| Console errors | 0 | 0 | 0 |
| Add to bag updates the count | Pass | Pass | Pass |
| Cart drawer opens, closes with Esc, returns focus | Pass | Pass | Pass |
| Originals limited to quantity 1 | Pass | Pass | Pass |
| Consent banner first in reading order, equal Accept / Reject | Pass | Pass | Pass |
| Audit callout pins shown when toggled on | 13 | 10 | 13 |
C’s interactive parts were tested in the browser on the final build: all 45 works shown with no filter; ticking Kids Wall Art gives 7 results (count announced, 7 cards visible); adding Format: Original then gives 0 with an empty state; searching “bismillah” gives 1 result; quick view opens as a dialog; submitting the empty checkout marks 7 fields invalid and moves focus to the error summary. External links are limited to the artist’s social profiles in the footer, which open only when clicked.
scrollWidth never exceeded the
viewport (0 failures across 20 key pages × 4 widths).Median of three runs per page, mobile form factor with Lighthouse’s simulated slow-4G throttling. Weight is the total transferred bytes with Brotli; requests counts every file.
| Page | Performance | Accessibility | Best practices | SEO | FCP | LCP median (3 runs) | TBT | CLS | Weight | Requests |
|---|---|---|---|---|---|---|---|---|---|---|
| A · Home | 98 | 100 | 100 | 66 | 0.96 s | 2.28 s (2.19–2.55) | 0 ms | 0 | 343 KiB | 17 |
| A · Product (original) | 99 | 100 | 100 | 66 | 0.97 s | 2.17 s (2.11–2.18) | 0 ms | 0 | 225 KiB | 16 |
| A · Collection | 100 | 100 | 100 | 66 | 0.94 s | 1.53 s (1.40–1.61) | 0 ms | 0 | 378 KiB | 17 |
| B · Home | 98 | 100 | 100 | 66 | 1.06 s | 2.49 s (2.48–2.49) | 0 ms | 0 | 367 KiB | 22 |
| B · Product (original) | 97 | 100 | 100 | 66 | 1.22 s | 2.49 s (2.48–2.50) | 0 ms | 0 | 293 KiB | 19 |
| B · Series story | 98 | 100 | 100 | 66 | 1.14 s | 2.41 s (2.37–2.51) | 0 ms | 0 | 243 KiB | 15 |
| C · Home | 100 | 100 | 100 | 66 | 0.91 s | 1.88 s (1.80–1.96) | 0 ms | 0 | 479 KiB | 32 |
| C · Product (original) | 99 | 100 | 100 | 66 | 0.97 s | 2.13 s (1.89–2.17) | 0 ms | 0 | 202 KiB | 17 |
| C · Shop (filters) | 100 | 100 | 100 | 66 | 0.92 s | 1.67 s (1.60–1.69) | 12 ms | 0 | 409 KiB | 28 |
| C · Checkout mock | 100 | 100 | 100 | 66 | 1.01 s | 1.63 s (1.55–1.76) | 0 ms | 0 | 99 KiB | 12 |
All ten pages meet the LCP budget of 2.5 s on the median run. Prototype B has no margin (2.41 to 2.49 s): its large serif headings and lead text are the largest element and wait for the page’s fonts and styles. If B is taken forward, the first fix is to trim its hero to one heading font and a shorter lead paragraph. Single runs vary by about ±0.3 s, so one run in three can cross 2.5 s on A’s home page and B’s pages. Total blocking time is 0 to 12 ms and layout shift is 0 everywhere.
Why SEO shows 66: each prototype page carries
<meta name="robots" content="noindex, nofollow"> on
purpose, so the prototypes never appear in Google or compete with the
live shop. Lighthouse marks noindex as a failed “page is indexable”
check. With that tag removed, every other SEO audit passes. The live
site would not carry the tag.
Comparison with today’s site (from the audit, PageSpeed Insights, 3 December 2026): home mobile performance 66, LCP 9.9 s, 37 MB; product page mobile performance 72, LCP 6.0 s. The prototypes are not a like-for-like test, because they run on a local server rather than the live CDN, so the gap is indicative only. No field (CrUX) data exists for either.
| # | Severity | Defect | Fix |
|---|---|---|---|
| 1 | Major | Consent banner gave “Accept all” more visual weight than “Reject”, sat at the end of the page for screen readers, and could cover most of a small screen; the callout toggle could overlap it | Accept and Reject now use the same button style; the banner is inserted straight after the skip link; height capped at 60 % of the screen with scrolling; the callout toggle is hidden while the banner is open |
| 2 | Major | Some invented names were not labelled (River Bend, Path to the Trees, Golden Sky, Calligraphy Trio, Little Muslim Bundle) and B’s series names read as final | All labelled “(working title)”; series pages carry a “Proposal” note that names and groupings are suggestions to confirm |
| 3 | Major | Damage policy text (“within 48 hours… we will make it right”) read as a firm promise | Reworded as current shop wording for the artist to review, with “a replacement or refund” and “your statutory rights are not affected” |
| 4 | Major | Schema: free-shipping rate stated for every offer, including those
under €50; name prints shown as returnable; C’s sold demo pieces marked
InStock; placeholder social URLs in sameAs; organisation
name differed from the brand |
Shipping details only on offers of €50 or more; name prints use
MerchantReturnNotPermitted; sold demo pieces use
SoldOut; sameAs removed until handles are
confirmed; organisation name is “Fatima Azfar” everywhere |
| 5 | Major | Audit finding C1 (apex redirect) had no callout on the pages | Footer legal block now tagged L1 and C1 in all three prototypes |
| 6 | Major | QA report and document pages missing, so launcher links were dead | This report written; all documents generated as HTML in
docs/ |
| 7 | Major | One-of-a-kind originals could be added to the bag more than once | Cart caps originals at 1 and explains why |
| 8 | Minor | Documents described features some prototypes do not have (a “medium” filter in C, a viewer and configurator in C, a sticky header in B, “one deferred script”) | Map, comparison and recommendation corrected to match the build |
| 9 | Minor | nginx sample: add_header inside location
drops the security headers; no X-Frame-Options; a reference to a missing
.htaccess; COOP would break PayPal pop-ups; no note on
inline styles |
Headers moved to one included snippet used at server and location
level; X-Frame-Options added; reference removed; COOP set to
same-origin-allow-popups; note added |
| 10 | Minor | redirects.csv comment tied the URL map to the apex fix,
and some targets did not match the prototype URLs |
Regenerated from the catalogue (50 rows) with matching targets and a corrected comment |
| 11 | Minor | B: focus lost after removing an item from the bag | Focus moves to the next Remove button or the close button |
| 12 | Minor | B: L3 callout attached to a button | Moved to a wrapper element |
| 13 | Minor | C: price change not announced to screen readers | aria-live="polite" on the price |
| 14 | Minor | B copy: “which is why there is a pack of seven”, A4/A3 sizes shown on the jewellery series, “chapter n” using the item number, “digital illustrations” (unconfirmed) | Each reworded |
| 15 | Minor | Two kids’ products had a generic description that did not match the item | Rewritten from the product names; personalisation details marked to confirm |
| 16 | Minor | Audit finding titles in the callout overlay read as criticism | Rewritten as constructive improvements |
| 17 | Minor | A: one callout note said “fixes the wrong first-load price” | Reworded neutrally |
| 18 | Minor | A: breadcrumb and text-link targets under 44 px | Enlarged |
| Issue | Fix |
|---|---|
| “Sample Sample” duplicate label on A’s frame prices | Single label |
| C told buyers of painted originals they could wipe them with a damp cloth | Care text now depends on the item; originals: no water or cleaning products on the paint |
| Certificate of authenticity labelled twice | One “(to confirm)” label |
| “Placeholder Placeholder” on B’s video card | Single label |
| Free-shipping threshold worded “above €50” in some places and “over €50” in others | “over €50” everywhere, including robots.txt and
llms.txt |
| Issue | Fix |
|---|---|
| Collection pages loaded the first row of images eagerly, competing with the heading for bandwidth (LCP over budget) | Cards lazy-load; LCP image alone is preloaded with high priority |
| Heading fonts discovered late | Each prototype preloads its heading font and Inter 600 |
| Phones downloaded 960 px images for half-width cards | 640 px width added to every image set |
Launcher link ../index.html missing |
Launcher index.html added |
| After the consent fix, the longer banner text became the largest element on B’s series page (LCP 2.54 s) | Banner copy shortened (also easier to read on phones); shared script loads before the callout data |
| Italic heading font discovered late on A and B | Preloaded with the other heading font |
Every P0 and P1 finding has a visible design response, tagged with an audit callout, in all three prototypes:
| Finding | Response (where to see it) | A | B | C |
|---|---|---|---|---|
| L1 Legal pages | Footer legal block and pages on every page | ✓ | ✓ | ✓ |
| L2 Withdrawal right | Product accordions, bag note, withdrawal page | ✓ | ✓ | ✓ |
| L3 Consent | Banner before any optional storage; privacy settings link | ✓ | ✓ | ✓ |
| E1 Content in HTML | Every product pre-rendered as static HTML | ✓ | ✓ | ✓ |
| A1 Mobile home speed | Static hero, no Instagram widget, AVIF/WebP, preload | ✓ | ✓ | ✓ |
| E2 Titles and descriptions | Unique title and meta description per page | ✓ | ✓ | ✓ |
| E3 Headings | One H1, ordered headings | ✓ | ✓ | ✓ |
| C1 Apex redirect | Path-preserving redirect in security/; footer
callout |
✓ | ✓ | ✓ |
| F1 FAQ and help content | Visible FAQ, shipping, care, answer-first copy | ✓ | ✓ | ✓ |
| G1 Entity footprint | About page, Person/Organization/WebSite schema | ✓ | ✓ | ✓ |
Content integrity:
aggregateRating
appears in any schema.| Phase | Work | Model / tool | Outcome |
|---|---|---|---|
| 0–1 | Audit extraction, design system, schema, core behaviours, security and SEO config, build contract | Opus 5.5 (orchestrator) | Done first, so the three builds share one foundation |
| 0 | Artwork download, image pipeline, catalogue capture | Scripts (PowerShell on the device, Pillow) | 51 images, 4 widths × 2 formats |
| 2 | Prototype A, Gallery Minimal | Sonnet 5.5 subagent | Passed on first attempt |
| 2 | Prototype B, Editorial Storyteller | Sonnet 5.5 subagent | Passed on first attempt; one axe fix after QA |
| 2 | Prototype C, Conversion Boutique | Opus 5.5 subagent | Passed on first attempt |
| 3 | Comparison, recommendation, roadmap | Opus 5.5 | Done |
| 3–4 | Screenshots, crawls, axe, Lighthouse, packaging | Scripts (Playwright, Lighthouse, pandoc) | Done |
| 4 | Independent cross-prototype review | Fable 5.2 subagent | 7 major, 11 minor, all fixed |
| 4 | Copy and labelling check | Haiku 5.5 subagent | 5 issues, all fixed |
Escalations: none needed; no task failed its acceptance criteria twice.