Overall, the rebuilt Astro/Starlight docs site is fast on core article pages (99–100 mobile Lighthouse Performance, zero competitor-nofollow violations, working Pagefind search and agent endpoints). However, this audit caught 2 P0 broken surfaces (an orphaned, unstyled Docusaurus page at /api/ and 3 broken HTTP 415 images on /guides/image-metadata/), a mobile CLS failure on /404 (0.136–0.169), systemic WCAG AA contrast failures on every page from two CSS hex values, 19,940-node / 1.09 MB HTML bloat on REST API reference pages, and several high-impact image optimization gaps.
2 P0
Broken /api/ page & 3 HTTP 415 images
6 P1
CLS fail, contrast, 2× H1, 19.9K DOM, 5.8 MB page
9 P2
Polish, mobile clip, image sizing, SEO
99–100
Lighthouse Perf on 7/9 audited pages
95–97
Lighthouse A11y (contrast fail on 9/9)
0
Competitor links missing nofollow
Prioritized Findings
P0 · ErrorDeploy / Hosting
Orphaned, completely broken Docusaurus v3.7.0 page is still live at /api/
Visiting https://docs.sirv.com/api/ — the most natural URL a developer types for API docs — returns HTTP 200 with a leftover Docusaurus v3.7.0 page (<h1>Sirv API Documentation</h1>). Its stylesheet (/assets/css/styles.65999e3a.css) and JS bundles (main.0c862e6b.js, runtime~main.39fe019f.js) no longer exist; Sirv static hosting serves the soft-404 HTML document for them, triggering 3 strict-MIME console errors and rendering two giant stacked unstyled Sirv logos.
Root cause: Deploy only swaps top-level folders in dist/; legacy /api/ remained on Sirv hosting.Fix: Delete legacy /api/ from Sirv hosting and add a redirect /api/ → /apis/ (or /rest-api/).
P0 · ErrorBroken Media
Three visibly broken images (HTTP 415) on /guides/image-metadata/
Under Metadata in ecommerce on /guides/image-metadata/, three live demo.sirv.com/support/spinme-meta/ text-overlay images render as broken image icons in Chrome:
All three base JPGs return HTTP 200 without the overlay query string, and the 4th example (SALT000015-03.jpg, "Hey Jill") returns 200 AVIF. Note that src/plugins/image-sizes.json only recorded dimensions for SALT000015-03.jpg, confirming these 3 were already failing during size generation.
Source:src/content/docs/guides/managing-images/image-metadata.mdx:109,113,117Fix: Inspect XMP/EXIF fields on those 3 files on demo.sirv.com (or purge cached 415s / fix query syntax), then regenerate image-sizes.json.
P1 · Perf / CWVLayout Shift
404 page fails Core Web Vitals CLS on mobile (0.136 Lighthouse / 0.169 Playwright)
On any 404 route, client-side JS computes matching pages after initial render and injects the white "Were you looking for one of these?" card between the search bar and the Popular chips, shoving .rs-chips and the 3 centre cards down (mobile CLS 0.169, desktop CLS 0.079). Similarly, /search/?q=resize triggers a 0.078 desktop CLS when div.ss-main expands with Pagefind results.
Source:src/content/docs/404.mdx → src/components/NotFound.astro; src/pages/search.astroFix: Reserve a fixed min-height skeleton for the suggestion container (or place suggestions below the static hero/chips), and reserve result-list height on /search/.
P1 · Design / A11yWCAG AA Contrast
Systemic color-contrast failures on every page (Lighthouse Accessibility capped at 95–97)
Every one of the 9 audited pages failed WCAG AA (4.5:1) due to a handful of shared tokens:
--card-meta-color: #8a8a93 (src/styles/tokens.css:91): fails at 11–12px on Back/Next card overlines (3.20:1 on #f4f8fd), topic card descriptions (3.27:1 on #f8fafd), Home "More from Sirv" subtitles & picture card read times (3.42:1 on #ffffff).
Footer Subscribe button .cm-submit (src/components/SiteFooter.astro:225): #ffffff on #327bba = 4.48:1 (misses 4.5:1 by 0.02 on every page).
Picture card blue tag .pop-type.is-howto: #1b6fec on #eaf2fd at 11px = 4.10:1.
Colortone demo widget (/dynamic-imaging/effects-filters/colortone-2/): hex labels #a9a9ad on #ffffff (2.34:1) and chips #8c8c8d on #f8f8f8 (3.16:1).
Fix: Darken --card-meta-color to #676770 (≥5.0:1 on #f4f8fd), darken .cm-submit to #2a6ba6 (≥5.6:1), and use var(--sirv-ink) (#1459c7) for .pop-type.is-howto. Instant 100 A11y across the site.
P1 · PerfDOM & Payload
REST API Reference pages ship up to 1.09 MB HTML & 19,940 DOM nodes (Perf 86, TBT 460 ms)
API reference pages sit outside scripts/check-lighthouse.mjs and suffer severe DOM/parse overhead because Shiki-highlighted code blocks for every endpoint and every language tab are rendered simultaneously into the initial HTML:
/rest-api/reference/metadata/ — 1,119 KB HTML, 19,940 DOM nodes, mobile Lighthouse Perf 86, TBT 460 ms, FCP/LCP 2.0 s
/rest-api/reference/account/ — 939 KB HTML
/rest-api/reference/conversions/ — 935 KB HTML
/rest-api/reference/files/ — 874 KB HTML
/sirv-media-viewer/overview/ — 796 KB HTML
Fix: Split large endpoint groups or hydrate non-default language tabs lazily / via lightweight client templates; add /rest-api/reference/metadata/ to scripts/check-lighthouse.mjs.
P1 · PerfChrome Overhead
166 KB<header> (1,051 DOM nodes) + 124 KB sidebar duplicated on every static page
On the home page (218 KB HTML, 1,609 DOM nodes), <header> alone accounts for 163 KB (75% of HTML) and 1,051 DOM nodes (65% of the DOM) — driven by an 85.5 KB mega-menu (div.bar, 748 nodes), a 63.6 KB hidden search modal (dialog.ss-dialog, 150 nodes) inlined on every page, and 114 inline SVGs (72 KB). On typical Help articles (333 KB HTML), header + sidebar = 272 KB (82% chrome) vs 31 KB (9%) actual article content.
Source:src/components/starlight/Header.astro, src/components/kit/SearchDialog.tsxFix: Mount search dialog contents on first open instead of SSR-inlining 64 KB into every page; deduplicate repeated header/sidebar icons via an SVG sprite or shared symbols.
P1 · Perf / ReliabilityImage Optimization
5.82 MB of unoptimized Wikimedia JPEGs on /sirv-media-viewer/customization/external-links/
The live demo on /sirv-media-viewer/customization/external-links/ hotlinks three full-resolution Wikimedia Commons originals (2.34 MB + 2.17 MB + 1.44 MB = 5.82 MB images; 6.76 MB total transfer) with no alt attributes. Wikimedia also throttles automated/non-browser requests with HTTP 429.
Source:src/content/docs/sirv-media-viewer/customization/external-links.mdx:25-36Fix: Switch to Wikimedia /thumb/.../800px-*.jpg URLs (as already used in sirv-rest-api-php-examples.mdx) or host appropriately sized external examples with alt text.
P1 · A11y / SEOSemantics
Duplicate <h1> tags on /learn/ and /ask/ + merged badge text in /ask/ H1
src/components/starlight/PageTitle.astro:12 defines const isHome = id === '' || id === 'help' || id === '404', omitting /learn/ and /ask/. As a result, both hubs render Starlight's default <h1> AND <Hero>'s <h1>. Additionally, on /ask/ the "Verified by Sirv support" pill is nested directly inside <h1> with no separator, reading to crawlers and screen readers as "Customer questions, tested answersVerified by Sirv support".
Source:src/components/starlight/PageTitle.astro:12, src/pages/learn/index.astro, src/pages/ask/[...path].astro:214Fix: Exclude Learning Center and Ask landing hubs from PageTitle's H1; move the Verified pill outside <h1> into a sibling flex wrapper.
P2 · Broken LinkAnchors
Broken hash anchor #videos-from-other-sources + missing id="_top" on landing/404 pages
/sirv-media-viewer/media-types/video-streaming/ links to /sirv-media-viewer/#videos-from-other-sources, which does not exist on the redesigned /sirv-media-viewer/ hub.
Home (/), /help/, and /404 include href="#_top" links, but id="_top" is omitted whenever PageTitle.astro skips rendering on isHome pages.
Mobile sub-nav hard-clips "Learning C" with no fade hint; hero search placeholder truncates mid-phrase
At 390px viewport width (home-mobile.png, not-found-mobile.png), the centre tab bar abruptly clips "Learning Center" to Learning C with no right-edge fade mask (unlike /search/'s filter pills directly beneath it, which do fade cleanly), leaving "Answered Questions" invisible off-screen. The hero search placeholder also cuts off mid-sentence as Search everything, e.g..
Fix: Add a right-edge horizontal scroll fade gradient on nav.centres on mobile and shorten the mobile placeholder (e.g. Search Sirv docs…).
P2 · Design / PolishUI Polish
Visual polish issues on Integrations, Sidebar, Home blog card, and Search snippets
Integrations hub (/integrations/): The Shopify picture card badge truncates to E-commerce Platfo… next to 1 min read; all 7 topic cards under Topics in Integrations repeat the exact same generic blue plug icon (unlike /ask/, which gives each group its own icon).
Left sidebar duplication & non-sticky filter: Top-of-tree articles show "Help Center" twice (blue top label + bold group heading below Filter menu). On deeper articles (e.g. /dynamic-imaging/resize/), auto-scrolling the active item into view scrolls the Filter menu input completely off-screen.
Home "Sirv blog" card thumbnail: Displays a screenshot of the Sirv User Permissions UI (Owner / Administrator / Editor) rather than blog artwork.
Search result excerpts: The literal heading Short answer. leaks into Pagefind snippets on /search/?q=resize (add data-pagefind-ignore to the "Short answer" label).
Every Help article's author avatar (/img/team/*.webp rendered via src/components/kit/PageMeta) omits width="24" height="24" (while Byline.astro includes them — though Byline.astro:53 unnecessarily appends ?w=48&h=48&scale.option=fill to relative /img/team/ files). Additionally, div.Sirv > img[data-src] screenshots lack width/height on the inner <img> (flagged by Lighthouse unsized-images on /getting-started/account-name-subdomain/), and figure-3-v2.webp / figure-4-v2.webp on /learn/360-product-photography/make-a-360-product-photo/ omit dimensions.
Bonus catch:alt="Account name row in Settings > Account" on /getting-started/account-name-subdomain/ has an unescaped > inside the attribute that breaks regex-based HTML auditors (audit-images.mjs).
P2 · Image OptimizationResponsive Sizing
Oversized local WebP cards (2.3×–3.1×) & Learn figures without srcset; 1.19 MB GIF & forced PNGs
Card thumbnails (/img/cards/*.webp):640×400 served into 204×128 slots (3.14× oversized on /360-spin/, /sirv-media-viewer/, /integrations/ — Lighthouse estimates 88 KiB savings on /360-spin/). Tool cards (/img/tools/*.webp) are 800×488 into 346×212 (2.31×, 23 KiB savings on /).
Learn article figures:figure-1.webp & figure-2.webp are 1784px wide with no srcset/sizes (2.61× oversized on 390px mobile, 29 KiB savings).
Heavy GIFs & forced PNGs:/video-streaming/animated-gifs-2/ loads a 1.19 MB plain <img> GIF (/img/help/animated-gif-text-winter.gif) plus multiple 450 KB–1.02 MB spin-to-GIF renders. Three demo images force ?format=png (246–328 KB on /dynamic-imaging/transformations/canvas/ and /integrations/vuejs/using-sirv-cdn-with-nuxt/).
Hidden mega-menu image first in DOM:demos-header-1.jpg?w=496&h=400 sits inside the closed header menu as img[1] with loading="lazy" on every page.
P2 · PerfJS & Caching
Full sirv.js (103–112 KiB unused JS) loaded for single screenshots/spins; 7-day cache on hashed assets
Pages with only a single zoomable screenshot (/getting-started/account-name-subdomain/) or one spin (/learn/360-product-photography/make-a-360-product-photo/) load full sirv.js (~103–112 KiB unused per Lighthouse) instead of a narrower modules= bundle (tuneSirv currently only switches between none, lazyimage, and full). Also, immutable hashed assets under /_astro/*.woff2 and /_astro/*.css serve max-age=605700 (7 days), triggering Lighthouse cache-insight on every page (hosting-level constraint if Sirv static hosting lacks per-path headers).
P2 · A11yHeadings & Alt
Skipped heading levels (Home, 404, 3 articles), empty <h2> on /search/, and 25 images missing alt
Heading hierarchy: Home (/) and /404 jump h1 → h3 (dropping Home Lighthouse Accessibility to 95). Three articles skip levels: /account-management/analytics/sirv-analytics-reporting/ (h2 → h4), /guides/remove-query-strings-from-static-resources/ (h2 → h4), and /v2/sirv-spin/ (h2 → h5). /search/ renders an empty <h2></h2>.
Missing alt (25 images across 10 pages):/v2/image-zoom/ (5), /sirv-media-viewer/core-features/responsive-images/ (4), /v2/responsive-imaging/ (4), /sirv-media-viewer/customization/external-links/ (3), /spin/export-publishing/animated-gifs/ (3), /v2/sirv-spin/ (2), plus 1 each on profiles, watermark, sync-a-local-folder-to-sirv-via-ftp, and add-alt-tags-images-automatically-ai.
P2 · SEOMetadata
Duplicate <title> between /sirv-media-viewer/ and /sirv-media-viewer/overview/
Both pages output <title>Sirv Media Viewer | Sirv Help Center</title> because src/content/docs/sirv-media-viewer/overview.mdx:3 sets seo_title: Sirv Media Viewer, colliding with index.mdx:2 (title: Sirv Media Viewer).
Fix: Remove or differentiate seo_title in overview.mdx (e.g. Sirv Media Viewer Guide).
P2 · Agent ReadinessMarkdown Endpoint
/index.md duplicates the H1 heading and glues Popular chip links together
# How can we help you today? # How can we help you today? Popular:[Video to 360 spin](/spin/advanced-features/convert-video-to-spin/)[3D models](...)
Source:src/integrations/postbuild.mjs (Turndown conversion for index.html)Fix: Avoid prepending frontmatter H1 when the body already starts with the same H1, and add spacing/separators between inline pill links.
Visual Evidence
Captured directly from live https://docs.sirv.com in headless Chromium (click any screenshot to enlarge).
P0 · /api/: Orphaned Docusaurus v3.7.0 page with missing CSS/JS (3 MIME console errors) rendering giant stacked logos.P0 · /guides/image-metadata/: Three consecutive HTTP 415 broken images under Metadata in ecommerce while the 4th ("Hey Jill") renders.P1 · /404 (390px): Async "Were you looking for…" card causes 0.169 CLS; top nav hard-clips "Learning Cent"; search placeholder cuts off at "e.g.".P2 · /integrations/:E-commerce Platfo… truncated badge on Shopify card; identical blue plug icon repeated across all topic cards.P2 · / (390px): Sub-nav hard-clips "Learning C" with no scroll fade hint; "Answered Questions" is hidden off-screen.P2 · Help article sidebar:"Help Center" appears twice at the top of the left sidebar; Filter menu scrolls out of sight on deeper articles.
Lighthouse Mobile & Live Web Vitals
Run live against https://docs.sirv.com with lighthouse@13.6.0 (mobile emulation, skipping is-crawlable while intentional NOINDEX = true is active).
Evaluated via the bundled image-optimization skill script (audit-images.mjs --head), full 1,923-asset crawl, and live Chromium network inspection:
Check
Status
Finding
Modern Formats (AVIF / WebP)
Mostly Pass
Sirv CDN negotiates AVIF/WebP automatically on demo.sirv.com, sirv.sirv.com, and docs.sirv.com. Exceptions: 3 forced ?format=png demos (246–328 KB), 3 raw Wikimedia JPEGs (5.82 MB), and 1.19 MB GIF on /video-streaming/animated-gifs-2/.
Broken Assets
Fail (3)
3 XMP/EXIF text-overlay URLs on /guides/image-metadata/ return HTTP 415.
Explicit Dimensions (CLS)
907 Missing
Author avatars on all Help articles (PageMeta), inner <img> inside div.Sirv wrappers, and figure-3/4-v2.webp on Learn lack width/height.
Responsive srcset / Sizing
Gaps
Local /img/cards/*.webp (640px in 204px slots = 3.14×), /img/tools/*.webp (800px in 346px = 2.31×), and /img/learn/*.webp (1784px in 342px mobile = 2.61×) serve single sizes with no srcset. Note: colortone-2 and sharpen use class="Sirv" so JS appends w=400 in browsers, though raw data-src URLs lack w= for non-JS clients.
Sirv Media Viewer JS
Over-bundled
tuneSirv avoids loading Sirv JS on text-only pages (great!), but single-screenshot and single-spin pages still load full sirv.js (~103–112 KiB unused JS).
Alt Text
25 Missing
25 images across 10 pages (mostly legacy /v2/* and external-links) lack alt attributes.
What Passed & Pre-Launch Guardrails
Passing checks across all 355 live pages:
Zero uncaught JS exceptions (pageerror) across all 14 desktop + mobile page archetypes; zero horizontal document overflow on 1440px or 390px viewports; zero raw markdown leaks (**bold**, :::note, [object Object]); zero invalid JSON-LD blocks; zero nested <a> tags; zero competitor links missing rel="nofollow"; sidebar filter, Ask AI dropdown, and Pagefind base64 .txt search all work cleanly; /llms.txt (74 KB), /openapi.json (91 KB), /.well-known/ard.json, and *.md article endpoints return HTTP 200.
Pre-launch reminder (intentional for now):
All 355 pages currently emit <meta name="robots" content="noindex"> via src/data/indexing.js (NOINDEX = true) while staging alongside sirv.com/help/. Flip to false at cutover. Also note HTTP security headers currently include HSTS and X-Content-Type-Options: nosniff, without Referrer-Policy or CSP.
Recommended Quick-Win Fix Order
1.Remove legacy /api/ on Sirv hosting and redirect /api/ → /apis/ (eliminates broken zombie Docusaurus page).
2.Fix the 3 HTTP 415 overlay URLs in src/content/docs/guides/managing-images/image-metadata.mdx and refresh image-sizes.json.
3.Fix 3 CSS colors in 10 minutes (tokens.css:91--card-meta-color, SiteFooter.astro:225.cm-submit, .pop-type.is-howto) to lift Lighthouse Accessibility from 95–97 to 99–100 site-wide.
4.Reserve space for 404 suggestions in NotFound.astro (fixes mobile CLS 0.136–0.169 fail) and add /learn/ + /ask/ to isHome in PageTitle.astro (fixes duplicate H1s & h1→h3 heading jumps).
5.Replace 5.82 MB Wikimedia originals in external-links.mdx, add width="24" height="24" to PageMeta avatars, and fix the #videos-from-other-sources anchor & duplicate overview.mdxseo_title.
6.Tackle structural perf next: lazy-mount the 64 KB SearchDialog out of SSR <header>, add responsive widths/srcset for local cards & Learn figures, and paginate or lazily hydrate code tabs on /rest-api/reference/* (19.9K DOM nodes → <2K).