{
  "url": "https://esaj.tjsp.jus.br",
  "auditedAt": "2026-07-22T22:50:08.244Z",
  "mode": "report",
  "status": "completed",
  "statusDetail": "Atomic coverage complete across the public portal, service listings, legacy first-instance judgment search and an HTTP failure state.",
  "page": {
    "appType": "hybrid",
    "framework": "Next.js portal plus legacy Java/JSP-style application",
    "notes": "The modern /esaj shell coexists with a legacy /cjpg court-search template."
  },
  "evidenceUsed": [
    "screenshot",
    "dom",
    "evaluate-probe",
    "layout-metrics",
    "trace",
    "har",
    "discoverability",
    "headers",
    "cookies",
    "trackers",
    "images",
    "secrets",
    "heap-summary",
    "lighthouse",
    "curl-http"
  ],
  "guidanceConsulted": [
    "accessibility",
    "accessible-error-announcement",
    "accessible-error-announcementsame-document-transitions",
    "adapt-scrollbar-to-contrast-preferences",
    "agentic-forms",
    "agentic-javascript-tools",
    "autofill-payment-form",
    "autofill-sign-in-form",
    "autofill-sign-up-form",
    "break-up-long-tasks",
    "carousel-slide-effects",
    "component-specific-light-dark-theme",
    "css",
    "dark-mode",
    "declarative-dialog-popover-control",
    "deliver-optimized-decorative-images",
    "fluid-scaling",
    "forms",
    "html",
    "identify-heavy-scripts",
    "language-detection",
    "light-dismiss-a-dialog",
    "navigation-drawer",
    "optimize-image-priority",
    "passkey-authentication",
    "passkey-management",
    "passkey-reauthentication",
    "passkeys",
    "persistent-app-tours",
    "privacy",
    "pull-to-reveal",
    "scroll-entry-exit-effects",
    "scroll-position-aware-elements",
    "scroll-snap-realtime-feedback",
    "security",
    "size-aware-styling",
    "stabilize-reactive-state",
    "validate-input-after-interaction",
    "webmcp"
  ],
  "artifacts": [
    {
      "type": "other",
      "path": "evidence/cjpg-cookies.json",
      "caption": "cjpg cookies.json",
      "findingIds": [
        "F15",
        "F16"
      ]
    },
    {
      "type": "other",
      "path": "evidence/cjpg-curl-headers.txt",
      "caption": "cjpg curl headers.txt",
      "findingIds": [
        "F15"
      ]
    },
    {
      "type": "other",
      "path": "evidence/cjpg-form-probe.json",
      "caption": "cjpg form probe.json",
      "findingIds": [
        "F10",
        "F19",
        "F20"
      ]
    },
    {
      "type": "other",
      "path": "evidence/cjpg-headers.json",
      "caption": "cjpg headers.json",
      "findingIds": [
        "F15"
      ]
    },
    {
      "type": "layout",
      "path": "evidence/cjpg-layout-mobile.json",
      "caption": "cjpg layout mobile.json",
      "findingIds": [
        "F5",
        "F11"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/cjpg-mobile.png",
      "caption": "cjpg mobile.png",
      "findingIds": [
        "F5",
        "F11"
      ]
    },
    {
      "type": "other",
      "path": "evidence/cjpg-recon.json",
      "caption": "cjpg recon.json",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/cjpg-search-result.png",
      "caption": "cjpg search result.png",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/cjpg-search-results.png",
      "caption": "cjpg search results.png",
      "findingIds": [
        "F20"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/cjpg.png",
      "caption": "cjpg.png",
      "findingIds": [
        "F13"
      ]
    },
    {
      "type": "other",
      "path": "evidence/cookies.json",
      "caption": "cookies.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/crawl-http.txt",
      "caption": "crawl http.txt",
      "findingIds": [
        "F14"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/discoverability-crawler.png",
      "caption": "discoverability crawler.png",
      "findingIds": [
        "F18"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/discoverability-rendered.png",
      "caption": "discoverability rendered.png",
      "findingIds": [
        "F18"
      ]
    },
    {
      "type": "discoverability",
      "path": "evidence/discoverability.json",
      "caption": "discoverability.json",
      "findingIds": [
        "F18"
      ]
    },
    {
      "type": "other",
      "path": "evidence/esaj-curl-headers.txt",
      "caption": "esaj curl headers.txt",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/catalog.json",
      "caption": "guidance/catalog.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/consulted-ids.txt",
      "caption": "guidance/consulted ids.txt",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/retrieved-additional.md",
      "caption": "guidance/retrieved additional.md",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/retrieved.md",
      "caption": "guidance/retrieved.md",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-1.json",
      "caption": "guidance/search 1.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-10.json",
      "caption": "guidance/search 10.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-11.json",
      "caption": "guidance/search 11.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-12.json",
      "caption": "guidance/search 12.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-13.json",
      "caption": "guidance/search 13.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-14.json",
      "caption": "guidance/search 14.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-15.json",
      "caption": "guidance/search 15.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-16.json",
      "caption": "guidance/search 16.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-17.json",
      "caption": "guidance/search 17.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-2.json",
      "caption": "guidance/search 2.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-3.json",
      "caption": "guidance/search 3.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-4.json",
      "caption": "guidance/search 4.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-5.json",
      "caption": "guidance/search 5.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-6.json",
      "caption": "guidance/search 6.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-7.json",
      "caption": "guidance/search 7.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-8.json",
      "caption": "guidance/search 8.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance/search-9.json",
      "caption": "guidance/search 9.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/headers.json",
      "caption": "headers.json",
      "findingIds": [
        "F15"
      ]
    },
    {
      "type": "heap",
      "path": "evidence/heap-baseline.heapsnapshot",
      "caption": "heap baseline.heapsnapshot",
      "findingIds": []
    },
    {
      "type": "heap",
      "path": "evidence/heap-post.heapsnapshot",
      "caption": "heap post.heapsnapshot",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/home-contrast.png",
      "caption": "home contrast.png",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/home-dark.png",
      "caption": "home dark.png",
      "findingIds": [
        "F1"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/home-desktop.png",
      "caption": "home desktop.png",
      "findingIds": [
        "F1",
        "F4",
        "F17"
      ]
    },
    {
      "type": "dom",
      "path": "evidence/home-dom.json",
      "caption": "home dom.json",
      "findingIds": []
    },
    {
      "type": "layout",
      "path": "evidence/home-layout-mobile.json",
      "caption": "home layout mobile.json",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/home-mobile.png",
      "caption": "home mobile.png",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/home-probe.json",
      "caption": "home probe.json",
      "findingIds": [
        "F3",
        "F6",
        "F14"
      ]
    },
    {
      "type": "other",
      "path": "evidence/home-summary.json",
      "caption": "home summary.json",
      "findingIds": [
        "F9",
        "F12"
      ]
    },
    {
      "type": "trace-summary",
      "path": "evidence/home-trace-summary.json",
      "caption": "home trace summary.json",
      "findingIds": [
        "F8"
      ]
    },
    {
      "type": "trace",
      "path": "evidence/home-trace.json",
      "caption": "home trace.json",
      "findingIds": []
    },
    {
      "type": "har",
      "path": "evidence/home.har",
      "caption": "home.har",
      "findingIds": [
        "F9"
      ]
    },
    {
      "type": "other",
      "path": "evidence/images.json",
      "caption": "images.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/jurisprudence-recon.json",
      "caption": "jurisprudence recon.json",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/jurisprudence.png",
      "caption": "jurisprudence.png",
      "findingIds": [
        "F3"
      ]
    },
    {
      "type": "lighthouse",
      "path": "evidence/lighthouse-cjpg-summary.json",
      "caption": "lighthouse cjpg summary.json",
      "findingIds": [
        "F2",
        "F6",
        "F8",
        "F10",
        "F12",
        "F13",
        "F14",
        "F19"
      ]
    },
    {
      "type": "lighthouse",
      "path": "evidence/lighthouse-cjpg.json",
      "caption": "lighthouse cjpg.json",
      "findingIds": []
    },
    {
      "type": "lighthouse",
      "path": "evidence/lighthouse-home-summary.json",
      "caption": "lighthouse home summary.json",
      "findingIds": [
        "F2",
        "F8",
        "F12"
      ]
    },
    {
      "type": "lighthouse",
      "path": "evidence/lighthouse-home.json",
      "caption": "lighthouse home.json",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/login-state.png",
      "caption": "login state.png",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/not-found.png",
      "caption": "not found.png",
      "findingIds": [
        "F7"
      ]
    },
    {
      "type": "other",
      "path": "evidence/platform-probe.json",
      "caption": "platform probe.json",
      "findingIds": [
        "F17"
      ]
    },
    {
      "type": "other",
      "path": "evidence/process-search-recon.json",
      "caption": "process search recon.json",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/process-search.png",
      "caption": "process search.png",
      "findingIds": [
        "F3",
        "F4"
      ]
    },
    {
      "type": "other",
      "path": "evidence/recon.json",
      "caption": "recon.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/robots.txt",
      "caption": "robots.txt",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/secrets.json",
      "caption": "secrets.json",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/sitemap.xml",
      "caption": "sitemap.xml",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/trackers.json",
      "caption": "trackers.json",
      "findingIds": []
    }
  ],
  "config": {
    "loaded": false
  },
  "coverage": {
    "catalogVersion": "modern-web-guidance@0.0.172",
    "catalogChecksum": "sha256:78ccfdb2d483f4c57d9dafed80fd86c6265585a56457c8dcfddc254b80fb44d7",
    "expected": 58,
    "recorded": 58,
    "judged": 58,
    "blocked": 0,
    "notRun": 0,
    "missing": 0,
    "unknown": 0,
    "duplicates": 0,
    "complete": true
  },
  "checkOutcomes": [
    {
      "principleId": "respect-user-preferences",
      "checkId": "respects-color-scheme",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The dark-emulated screenshot is visually identical to the light capture, and the CSS probe found no prefers-color-scheme rule.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-dark.png",
        "evidence/home-desktop.png"
      ],
      "findingIds": [
        "F1"
      ]
    },
    {
      "principleId": "respect-user-preferences",
      "checkId": "respects-reduced-motion",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "The modern portal CSS contains prefers-reduced-motion handling; the legacy form exposes no animations to suppress.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "respect-user-preferences",
      "checkId": "respects-contrast",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Lighthouse reports color-contrast, heading-order and visible-label/accessibility-name failures on the modern portal; the legacy search scores 0.70 for accessibility.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/lighthouse-home-summary.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "findingIds": [
        "F2"
      ]
    },
    {
      "principleId": "implement-natural-interactions",
      "checkId": "view-transitions",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "CSS/DOM probing found no view-transition usage while representative service selections replace the main content.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/process-search.png",
        "evidence/jurisprudence.png"
      ],
      "findingIds": [
        "F3"
      ]
    },
    {
      "principleId": "implement-natural-interactions",
      "checkId": "scroll-driven-animations",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "The CSS probe found animation-timeline support and no main-thread long tasks during load; no imperative scroll-motion failure was observed.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "implement-natural-interactions",
      "checkId": "physical-gestures",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon, DOM and representative-path interaction inventory",
      "evidence": "No gesture-driven, swipe, pull-to-refresh or scroll-snap interaction exists on the representative public-service paths.",
      "reason": "No gesture-driven, swipe, pull-to-refresh or scroll-snap interaction exists on the representative public-service paths."
    },
    {
      "principleId": "provide-guided-navigation",
      "checkId": "scroll-state-aware-chrome",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Desktop screenshots show a static header/sidebar; the probe found no container-query support and representative navigation changes have no attention cue.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png",
        "evidence/process-search.png"
      ],
      "findingIds": [
        "F4"
      ]
    },
    {
      "principleId": "provide-guided-navigation",
      "checkId": "anchored-positioning",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon, DOM and representative-path interaction inventory",
      "evidence": "No tooltip, transient popover or viewport-edge anchored menu was present on the representative paths.",
      "reason": "No tooltip, transient popover or viewport-edge anchored menu was present on the representative paths."
    },
    {
      "principleId": "provide-guided-navigation",
      "checkId": "directs-attention",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "CSS/DOM probing found no view-transition usage while representative service selections replace the main content. Desktop screenshots show a static header/sidebar; the probe found no container-query support and representative navigation changes have no attention cue.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/process-search.png",
        "evidence/jurisprudence.png",
        "evidence/home-desktop.png"
      ],
      "findingIds": [
        "F3",
        "F4"
      ]
    },
    {
      "principleId": "maximize-content-reduce-noise",
      "checkId": "no-intrusive-interruptions",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "Load screenshots across four representative pages show no interstitial or content-obscuring overlay.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "maximize-content-reduce-noise",
      "checkId": "semantic-dismissible-primitives",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon, DOM and representative-path interaction inventory",
      "evidence": "No overlay, dialog, popover or disclosure widget was present to which this primitive choice would apply.",
      "reason": "No overlay, dialog, popover or disclosure widget was present to which this primitive choice would apply."
    },
    {
      "principleId": "maximize-content-reduce-noise",
      "checkId": "reduced-chrome",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "The modern templates devote the main viewport to service content and keep header/sidebar controls compact.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "adapt-to-the-form-factor",
      "checkId": "responsive-no-horizontal-scroll",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "At a requested 360px viewport, layout metrics report a 980px layout viewport, scale 0.367 and no viewport meta; the screenshot renders form text and controls extremely small.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-mobile.png",
        "evidence/cjpg-layout-mobile.json"
      ],
      "findingIds": [
        "F5"
      ]
    },
    {
      "principleId": "adapt-to-the-form-factor",
      "checkId": "component-level-responsiveness",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "At a requested 360px viewport, layout metrics report a 980px layout viewport, scale 0.367 and no viewport meta; the screenshot renders form text and controls extremely small.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-mobile.png",
        "evidence/cjpg-layout-mobile.json"
      ],
      "findingIds": [
        "F5"
      ]
    },
    {
      "principleId": "adapt-to-the-form-factor",
      "checkId": "input-modality-aware",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The home probe found numerous 14–20px-high links/buttons; Lighthouse also fails target-size on the legacy search.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "findingIds": [
        "F6"
      ]
    },
    {
      "principleId": "support-core-task-success",
      "checkId": "clear-purpose-and-primary-action",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "Each representative page has a clear Portuguese heading, purpose statement and directly named service/search action.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "support-core-task-success",
      "checkId": "primary-flow-completion",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "The public judgment-search form accepted a free-text query and returned a populated results view without authentication.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "support-core-task-success",
      "checkId": "clear-system-state-and-recovery",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "A representative unknown route returned a bare browser HTTP 404 with only Reload, no portal navigation, explanation or recovery path.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/not-found.png"
      ],
      "findingIds": [
        "F7"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "good-core-web-vitals",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Lighthouse measured LCP 6.5s on the portal and 8.6s on the legacy search; the raw trace measured LCP 4.23s.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/lighthouse-home-summary.json",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-trace-summary.json"
      ],
      "findingIds": [
        "F8"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "visual-stability",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "Layout and Lighthouse evidence report CLS 0 on the modern portal and approximately 0.0003 on the legacy search.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-trace-summary.json",
        "evidence/home-layout-mobile.json"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "efficient-main-thread",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "The trace reports zero long tasks and 0ms TBT; Lighthouse TBT was 87ms on home and 0ms on the legacy route.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-trace-summary.json",
        "evidence/home-layout-mobile.json"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "efficient-resource-delivery",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "HAR records 871KB transferred, including 711KB across six scripts; four app chunks account for about 707KB and LCP is delayed despite zero trace long tasks.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-summary.json",
        "evidence/home.har"
      ],
      "findingIds": [
        "F9"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "trim-unused-and-duplicate-code",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "HAR records 871KB transferred, including 711KB across six scripts; four app chunks account for about 707KB and LCP is delayed despite zero trace long tasks.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-summary.json",
        "evidence/home.har"
      ],
      "findingIds": [
        "F9"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "names-roles-labels",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The form probe found 15 visible controls without programmatic labels; Lighthouse fails form labels, image alt, link names, ARIA validity and main landmark.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-form-probe.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "findingIds": [
        "F10"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "sufficient-contrast",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Lighthouse reports color-contrast, heading-order and visible-label/accessibility-name failures on the modern portal; the legacy search scores 0.70 for accessibility.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/lighthouse-home-summary.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "findingIds": [
        "F2"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "structure-and-focus",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The form probe found 15 visible controls without programmatic labels; Lighthouse fails form labels, image alt, link names, ARIA validity and main landmark.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-form-probe.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "findingIds": [
        "F10"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "legible-text",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The 980px desktop layout is reduced to 36.7% scale in a 360px viewport, making labels, inputs and instructions tiny.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-mobile.png",
        "evidence/cjpg-layout-mobile.json"
      ],
      "findingIds": [
        "F11"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "zoom-reflow-targets-and-media",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "At a requested 360px viewport, layout metrics report a 980px layout viewport, scale 0.367 and no viewport meta; the screenshot renders form text and controls extremely small. The home probe found numerous 14–20px-high links/buttons; Lighthouse also fails target-size on the legacy search. The 980px desktop layout is reduced to 36.7% scale in a 360px viewport, making labels, inputs and instructions tiny.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-mobile.png",
        "evidence/cjpg-layout-mobile.json",
        "evidence/home-probe.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "findingIds": [
        "F5",
        "F6",
        "F11"
      ]
    },
    {
      "principleId": "follow-best-practices",
      "checkId": "no-console-errors",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Lighthouse’s errors-in-console audit fails on both the modern portal and legacy search; the HAR also records a 403 translation-resource request.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/lighthouse-home-summary.json",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-summary.json"
      ],
      "findingIds": [
        "F12"
      ]
    },
    {
      "principleId": "follow-best-practices",
      "checkId": "sound-document-and-assets",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Lighthouse reports no doctype, a deprecated API and low-resolution imagery on /cjpg; its best-practices score is 0.46.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/cjpg.png"
      ],
      "findingIds": [
        "F13"
      ]
    },
    {
      "principleId": "follow-best-practices",
      "checkId": "browser-platform-hygiene",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Lighthouse’s errors-in-console audit fails on both the modern portal and legacy search; the HAR also records a 403 translation-resource request. Lighthouse reports no doctype, a deprecated API and low-resolution imagery on /cjpg; its best-practices score is 0.46.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/lighthouse-home-summary.json",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-summary.json",
        "evidence/cjpg.png"
      ],
      "findingIds": [
        "F12",
        "F13"
      ]
    },
    {
      "principleId": "be-discoverable",
      "checkId": "title-and-description",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "/robots.txt and /sitemap.xml return 404; /cjpg lacks a meta description; probes found no canonical, Open Graph or JSON-LD metadata.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/crawl-http.txt",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-probe.json"
      ],
      "findingIds": [
        "F14"
      ]
    },
    {
      "principleId": "be-discoverable",
      "checkId": "crawlable-and-mobile-friendly",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "At a requested 360px viewport, layout metrics report a 980px layout viewport, scale 0.367 and no viewport meta; the screenshot renders form text and controls extremely small. /robots.txt and /sitemap.xml return 404; /cjpg lacks a meta description; probes found no canonical, Open Graph or JSON-LD metadata.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/cjpg-mobile.png",
        "evidence/cjpg-layout-mobile.json",
        "evidence/crawl-http.txt",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-probe.json"
      ],
      "findingIds": [
        "F5",
        "F14"
      ]
    },
    {
      "principleId": "be-discoverable",
      "checkId": "canonical-and-indexing-signals",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "/robots.txt and /sitemap.xml return 404; /cjpg lacks a meta description; probes found no canonical, Open Graph or JSON-LD metadata.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/crawl-http.txt",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-probe.json"
      ],
      "findingIds": [
        "F14"
      ]
    },
    {
      "principleId": "be-discoverable",
      "checkId": "structured-and-shareable-metadata",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "/robots.txt and /sitemap.xml return 404; /cjpg lacks a meta description; probes found no canonical, Open Graph or JSON-LD metadata.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/crawl-http.txt",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-probe.json"
      ],
      "findingIds": [
        "F14"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "checkId": "secure-transport-and-headers",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Both final pages omit CSP, HSTS, nosniff, framing, referrer and permissions policies. /cjpg sets JSESSIONID cookies without Secure, HttpOnly or SameSite protection.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/headers.json",
        "evidence/cjpg-headers.json",
        "evidence/cjpg-cookies.json",
        "evidence/cjpg-curl-headers.txt"
      ],
      "findingIds": [
        "F15"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "checkId": "data-minimisation-and-third-parties",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "/cjpg sets __utma for 400 days plus several __utm cookies, all without Secure and with SameSite=None.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/cjpg-cookies.json"
      ],
      "findingIds": [
        "F16"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "checkId": "in-context-permissions-and-modern-auth",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The primary banner says users sign in with username/password plus an emailed verification code; the platform probe found no PublicKeyCredential/navigator.credentials use in the loaded surface.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png",
        "evidence/platform-probe.json"
      ],
      "findingIds": [
        "F17"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "checkId": "defensive-browser-policies",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Both final pages omit CSP, HSTS, nosniff, framing, referrer and permissions policies. /cjpg sets JSESSIONID cookies without Secure, HttpOnly or SameSite protection. /cjpg sets __utma for 400 days plus several __utm cookies, all without Secure and with SameSite=None.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/headers.json",
        "evidence/cjpg-headers.json",
        "evidence/cjpg-cookies.json",
        "evidence/cjpg-curl-headers.txt"
      ],
      "findingIds": [
        "F15",
        "F16"
      ]
    },
    {
      "principleId": "be-resilient",
      "checkId": "progressive-enhancement",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Discoverability measured only 1% raw/rendered word coverage: raw HTML has 26 text characters versus 2,676 rendered and the crawler capture remains at a loading indicator.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/discoverability.json",
        "evidence/discoverability-rendered.png",
        "evidence/discoverability-crawler.png"
      ],
      "findingIds": [
        "F18"
      ]
    },
    {
      "principleId": "be-resilient",
      "checkId": "resilient-runtime-behaviour",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "Representative menus, cards and search controls rendered without clipped overlays or broken asynchronous shell state after load.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "be-resilient",
      "checkId": "offline-and-installable",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon, DOM and representative-path interaction inventory",
      "evidence": "Live court searches depend on current server data; offline/installability is not a proportionate requirement for this intrinsically online service.",
      "reason": "Live court searches depend on current server data; offline/installability is not a proportionate requirement for this intrinsically online service."
    },
    {
      "principleId": "be-resilient",
      "checkId": "network-and-http-failure-states",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "A representative unknown route returned a bare browser HTTP 404 with only Reload, no portal navigation, explanation or recovery path.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/not-found.png"
      ],
      "findingIds": [
        "F7"
      ]
    },
    {
      "principleId": "be-internationalised",
      "checkId": "lang-dir-and-logical-properties",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The /cjpg DOM probe found an empty html lang while Lighthouse fails html-has-lang; the modern portal correctly uses pt-BR.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-form-probe.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "findingIds": [
        "F19"
      ]
    },
    {
      "principleId": "be-internationalised",
      "checkId": "locale-aware-data",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "Visible court dates use the expected Brazilian day/month/year convention and the modern template declares pt-BR.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "be-internationalised",
      "checkId": "time-zone-correctness",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon, DOM and representative-path interaction inventory",
      "evidence": "Representative pages expose dates but no times, cross-zone events, recurrence or DST-sensitive scheduling.",
      "reason": "Representative pages expose dates but no times, cross-zone events, recurrence or DST-sensitive scheduling."
    },
    {
      "principleId": "be-trustworthy",
      "checkId": "no-dark-patterns",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "No consent wall, disguised advertising, forced continuity, confirmshaming or preselected commercial choice appeared on representative paths.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "checkId": "humane-error-handling",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The probe found no autocomplete tokens, many unlabeled fields and no exposed invalid/error state; a synthetic free-text query returned a huge generic result set rather than explaining the mismatch.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-form-probe.json",
        "evidence/cjpg-search-results.png"
      ],
      "findingIds": [
        "F20"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "checkId": "trustworthy-input-assistance",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "The probe found no autocomplete tokens, many unlabeled fields and no exposed invalid/error state; a synthetic free-text query returned a huge generic result set rather than explaining the mismatch.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/cjpg-form-probe.json",
        "evidence/cjpg-search-results.png"
      ],
      "findingIds": [
        "F20"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "checkId": "safe-commercial-and-account-flows",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "No commercial flow exists; account messaging clearly discloses password plus emailed verification and no deceptive continuity was observed.",
      "pathIds": [
        "home",
        "legacy-search"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "be-sustainable",
      "checkId": "optimised-assets",
      "status": "issues",
      "confidence": "high",
      "method": "Triangulated screenshot, DOM/evaluate, Lighthouse and purpose-specific primitive evidence",
      "evidence": "Lighthouse reports no doctype, a deprecated API and low-resolution imagery on /cjpg; its best-practices score is 0.46.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/cjpg.png"
      ],
      "findingIds": [
        "F13"
      ]
    },
    {
      "principleId": "be-sustainable",
      "checkId": "no-wasteful-work",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "Trace/layout evidence found no long tasks or ongoing media work; the page made 24 load requests with only two small third-party resource requests.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "be-sustainable",
      "checkId": "third-party-and-media-budget",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "No video/audio/autoplay media was present; third-party transfer was 2.9KB of 871KB and no known tracker origin was detected on home.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/home-desktop.png"
      ]
    },
    {
      "principleId": "be-agent-ready",
      "checkId": "structured-agent-capabilities",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon, DOM and representative-path interaction inventory",
      "evidence": "Agent-facing capabilities are emerging and no declared intent requests WebMCP or agent actions for this portal.",
      "reason": "Agent-facing capabilities are emerging and no declared intent requests WebMCP or agent actions for this portal."
    },
    {
      "principleId": "be-agent-ready",
      "checkId": "on-device-inference",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon, DOM and representative-path interaction inventory",
      "evidence": "No summarisation or language-model task is part of the representative user journeys, so on-device inference is not applicable.",
      "reason": "No summarisation or language-model task is part of the representative user journeys, so on-device inference is not applicable."
    },
    {
      "principleId": "be-memory-efficient",
      "checkId": "no-leak-under-repeated-interaction",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "After ten menu-toggle cycles, heap self size fell from 12,805,911 to 12,786,279 bytes and node count fell from 169,174 to 168,863.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/heap-baseline.heapsnapshot",
        "evidence/heap-post.heapsnapshot"
      ]
    },
    {
      "principleId": "be-memory-efficient",
      "checkId": "bounded-footprint",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "The loaded portal heap is about 12.8MB self size with 169k nodes, proportionate to this service directory.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/heap-baseline.heapsnapshot",
        "evidence/heap-post.heapsnapshot"
      ]
    },
    {
      "principleId": "be-memory-efficient",
      "checkId": "no-detached-dom-or-unbounded-listeners",
      "status": "pass",
      "confidence": "high",
      "method": "Direct review across representative paths using screenshot, DOM/evaluate and relevant objective primitive",
      "evidence": "The repeated-interaction heap did not grow overall and neither summary reported a Detached* constructor among retained-size leaders.",
      "pathIds": [
        "home",
        "process-services",
        "jurisprudence-services"
      ],
      "artifacts": [
        "evidence/heap-baseline.heapsnapshot",
        "evidence/heap-post.heapsnapshot"
      ]
    }
  ],
  "principleOutcomes": [
    {
      "principleId": "respect-user-preferences",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F1",
        "F2"
      ]
    },
    {
      "principleId": "implement-natural-interactions",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F3"
      ]
    },
    {
      "principleId": "provide-guided-navigation",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F4",
        "F3"
      ]
    },
    {
      "principleId": "maximize-content-reduce-noise",
      "expectation": "default",
      "status": "pass"
    },
    {
      "principleId": "adapt-to-the-form-factor",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F5",
        "F6"
      ]
    },
    {
      "principleId": "support-core-task-success",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F7"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F8",
        "F9"
      ]
    },
    {
      "principleId": "be-inclusive",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F10",
        "F2",
        "F11",
        "F5",
        "F6"
      ]
    },
    {
      "principleId": "follow-best-practices",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F12",
        "F13"
      ]
    },
    {
      "principleId": "be-discoverable",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F14",
        "F5"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F15",
        "F16",
        "F17"
      ]
    },
    {
      "principleId": "be-resilient",
      "expectation": "contextual",
      "status": "issues",
      "findingIds": [
        "F18",
        "F7"
      ]
    },
    {
      "principleId": "be-internationalised",
      "expectation": "contextual",
      "status": "issues",
      "findingIds": [
        "F19"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F20"
      ]
    },
    {
      "principleId": "be-sustainable",
      "expectation": "contextual",
      "status": "issues",
      "findingIds": [
        "F13"
      ]
    },
    {
      "principleId": "be-agent-ready",
      "expectation": "contextual",
      "status": "not-applicable",
      "reason": "Agent-facing capabilities are emerging and no declared intent requests WebMCP or agent actions for this portal. No summarisation or language-model task is part of the representative user journeys, so on-device inference is not applicable."
    },
    {
      "principleId": "be-memory-efficient",
      "expectation": "default",
      "status": "pass"
    }
  ],
  "paths": [
    {
      "id": "home",
      "description": "Modern portal entry and service-directory template; primary orientation surface.",
      "url": "https://esaj.tjsp.jus.br/esaj",
      "conditions": [
        "desktop 1440x1000",
        "mobile 360x800",
        "prefers-color-scheme: dark",
        "prefers-contrast: more",
        "reduced-motion CSS probe",
        "no-JS crawler"
      ],
      "result": "issues"
    },
    {
      "id": "process-services",
      "description": "Process-services listing; represents a major service-category/detail template.",
      "url": "https://esaj.tjsp.jus.br/esaj?servico=190090",
      "conditions": [
        "desktop 1440x1000"
      ],
      "result": "issues"
    },
    {
      "id": "jurisprudence-services",
      "description": "Jurisprudence listing; represents a second service category and navigation state.",
      "url": "https://esaj.tjsp.jus.br/esaj?servico=780000",
      "conditions": [
        "desktop 1440x1000"
      ],
      "result": "issues"
    },
    {
      "id": "legacy-search",
      "description": "First-instance judgment query and result journey; distinct legacy form/results archetype.",
      "url": "https://esaj.tjsp.jus.br/cjpg/",
      "conditions": [
        "desktop 1440x1000",
        "mobile 360x800",
        "keyboard focus",
        "free-text query"
      ],
      "result": "issues"
    },
    {
      "id": "http-failure",
      "description": "Representative unknown route to test HTTP failure and recovery.",
      "url": "https://esaj.tjsp.jus.br/definitely-not-a-real-page-web-uplift",
      "conditions": [
        "desktop 1440x1000"
      ],
      "result": "issues"
    }
  ],
  "findings": [
    {
      "id": "F1",
      "severity": "medium",
      "confidence": "high",
      "principleId": "respect-user-preferences",
      "principleCheckId": "respects-color-scheme",
      "guidanceId": "dark-mode",
      "guidanceCategory": "modern-web-guidance",
      "summary": "The portal does not follow the user’s dark colour preference.",
      "evidence": "The dark-emulated screenshot is visually identical to the light capture, and the CSS probe found no prefers-color-scheme rule.",
      "suggestedFix": "Declare color-scheme and provide preference-driven light/dark surface, text, border and icon tokens.",
      "artifacts": [
        "evidence/home-dark.png",
        "evidence/home-desktop.png"
      ],
      "effort": "medium",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F2",
      "severity": "high",
      "confidence": "high",
      "principleId": "be-inclusive",
      "principleCheckId": "sufficient-contrast",
      "guidanceId": "accessibility",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Text contrast and accessible naming fall below an inclusive baseline.",
      "evidence": "Lighthouse reports color-contrast, heading-order and visible-label/accessibility-name failures on the modern portal; the legacy search scores 0.70 for accessibility.",
      "suggestedFix": "Correct token contrast to WCAG AA and align each control’s accessible name with its visible label.",
      "artifacts": [
        "evidence/lighthouse-home-summary.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "effort": "medium",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F3",
      "severity": "medium",
      "confidence": "high",
      "principleId": "implement-natural-interactions",
      "principleCheckId": "view-transitions",
      "guidanceId": "same-document-transitions",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Service navigation swaps content abruptly without preserving spatial context.",
      "evidence": "CSS/DOM probing found no view-transition usage while representative service selections replace the main content.",
      "suggestedFix": "Use same-document View Transitions for service changes and suppress non-essential motion under reduced motion.",
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/process-search.png",
        "evidence/jurisprudence.png"
      ],
      "effort": "medium",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F4",
      "severity": "low",
      "confidence": "high",
      "principleId": "provide-guided-navigation",
      "principleCheckId": "scroll-state-aware-chrome",
      "guidanceId": "scroll-position-aware-elements",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Navigation chrome does not respond to page position or guide attention through long pages.",
      "evidence": "Desktop screenshots show a static header/sidebar; the probe found no container-query support and representative navigation changes have no attention cue.",
      "suggestedFix": "Add position-aware sticky chrome or a lightweight progress/orientation affordance, with reduced-motion handling.",
      "artifacts": [
        "evidence/home-desktop.png",
        "evidence/process-search.png"
      ],
      "effort": "small",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F5",
      "severity": "high",
      "confidence": "high",
      "principleId": "adapt-to-the-form-factor",
      "principleCheckId": "responsive-no-horizontal-scroll",
      "guidanceId": "fluid-scaling",
      "guidanceCategory": "modern-web-guidance",
      "summary": "The legacy first-instance judgment search is a desktop canvas scaled down on phones.",
      "evidence": "At a requested 360px viewport, layout metrics report a 980px layout viewport, scale 0.367 and no viewport meta; the screenshot renders form text and controls extremely small.",
      "suggestedFix": "Add a standards viewport meta tag and rebuild the form with intrinsic fluid layout, wrapping groups and responsive widths.",
      "artifacts": [
        "evidence/cjpg-mobile.png",
        "evidence/cjpg-layout-mobile.json"
      ],
      "effort": "large",
      "pathId": "legacy-search",
      "url": "https://esaj.tjsp.jus.br/cjpg/"
    },
    {
      "id": "F6",
      "severity": "high",
      "confidence": "high",
      "principleId": "adapt-to-the-form-factor",
      "principleCheckId": "input-modality-aware",
      "guidanceId": "accessibility",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Many primary controls have undersized touch targets.",
      "evidence": "The home probe found numerous 14–20px-high links/buttons; Lighthouse also fails target-size on the legacy search.",
      "suggestedFix": "Provide at least 24×24 CSS px targets with spacing, preferably 44–48px for primary touch controls, while retaining visible focus.",
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "effort": "medium",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F7",
      "severity": "high",
      "confidence": "high",
      "principleId": "support-core-task-success",
      "principleCheckId": "clear-system-state-and-recovery",
      "guidanceId": "accessible-error-announcement",
      "guidanceCategory": "modern-web-guidance",
      "summary": "HTTP failure states abandon users to the browser’s generic error page.",
      "evidence": "A representative unknown route returned a bare browser HTTP 404 with only Reload, no portal navigation, explanation or recovery path.",
      "suggestedFix": "Serve a branded 404/error state with a clear explanation, home/search links, retry where relevant and announced status.",
      "artifacts": [
        "evidence/not-found.png"
      ],
      "effort": "small",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F8",
      "severity": "high",
      "confidence": "high",
      "principleId": "be-fast-and-stable",
      "principleCheckId": "good-core-web-vitals",
      "guidanceId": "optimize-image-priority",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Primary pages load too slowly for the Core Web Vitals baseline.",
      "evidence": "Lighthouse measured LCP 6.5s on the portal and 8.6s on the legacy search; the raw trace measured LCP 4.23s.",
      "suggestedFix": "Prioritise the actual LCP content, remove client-render blocking, shorten dependency chains and verify LCP below 2.5s.",
      "artifacts": [
        "evidence/lighthouse-home-summary.json",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-trace-summary.json"
      ],
      "effort": "large",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F9",
      "severity": "medium",
      "confidence": "high",
      "principleId": "be-fast-and-stable",
      "principleCheckId": "efficient-resource-delivery",
      "guidanceId": "identify-heavy-scripts",
      "guidanceCategory": "modern-web-guidance",
      "summary": "A simple service directory ships a disproportionate JavaScript payload and delayed dependency chain.",
      "evidence": "HAR records 871KB transferred, including 711KB across six scripts; four app chunks account for about 707KB and LCP is delayed despite zero trace long tasks.",
      "suggestedFix": "Server-render useful content, split by route, remove unused/duplicate client code and avoid loading not-found code on the successful route.",
      "artifacts": [
        "evidence/home-summary.json",
        "evidence/home.har"
      ],
      "effort": "large",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F10",
      "severity": "high",
      "confidence": "high",
      "principleId": "be-inclusive",
      "principleCheckId": "names-roles-labels",
      "guidanceId": "accessibility",
      "guidanceCategory": "modern-web-guidance",
      "summary": "The legacy search has unlabeled controls, missing alternatives and weak landmarks.",
      "evidence": "The form probe found 15 visible controls without programmatic labels; Lighthouse fails form labels, image alt, link names, ARIA validity and main landmark.",
      "suggestedFix": "Associate every input with a label, name icon controls, add meaningful/empty alt as appropriate and establish semantic landmarks.",
      "artifacts": [
        "evidence/cjpg-form-probe.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "effort": "large",
      "pathId": "legacy-search",
      "url": "https://esaj.tjsp.jus.br/cjpg/"
    },
    {
      "id": "F11",
      "severity": "high",
      "confidence": "high",
      "principleId": "be-inclusive",
      "principleCheckId": "legible-text",
      "guidanceId": "fluid-scaling",
      "guidanceCategory": "modern-web-guidance",
      "summary": "The mobile rendering of the legacy search is not comfortably legible.",
      "evidence": "The 980px desktop layout is reduced to 36.7% scale in a 360px viewport, making labels, inputs and instructions tiny.",
      "suggestedFix": "Use responsive typography and form layout at native scale, with comfortable line height and no whole-page shrink.",
      "artifacts": [
        "evidence/cjpg-mobile.png",
        "evidence/cjpg-layout-mobile.json"
      ],
      "effort": "large",
      "pathId": "legacy-search",
      "url": "https://esaj.tjsp.jus.br/cjpg/"
    },
    {
      "id": "F12",
      "severity": "medium",
      "confidence": "high",
      "principleId": "follow-best-practices",
      "principleCheckId": "no-console-errors",
      "guidanceId": "html",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Representative pages emit browser errors.",
      "evidence": "Lighthouse’s errors-in-console audit fails on both the modern portal and legacy search; the HAR also records a 403 translation-resource request.",
      "suggestedFix": "Resolve failed resources and runtime errors, and add monitoring/tests that fail on uncaught exceptions or console errors.",
      "artifacts": [
        "evidence/lighthouse-home-summary.json",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-summary.json"
      ],
      "effort": "medium",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F13",
      "severity": "medium",
      "confidence": "high",
      "principleId": "follow-best-practices",
      "principleCheckId": "sound-document-and-assets",
      "guidanceId": "html",
      "guidanceCategory": "modern-web-guidance",
      "summary": "The legacy template uses quirks-era document and asset practices.",
      "evidence": "Lighthouse reports no doctype, a deprecated API and low-resolution imagery on /cjpg; its best-practices score is 0.46.",
      "suggestedFix": "Add HTML5 doctype and charset early, replace deprecated APIs, serve correctly sized images and remove inspector/BFCache blockers.",
      "artifacts": [
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/cjpg.png"
      ],
      "effort": "medium",
      "pathId": "legacy-search",
      "url": "https://esaj.tjsp.jus.br/cjpg/"
    },
    {
      "id": "F14",
      "severity": "medium",
      "confidence": "high",
      "principleId": "be-discoverable",
      "principleCheckId": "canonical-and-indexing-signals",
      "guidanceId": "html",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Public service pages lack consistent crawl and sharing signals.",
      "evidence": "/robots.txt and /sitemap.xml return 404; /cjpg lacks a meta description; probes found no canonical, Open Graph or JSON-LD metadata.",
      "suggestedFix": "Publish robots.txt and sitemap, add canonical/description metadata per template, and provide accurate social/structured entity metadata.",
      "artifacts": [
        "evidence/crawl-http.txt",
        "evidence/lighthouse-cjpg-summary.json",
        "evidence/home-probe.json"
      ],
      "effort": "medium",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F15",
      "severity": "high",
      "confidence": "high",
      "principleId": "be-private-and-secure",
      "principleCheckId": "secure-transport-and-headers",
      "guidanceId": "security",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Sensitive public-service routes lack browser defenses and set insecure session cookies.",
      "evidence": "Both final pages omit CSP, HSTS, nosniff, framing, referrer and permissions policies. /cjpg sets JSESSIONID cookies without Secure, HttpOnly or SameSite protection.",
      "suggestedFix": "Set Secure, HttpOnly and SameSite on session cookies and deploy CSP, HSTS, nosniff, clickjacking, referrer and permissions policies.",
      "artifacts": [
        "evidence/headers.json",
        "evidence/cjpg-headers.json",
        "evidence/cjpg-cookies.json",
        "evidence/cjpg-curl-headers.txt"
      ],
      "effort": "large",
      "pathId": "legacy-search",
      "url": "https://esaj.tjsp.jus.br/cjpg/"
    },
    {
      "id": "F16",
      "severity": "medium",
      "confidence": "high",
      "principleId": "be-private-and-secure",
      "principleCheckId": "data-minimisation-and-third-parties",
      "guidanceId": "privacy",
      "guidanceCategory": "modern-web-guidance",
      "summary": "The legacy search sets long-lived legacy analytics cookies before user action.",
      "evidence": "/cjpg sets __utma for 400 days plus several __utm cookies, all without Secure and with SameSite=None.",
      "suggestedFix": "Remove legacy session-wide analytics, minimise events and retention, and use privacy-preserving batched measurement only when justified.",
      "artifacts": [
        "evidence/cjpg-cookies.json"
      ],
      "effort": "medium",
      "pathId": "legacy-search",
      "url": "https://esaj.tjsp.jus.br/cjpg/"
    },
    {
      "id": "F17",
      "severity": "medium",
      "confidence": "high",
      "principleId": "be-private-and-secure",
      "principleCheckId": "in-context-permissions-and-modern-auth",
      "guidanceId": "passkeys",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Authentication messaging still centres passwords and emailed OTP rather than phishing-resistant credentials.",
      "evidence": "The primary banner says users sign in with username/password plus an emailed verification code; the platform probe found no PublicKeyCredential/navigator.credentials use in the loaded surface.",
      "suggestedFix": "Offer passkey/WebAuthn sign-in and reauthentication while retaining accessible recovery and existing MFA during migration.",
      "artifacts": [
        "evidence/home-desktop.png",
        "evidence/platform-probe.json"
      ],
      "effort": "large",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F18",
      "severity": "high",
      "confidence": "high",
      "principleId": "be-resilient",
      "principleCheckId": "progressive-enhancement",
      "guidanceId": "stabilize-reactive-state",
      "guidanceCategory": "modern-web-guidance",
      "summary": "Core portal content is absent without JavaScript.",
      "evidence": "Discoverability measured only 1% raw/rendered word coverage: raw HTML has 26 text characters versus 2,676 rendered and the crawler capture remains at a loading indicator.",
      "suggestedFix": "Server-render the service directory and navigation as semantic links; hydrate only enhancements and provide usable no-JS fallbacks.",
      "artifacts": [
        "evidence/discoverability.json",
        "evidence/discoverability-rendered.png",
        "evidence/discoverability-crawler.png"
      ],
      "effort": "large",
      "pathId": "home",
      "url": "https://esaj.tjsp.jus.br/esaj"
    },
    {
      "id": "F19",
      "severity": "medium",
      "confidence": "high",
      "principleId": "be-internationalised",
      "principleCheckId": "lang-dir-and-logical-properties",
      "guidanceId": "language-detection",
      "guidanceCategory": "modern-web-guidance",
      "summary": "The legacy Portuguese page does not declare its language.",
      "evidence": "The /cjpg DOM probe found an empty html lang while Lighthouse fails html-has-lang; the modern portal correctly uses pt-BR.",
      "suggestedFix": "Set lang=\"pt-BR\" on every template and keep layout based on logical properties for future bidi/translation resilience.",
      "artifacts": [
        "evidence/cjpg-form-probe.json",
        "evidence/lighthouse-cjpg-summary.json"
      ],
      "effort": "trivial",
      "pathId": "legacy-search",
      "url": "https://esaj.tjsp.jus.br/cjpg/"
    },
    {
      "id": "F20",
      "severity": "high",
      "confidence": "high",
      "principleId": "be-trustworthy",
      "principleCheckId": "humane-error-handling",
      "guidanceId": "validate-input-after-interaction",
      "guidanceCategory": "modern-web-guidance",
      "summary": "The legacy search offers weak input assistance and unclear validation semantics.",
      "evidence": "The probe found no autocomplete tokens, many unlabeled fields and no exposed invalid/error state; a synthetic free-text query returned a huge generic result set rather than explaining the mismatch.",
      "suggestedFix": "Label fields, use appropriate input/autocomplete modes, validate after interaction, announce specific errors and preserve entered values.",
      "artifacts": [
        "evidence/cjpg-form-probe.json",
        "evidence/cjpg-search-results.png"
      ],
      "effort": "large",
      "pathId": "legacy-search",
      "url": "https://esaj.tjsp.jus.br/cjpg/"
    }
  ],
  "taskList": [
    {
      "id": "T1",
      "title": "Secure every route with hardened session cookies and browser-enforced response policies.",
      "priority": 1,
      "findingIds": [
        "F15",
        "F16"
      ],
      "guidanceId": "security",
      "status": "open"
    },
    {
      "id": "T2",
      "title": "Rebuild the legacy judgment-search template as a responsive, labelled, semantic form with humane validation.",
      "priority": 2,
      "findingIds": [
        "F5",
        "F6",
        "F10",
        "F11",
        "F13",
        "F19",
        "F20"
      ],
      "guidanceId": "forms",
      "status": "open"
    },
    {
      "id": "T3",
      "title": "Server-render public service content and publish complete crawl, canonical, sitemap and sharing metadata.",
      "priority": 3,
      "findingIds": [
        "F14",
        "F18"
      ],
      "guidanceId": "stabilize-reactive-state",
      "status": "open"
    },
    {
      "id": "T4",
      "title": "Reduce route JavaScript and critical dependency chains until LCP is consistently below 2.5 seconds.",
      "priority": 4,
      "findingIds": [
        "F8",
        "F9"
      ],
      "guidanceId": "identify-heavy-scripts",
      "status": "open"
    },
    {
      "id": "T5",
      "title": "Provide branded, actionable failure states and eliminate console/resource errors.",
      "priority": 5,
      "findingIds": [
        "F7",
        "F12"
      ],
      "guidanceId": "accessible-error-announcement",
      "status": "open"
    },
    {
      "id": "T6",
      "title": "Add preference-driven dark mode and correct all text/control contrast failures.",
      "priority": 6,
      "findingIds": [
        "F1",
        "F2"
      ],
      "guidanceId": "dark-mode",
      "status": "open"
    },
    {
      "id": "T7",
      "title": "Offer passkey/WebAuthn authentication alongside accessible recovery and migration support.",
      "priority": 7,
      "findingIds": [
        "F17"
      ],
      "guidanceId": "passkeys",
      "status": "open"
    },
    {
      "id": "T8",
      "title": "Use reduced-motion-aware View Transitions and position-aware navigation cues for service changes.",
      "priority": 8,
      "findingIds": [
        "F3",
        "F4"
      ],
      "guidanceId": "same-document-transitions",
      "status": "open"
    }
  ],
  "budget": {
    "pathCount": 5,
    "auditPasses": 1
  },
  "agent": "pi",
  "runId": "2026-07-22T22-50-08-244Z"
}
