Skip to content

Agent skills for useful HTML artifacts, wireframes, interactive prototypes, plans, and diagrams.

9.3 KB
Raw Blame

Impeccable technical audit — Effective HTML

Audited 2026-07-31 after catalog hardening, responsive adaptation, and the guide evidence rollout. Scope: the landing page, Catalog, Examples, the guide index, and all six guide chapters at 1440×900, 390×844, and 320×700.

Implementation Integrity Verdict

Pass. The implementation expresses a coherent, product-specific system: the catalog is a real inspectable artifact field rather than a generic card gallery; the guide uses real wireframe, prototype, diagram, and plan evidence; and the Working Atlas palette, specimen geometry, source links, and fidelity language remain consistent across the site. The detector's typography warning is a false positive: design.md explicitly declares Inter Variable and Inter Tight Variable as the approved brand pair. The substantive detector result is design-token documentation drift, not a generic or interchangeable interface.

Audit Health Score

# Dimension Score Key Finding
1 Accessibility 3/4 Custom shells lack a real bypass target and isolate repeated chrome inside main.
2 Performance 3/4 Catalog mode changes animate layout properties across a dense result set.
3 Responsive Design 3/4 No route overflows at 320px, but Fumadocs mobile chrome retains 34–40px controls.
4 Theming 3/4 Light/dark guide shells work; implemented tonal steps outpace the documented token system.
5 Implementation Integrity 3/4 Product expression is coherent; token reconciliation and one heading-level skip remain.
Total 15/20 Good — address the bounded structural and system gaps.

Executive Summary

  • Audit Health Score: 15/20 (Good)
  • Issues found: 1 P1, 5 P2, 0 P0, 0 P3
  • All ten app routes returned 200 and rendered without horizontal overflow at 390px and 320px.
  • Catalog mobile now defaults to Compact only when the URL does not specify a view; desktop remains Expanded. URL state, browser history, subject anchors, and keyboard focus were verified.
  • All visible images have alt text; interactive controls have names and native semantics; no duplicate IDs or keyboard traps were found.
  • Core palette contrast is AA or better: muted ink-on-paper is 5.33:1, paper-on-cobalt is 5.73:1, ink-on-lilac is 6.26:1, and ink-on-green is 6.38:1.
  • Detector scan: 115 findings — 61 type-ramp advisories, 23 color advisories, 13 approved-font false positives, 13 font-parser false positives, 4 radius advisories, and 1 layout-transition warning.

Detailed Findings

[P1] Repeated site chrome is inside the main landmark with no keyboard bypass

  • Location: app/page.tsx, app/catalog/page.tsx, app/examples/page.tsx
  • Category: Accessibility / Implementation Integrity
  • Impact: Keyboard users cannot bypass the repeated header navigation, and assistive technology receives a main landmark that includes the header and, on the landing/catalog pages, the footer rather than only page-specific content.
  • WCAG/Standard: WCAG 2.4.1 Bypass Blocks; HTML landmark semantics.
  • Recommendation: Give the custom shell a header/main/footer structure, add a visible-on-focus skip link to a stable #main-content target, and keep the current visual composition unchanged.
  • Suggested command: $impeccable harden

[P2] Mobile docs chrome undershoots the 44px target floor

  • Location: Fumadocs #nd-subnav and TOC popover, styled from app/global.css
  • Category: Responsive / Accessibility
  • Impact: The mobile Search and Sidebar buttons measure 34×34px; the sticky page-progress button measures 40px tall; the docs wordmark is 24px tall. They remain usable and exceed WCAG 2.5.8's 24px minimum, but are less forgiving for touch and miss the project's chosen 44px floor.
  • WCAG/Standard: WCAG 2.5.8 Target Size (Minimum); 44px platform convention.
  • Recommendation: Add scoped minimum dimensions to the mobile Fumadocs subnav controls, TOC popover button, and wordmark without changing desktop chrome.
  • Suggested command: $impeccable adapt

[P2] Choosing Fidelity skips from page title to an evidence h3

  • Location: components/guide-evidence.tsx, FidelityWorkbench ledger title
  • Category: Accessibility / Implementation Integrity
  • Impact: The first dynamically selected evidence heading follows the page h1 as an h3, creating a structural gap for heading navigation even though the visual hierarchy is clear.
  • WCAG/Standard: WCAG 1.3.1 Info and Relationships (semantic best practice).
  • Recommendation: Use an h2 for the selected evidence decision title or label the region without introducing a skipped heading level.
  • Suggested command: $impeccable harden

[P2] Reduced motion uses a global near-zero-duration kill switch

  • Location: app/global.css, global prefers-reduced-motion block
  • Category: Accessibility
  • Impact: The blanket 0.01ms override prevents motion discomfort, but also erases useful component-level transition feedback indiscriminately. The catalog and guide already have more intentional reduced-motion rules that can preserve state hierarchy without animation.
  • WCAG/Standard: WCAG 2.3.3 Animation from Interactions; user preference intent.
  • Recommendation: Replace the global duration override with explicit static end states and component-scoped transition removal.
  • Suggested command: $impeccable animate

[P2] Catalog mode changes animate layout properties across many specimens

  • Location: components/catalog-explorer.module.css:458-481
  • Category: Performance
  • Impact: Width, grid columns, gap, padding, and font size transition during Expanded/Compact changes. This is a bounded user action, not continuous thrashing, but the dense catalog can incur avoidable layout and paint work.
  • WCAG/Standard: Rendering-performance best practice; detector layout-transition warning.
  • Recommendation: Let View Transitions carry the mode change and restrict component animation to transform/opacity, while preserving the compacting spatial story and reduced-motion static end state.
  • Suggested command: $impeccable optimize

[P2] Implemented tonal/type/radius values outpace design.md

  • Location: app/global.css, components/catalog-explorer.module.css, components/guide-evidence.module.css, design.md
  • Category: Theming / Implementation Integrity
  • Impact: The UI is visually coherent, but 61 type-step, 23 color, and four radius advisories cannot be classified reliably as intentional primitives or one-off values. Future work is more likely to drift or duplicate near-matches.
  • WCAG/Standard: Design-system maintainability.
  • Recommendation: Extract the implemented tonal ramps, editorial type steps, radii, and motion curves; merge intentional values into the documented system; replace genuine one-offs with the reconciled tokens.
  • Suggested command: $impeccable extract

Patterns & Systemic Issues

  • The main technical debt is documentation drift, not visual incoherence. The implementation has a stable design language, while the design-system file describes too few of the tonal and editorial steps now in production.
  • The remaining touch-target gap is isolated to Fumadocs mobile chrome. The custom landing, Catalog, Examples, guide evidence controls, handoff links, and catalog actions meet the 44px height floor after adaptation.
  • The catalog's motion is purposeful and reduced-motion aware, but its mode transition currently asks layout to animate more than necessary.

Positive Findings

  • Current-route state, mobile-menu state, Escape behavior, focus restoration, catalog URL state, popstate recovery, subject-anchor focus, and tablist arrow/ Home/End behavior all work.
  • Every tested route has a single visible h1, no duplicate IDs, no missing image alt attributes, and no unnamed native buttons.
  • The Examples iframe previews are titled and lazy loaded; the featured recording uses preload="metadata"; Next Image handles raster studies; SVG previews are intentionally unoptimized to preserve animation.
  • Dark mode preserves the paper evidence surfaces inside a dark reading shell, with readable prose, sidebar state, and focus treatment.
  • The 320px pass found no horizontal document overflow or clipped page titles.
  • The server stayed live throughout the audit and all audited routes returned 200.

Recommended Actions

  1. [P1] $impeccable harden: Correct the custom shell landmarks, add a skip link, and repair the evidence heading level.
  2. [P2] $impeccable adapt: Bring Fumadocs mobile chrome to the project's 44px touch target floor.
  3. [P2] $impeccable animate: Replace the global reduced-motion kill switch with intentional component alternatives.
  4. [P2] $impeccable optimize: Remove catalog layout-property transitions and retain the mode change through composited motion/View Transitions.
  5. [P2] $impeccable extract: Reconcile implemented color, type, radius, and motion values with design.md.
  6. [P2] $impeccable polish: Run the final visual and interaction consistency pass after the structural fixes.

You can ask me to run these one at a time, all at once, or in any order you prefer.

Re-run $impeccable audit after fixes to see your score improve.