paste this link into your ai. it will know what to do.
Audit and fix a website for accessibility, performance, SEO, security, markup and sustainability, tagging each rule as formal standard, consensus or tool check. Use for site audit, Lighthouse, WCAG, page speed, SEO check.
Techboi Website Quality Audit
0. Tier tags (on EVERY finding)
- 🟢
[STANDARD]— formal spec (W3C, WHATWG, ISO, ETSI/CEN). MUST pass. - 🟡
[CONSENSUS]— industry norm or vendor guidance, no formal standing. SHOULD pass. - 🔵
[TOOL]— what one tool checks. Evidence, not authority.
Conflict rule: STANDARD > CONSENSUS > TOOL. A tool score never overrides a standard. Never present vendor guidance (Google, Bing) as a standard.
1. Get real data first (never guess)
- Use a report the user attached or one in the project.
- Else run tools on the live URL (browser or CLI) — see §8.
- Lab runs: ≥ 3, report the MEDIAN, mobile first, no extensions.
- Field data (CrUX, real users, p75) beats lab data when both exist.
- State which tool + version produced each number.
2. Accessibility
🟢 [STANDARD]
- WCAG 2.2 Level AA (W3C; also ISO/IEC 40500:2025).
- EN 301 549 (EU, European Accessibility Act). v4.1.1 (published Sept 2026) = WCAG 2.2 AA. Until v4.1.1 is cited in the EU Official Journal, v3.2.1 (WCAG 2.1 AA) is the legal baseline → build to v4.1.1.
- WCAG 2.2 AA ≠ full EN 301 549 conformance (EN covers more than web content). Say so in reports.
Core checks:
- Text alternatives for non-text content;
alt=""if decorative. - Contrast ≥ 4.5:1 text, ≥ 3:1 large text and UI components.
- Logical headings; one
h1; landmarks (header,nav,main,footer). - Every control has an accessible name; form inputs have labels; errors are described in text.
- Full keyboard operation; visible focus; focus not obscured (2.2); no keyboard traps.
- Target size ≥ 24×24 CSS px (2.2); dragging has a single-pointer alternative (2.2).
- No cognitive tests for login (2.2 accessible authentication).
<html lang>set; zoom/reflow to 400% without loss; nouser-scalable=no.- Motion: anything moving on its own for > 5s next to other content needs pause/stop/hide (WCAG 2.2.2, Level A); motion from interactions can be turned off (2.3.3, AAA) → honour
prefers-reduced-motion. Opacity/colour fades aren't motion; blur is. Rules:techboi-motion.
🟡 [CONSENSUS] Manual keyboard pass + screen-reader pass (VoiceOver/NVDA). Automated tools catch only part of WCAG. 🔵 [TOOL] axe-core, Pa11y, WAVE, IBM Equal Access Checker, Lighthouse a11y.
3. Performance
🟢 [STANDARD] Measure with W3C Web Performance APIs (Navigation/Resource Timing, Largest Contentful Paint, Layout Instability, Event Timing). Check each spec's maturity before calling it a standard — several are drafts.
🟡 [CONSENSUS] Core Web Vitals at p75 (defined by Google, used industry-wide):
- LCP ≤ 2.5s · INP ≤ 200ms · CLS ≤ 0.1
- Starting budgets: page < 1.5 MB · JS < 300 KB gz · CSS < 100 KB gz · fonts < 100 KB · 3rd-party < 200 KB.
Fix rules:
- LCP element in initial HTML,
fetchpriority="high", neverloading="lazy"on it. - AVIF/WebP, correct
srcset/sizes, compressed; video instead of GIF. width/heightoraspect-ratioon media; reserve space for embeds; no content injected above content.font-display: swap|optional; subset and self-host fonts.- Inline critical CSS;
deferscripts; flatten request chains; ≤ 2preconnect. - Brotli/gzip, no redirect chains, fast TTFB, long cache + hashed filenames.
- Break long tasks; animate only
transform/opacity; facade heavy third-party embeds.
🔵 [TOOL] sitespeed.io (Chrome, Firefox, Edge, Android; Safari partial), WebPageTest, Lighthouse 13 / PageSpeed Insights (uses *-insight audit IDs; old IDs removed; needs Node ≥ 22.19; PWA category removed).
4. Markup
🟢 [STANDARD] HTML Living Standard (WHATWG): valid doctype, charset first, no duplicate IDs, correct nesting, native elements before ARIA. 🔵 [TOOL] W3C Nu HTML Checker.
5. SEO
🟢 [STANDARD] Only these: semantic HTML, crawlable <a href> links, HTTP status codes, robots.txt (RFC 9309), schema.org structured data in JSON-LD, hreflang. 🟡 [CONSENSUS] — label as VENDOR GUIDANCE (Google Search Essentials, Bing Webmaster Guidelines):
- Unique
<title>+ meta description per page;rel="canonical"; viewport meta. - No accidental
noindex;sitemap.xml; descriptive link text; 200 on indexable pages.
🔵 [TOOL] Lighthouse SEO, Screaming Frog, Bing Webmaster Tools, Google Search Console, Schema.org validator.
6. Security & best practices
🟢 [STANDARD] HTTPS only, no mixed content; HSTS (RFC 6797); Content Security Policy (W3C); secure cookie flags. 🟡 [CONSENSUS] OWASP guidance; headers: X-Content-Type-Options: nosniff, Referrer-Policy, frame protection (frame-ancestors); no console errors; no deprecated APIs. 🔵 [TOOL] MDN HTTP Observatory (grades headers A+–F), browser DevTools console.
7. Sustainability
🟢 [STANDARD] Draft only: W3C Web Sustainability Guidelines (WSG) are a Group Note Draft, not a Recommendation. Tag findings [STANDARD · DRAFT]. 🟡 [CONSENSUS]
- Lower page weight and request count (overlaps §3 budgets).
- Cache aggressively; avoid autoplay video; lazy-load below-the-fold media.
- Remove unused JS/CSS, fonts and third-party scripts.
- Prefer green/renewable hosting; dark mode option.
- Accessibility, privacy and security count as sustainability in WSG.
🔵 [TOOL] sitespeed.io sustainable-web plugin, WSG checklist.
8. Tool matrix (free)
| Area | Tool | Covers | Misses |
|---|---|---|---|
| A11y | axe-core / Pa11y / WAVE | Automatable WCAG checks | Most judgment-based criteria |
| Perf | sitespeed.io / WebPageTest | Multi-browser lab metrics | Real-user field data |
| Perf | PageSpeed Insights | Lab + CrUX field data | Non-Chrome browsers |
| Markup | Nu HTML Checker | HTML validity | Semantics quality |
| SEO | Lighthouse SEO / Screaming Frog | On-page + crawl | Ranking, content quality |
| Security | MDN HTTP Observatory | HTTP headers | App-level vulnerabilities |
| Sustain. | sitespeed.io plugin | Weight / emissions estimate | Hosting, business impact |
9. Output format
- Summary table: area · tool + version · score/result · pass/fail vs gate.
- Findings grouped by tier (🟢 first). Each: issue → rule/criterion (e.g. WCAG 1.4.3) → file/line → exact fix → impact.
- Top 5 fixes ranked by impact × ease; STANDARD failures always rank above CONSENSUS.
- Apply fixes only when asked; smallest diff first.
- Re-run, show before/after.
- List what tools couldn't verify (manual a11y, field data, EN 301 549 beyond web content).
keep it where your ai can reach it.
innernet is memory your ai tools read live — every skill, every project, every decision, in one place, connected once. save this skill to yours, or publish one of your own as a link like this.