{
  "url": "https://braiiz.com",
  "auditedAt": "2026-07-18T00:11:50.838Z",
  "mode": "report",
  "status": "completed",
  "statusDetail": "Coverage-complete representative audit of home, category, video detail, search-empty, and 404 templates.",
  "page": {
    "appType": "mpa",
    "framework": "Server-rendered custom/PHP media catalog",
    "notes": "Arabic adult-media catalog. Public SSR templates with JavaScript enhancement, analytics, and advertising."
  },
  "evidenceUsed": [
    "screenshot",
    "dom",
    "layout-metrics",
    "evaluate-probe",
    "axe-core",
    "lighthouse",
    "trace",
    "har",
    "discoverability",
    "headers",
    "cookies",
    "trackers",
    "images",
    "secrets",
    "heap-summary",
    "robots/sitemap HTTP fetch"
  ],
  "guidanceConsulted": [
    "accessibility",
    "accessible-error-announcement",
    "language-detection",
    "language-model",
    "summarizer",
    "translator",
    "css",
    "highlight-text-ranges",
    "css-layout",
    "animated-select-picker",
    "autofill-address-form",
    "autofill-highlight-inputs",
    "autofill-payment-form",
    "autofill-sign-in-form",
    "autofill-sign-up-form",
    "brand-consistent-forms",
    "branded-select-styling",
    "custom-select-picker-layouts",
    "form-fields-automatically-fit-contents",
    "forms",
    "required-field-feedback",
    "rich-media-picker",
    "select-menu-interaction",
    "validate-input-after-interaction",
    "html",
    "passkey-authentication",
    "passkey-conditional-create",
    "passkey-management",
    "passkey-reauthentication",
    "passkey-registration",
    "passkeys",
    "batch-analytics-events",
    "break-up-long-tasks",
    "calculate-total-foreground-time",
    "conditional-async-dependencies",
    "defer-rendering-heavy-content",
    "defer-work-until-scroll-ends",
    "deprioritize-background-fetches",
    "detect-initial-visibility-state",
    "efficient-background-processing",
    "faster-spa-view-transitions",
    "full-session-analytics",
    "identify-heavy-scripts",
    "identify-inp-causes",
    "improve-next-page-load-performance",
    "interactions-in-complex-layouts",
    "optimize-image-priority",
    "optimize-preload-priority",
    "optimize-script-priority",
    "performance",
    "resolution-optimized-pseudo-elements",
    "schedule-tasks-by-priority",
    "sequence-distributed-events",
    "privacy",
    "security",
    "adapt-scrollbar-to-contrast-preferences",
    "anchor-positioning-tab-underline",
    "animate-element-entry-exit",
    "animate-to-from-top-layer",
    "animate-to-intrinsic-sizes",
    "apply-webgl-shaders",
    "calculate-event-differentials",
    "calculate-with-intrinsic-sizes",
    "capture-location-agnostic-data",
    "carousel-slide-effects",
    "carousel-snap-highlights",
    "child-state-based-styling",
    "complex-shapes",
    "component-specific-light-dark-theme",
    "consistent-cross-document-transitions",
    "content-based-styling",
    "coordinate-global-events",
    "cross-document-transitions",
    "customize-scrollbar-color-and-thickness",
    "dark-mode",
    "declarative-dialog-popover-control",
    "deliver-optimized-decorative-images",
    "design-token-reactivity",
    "directional-navigation-transitions",
    "dynamic-sibling-animations",
    "dynamic-sibling-styling",
    "export-html-media-from-canvas",
    "expose-canvas-content-to-browser-features",
    "flicker-free-client-side-ab-testing",
    "fluid-scaling",
    "format-human-readable-durations",
    "group-element-transitions",
    "improve-text-layout-and-legibility",
    "individual-transform-properties",
    "interactive-content-in-3d-scenes",
    "interactive-content-reveal",
    "interest-triggered-action-previews",
    "interest-triggered-tooltips",
    "light-dismiss-a-dialog",
    "manage-recurring-intervals",
    "model-partial-time-concepts",
    "move-dom-element-without-losing-state",
    "navigation-drawer",
    "overflow-clipping-control",
    "parallax-scroll-effects",
    "persistent-app-tours",
    "persistent-toast-notifications",
    "persistent-top-layer-ui",
    "physics-based-easing",
    "platform-controls-dismiss-dialog",
    "position-aware-tooltips",
    "precise-text-alignment",
    "prevent-text-wrapping",
    "pull-to-reveal",
    "reduce-style-repetition",
    "resilient-context-menus-and-nested-dropdowns",
    "same-document-transitions",
    "scroll-entry-exit-effects",
    "scroll-position-aware-elements",
    "scroll-progress-indicator",
    "scroll-snap-realtime-feedback",
    "scroll-snap-state-sync",
    "scroll-target-on-load",
    "scrollability-affordance-hints",
    "scrollytelling",
    "search-hidden-content",
    "shaped-cutouts",
    "shrinking-header-on-scroll",
    "size-aware-styling",
    "soft-edge-content-fade",
    "stabilize-reactive-state",
    "stack-drill-down",
    "style-parent-with-has",
    "support-global-calendar-systems",
    "swipe-to-remove",
    "visually-stable-font-fallbacks",
    "visually-stable-mixed-fonts",
    "visually-texture-content",
    "agentic-forms",
    "agentic-javascript-tools",
    "webmcp"
  ],
  "artifacts": [
    {
      "type": "other",
      "path": "evidence/axe.json",
      "caption": "axe",
      "findingIds": [
        "F10",
        "F11",
        "F12"
      ]
    },
    {
      "type": "dom",
      "path": "evidence/category-dom.json",
      "caption": "category dom",
      "findingIds": [
        "F02",
        "F20"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/category-mobile.png",
      "caption": "category mobile",
      "condition": "viewport: 360x800",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/cookies.json",
      "caption": "cookies",
      "findingIds": [
        "F15",
        "F17",
        "F22"
      ]
    },
    {
      "type": "dom",
      "path": "evidence/error-dom.json",
      "caption": "error dom",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/error-mobile.png",
      "caption": "error mobile",
      "condition": "viewport: 360x800",
      "findingIds": [
        "F21"
      ]
    },
    {
      "type": "other",
      "path": "evidence/guidance-list.json",
      "caption": "guidance list",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance-retrieved.md",
      "caption": "guidance retrieved",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/guidance-search.json",
      "caption": "guidance search",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/headers.json",
      "caption": "headers",
      "findingIds": [
        "F17",
        "F19"
      ]
    },
    {
      "type": "heap",
      "path": "evidence/heap-baseline.heapsnapshot",
      "caption": "heap baseline",
      "findingIds": []
    },
    {
      "type": "heap",
      "path": "evidence/heap-post.heapsnapshot",
      "caption": "heap post",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/home-dark.png",
      "caption": "home dark",
      "condition": "prefers-color-scheme: dark",
      "findingIds": [
        "F01"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/home-desktop.png",
      "caption": "home desktop",
      "findingIds": [
        "F18"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/home-discoverability-crawler.png",
      "caption": "home discoverability crawler",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/home-discoverability-rendered.png",
      "caption": "home discoverability rendered",
      "findingIds": []
    },
    {
      "type": "discoverability",
      "path": "evidence/home-discoverability.json",
      "caption": "home discoverability",
      "findingIds": []
    },
    {
      "type": "dom",
      "path": "evidence/home-dom.json",
      "caption": "home dom",
      "findingIds": [
        "F02",
        "F13",
        "F16"
      ]
    },
    {
      "type": "layout",
      "path": "evidence/home-mobile-layout.json",
      "caption": "home mobile layout",
      "condition": "viewport: 360x800",
      "findingIds": []
    },
    {
      "type": "screenshot",
      "path": "evidence/home-mobile.png",
      "caption": "home mobile",
      "condition": "viewport: 360x800",
      "findingIds": [
        "F04",
        "F21"
      ]
    },
    {
      "type": "other",
      "path": "evidence/home-probe.json",
      "caption": "home probe",
      "findingIds": [
        "F04",
        "F05",
        "F10",
        "F12",
        "F20"
      ]
    },
    {
      "type": "har-summary",
      "path": "evidence/home-summary.json",
      "caption": "home summary",
      "findingIds": [
        "F08",
        "F09",
        "F18",
        "F24",
        "F25"
      ]
    },
    {
      "type": "trace-summary",
      "path": "evidence/home-trace-summary.json",
      "caption": "home trace summary",
      "findingIds": [
        "F07"
      ]
    },
    {
      "type": "trace",
      "path": "evidence/home-trace.json",
      "caption": "home trace",
      "findingIds": []
    },
    {
      "type": "har",
      "path": "evidence/home.har",
      "caption": "home",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/images.json",
      "caption": "images",
      "findingIds": [
        "F14",
        "F23"
      ]
    },
    {
      "type": "lighthouse",
      "path": "evidence/lighthouse.json",
      "caption": "lighthouse",
      "findingIds": [
        "F05",
        "F07",
        "F08",
        "F09",
        "F11",
        "F13",
        "F14",
        "F15",
        "F16",
        "F24"
      ]
    },
    {
      "type": "other",
      "path": "evidence/path-status.json",
      "caption": "path status",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/preferences-probe.json",
      "caption": "preferences probe",
      "findingIds": [
        "F01"
      ]
    },
    {
      "type": "dom",
      "path": "evidence/search-dom.json",
      "caption": "search dom",
      "findingIds": [
        "F06"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/search-mobile.png",
      "caption": "search mobile",
      "condition": "viewport: 360x800",
      "findingIds": [
        "F03",
        "F06",
        "F21"
      ]
    },
    {
      "type": "other",
      "path": "evidence/secrets.json",
      "caption": "secrets",
      "findingIds": []
    },
    {
      "type": "other",
      "path": "evidence/trackers.json",
      "caption": "trackers",
      "findingIds": [
        "F18",
        "F22"
      ]
    },
    {
      "type": "dom",
      "path": "evidence/video-dom.json",
      "caption": "video dom",
      "findingIds": [
        "F13",
        "F20"
      ]
    },
    {
      "type": "screenshot",
      "path": "evidence/video-mobile.png",
      "caption": "video mobile",
      "condition": "viewport: 360x800",
      "findingIds": [
        "F03",
        "F22"
      ]
    }
  ],
  "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": "Dark screenshot and computed-style comparison",
      "evidence": "Dark emulation did not change the light palette.",
      "findingIds": [
        "F01"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-dark.png",
        "evidence/preferences-probe.json"
      ]
    },
    {
      "principleId": "respect-user-preferences",
      "checkId": "respects-reduced-motion",
      "status": "pass",
      "confidence": "high",
      "method": "Emulated reduced-motion evaluate probe",
      "evidence": "No active Web Animations were present under reduced-motion, and no autoplaying media appeared on the home path.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/preferences-probe.json"
      ]
    },
    {
      "principleId": "respect-user-preferences",
      "checkId": "respects-contrast",
      "status": "pass",
      "confidence": "high",
      "method": "Emulated prefers-contrast probe and screenshot review",
      "evidence": "Text and controls remained rendered under prefers-contrast: more; separate baseline contrast defects are recorded under be-inclusive.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/preferences-probe.json"
      ]
    },
    {
      "principleId": "implement-natural-interactions",
      "checkId": "view-transitions",
      "status": "issues",
      "confidence": "high",
      "method": "Rendered DOM/CSS inspection",
      "evidence": "No View Transition declarations were found across MPA templates.",
      "findingIds": [
        "F02"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-dom.json",
        "evidence/category-dom.json"
      ]
    },
    {
      "principleId": "implement-natural-interactions",
      "checkId": "scroll-driven-animations",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "No parallax, scrollytelling, or scroll-linked animation exists on the representative templates, so there is no scroll animation implementation to evaluate.",
      "reason": "No parallax, scrollytelling, or scroll-linked animation exists on the representative templates, so there is no scroll animation implementation to evaluate.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "implement-natural-interactions",
      "checkId": "physical-gestures",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "No swipe, pull-to-reveal, carousel gesture, or custom pointer-driven interaction exists on the sampled templates.",
      "reason": "No swipe, pull-to-reveal, carousel gesture, or custom pointer-driven interaction exists on the sampled templates.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "provide-guided-navigation",
      "checkId": "scroll-state-aware-chrome",
      "status": "pass",
      "confidence": "high",
      "method": "Desktop/mobile screenshot and CSS review",
      "evidence": "The page has no sticky/affixed chrome that needs scroll-state adaptation; navigation remains outside the content flow and does not obscure scrolling.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-desktop.png",
        "evidence/home-mobile.png"
      ]
    },
    {
      "principleId": "provide-guided-navigation",
      "checkId": "anchored-positioning",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "No tooltip, popover, or edge-positioned overlay was present on the sampled paths.",
      "reason": "No tooltip, popover, or edge-positioned overlay was present on the sampled paths.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "provide-guided-navigation",
      "checkId": "directs-attention",
      "status": "pass",
      "confidence": "high",
      "method": "Representative path screenshot review",
      "evidence": "Selected navigation state, page H1, result query, and 404 heading identify the destination after navigation.",
      "pathIds": [
        "home",
        "category",
        "search-empty",
        "not-found"
      ],
      "artifacts": [
        "evidence/category-mobile.png",
        "evidence/search-mobile.png",
        "evidence/error-mobile.png"
      ]
    },
    {
      "principleId": "maximize-content-reduce-noise",
      "checkId": "no-intrusive-interruptions",
      "status": "pass",
      "confidence": "high",
      "method": "Initial-load screenshot and DOM overlay probe",
      "evidence": "No modal, interstitial, or full-viewport overlay obscured content on initial load on the four templates.",
      "pathIds": [
        "home",
        "category",
        "video-detail",
        "search-empty"
      ],
      "artifacts": [
        "evidence/home-desktop.png",
        "evidence/home-probe.json"
      ]
    },
    {
      "principleId": "maximize-content-reduce-noise",
      "checkId": "semantic-dismissible-primitives",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "No dismissible overlay or disclosure control was encountered; DOM probe found zero dialog/popover elements.",
      "reason": "No dismissible overlay or disclosure control was encountered; DOM probe found zero dialog/popover elements.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "maximize-content-reduce-noise",
      "checkId": "reduced-chrome",
      "status": "issues",
      "confidence": "high",
      "method": "Video and search screenshot review",
      "evidence": "Third-party tiles and unrelated search copy precede primary content.",
      "findingIds": [
        "F03"
      ],
      "pathIds": [
        "video-detail",
        "search-empty"
      ],
      "artifacts": [
        "evidence/video-mobile.png",
        "evidence/search-mobile.png"
      ]
    },
    {
      "principleId": "adapt-to-the-form-factor",
      "checkId": "responsive-no-horizontal-scroll",
      "status": "pass",
      "confidence": "high",
      "method": "Mobile layout metrics and screenshots",
      "evidence": "At 360x800, scrollWidth and clientWidth are both 360, horizontal overflow is 0, and mobile templates reflow to one column.",
      "pathIds": [
        "home",
        "category",
        "video-detail"
      ],
      "artifacts": [
        "evidence/home-mobile-layout.json",
        "evidence/home-mobile.png",
        "evidence/category-mobile.png"
      ]
    },
    {
      "principleId": "adapt-to-the-form-factor",
      "checkId": "component-level-responsiveness",
      "status": "issues",
      "confidence": "high",
      "method": "CSSOM container-rule probe",
      "evidence": "Probe found zero container rules for reusable card components.",
      "findingIds": [
        "F04"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-probe.json"
      ]
    },
    {
      "principleId": "adapt-to-the-form-factor",
      "checkId": "input-modality-aware",
      "status": "issues",
      "confidence": "high",
      "method": "Focus and target-size probes",
      "evidence": "Sampled controls have no visible focus outline and 7 controls are undersized.",
      "findingIds": [
        "F05"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "support-core-task-success",
      "checkId": "clear-purpose-and-primary-action",
      "status": "pass",
      "confidence": "high",
      "method": "First-viewport screenshots and heading inspection",
      "evidence": "Home, category, video, and search templates expose descriptive H1/title text and obvious linked cards/search controls.",
      "pathIds": [
        "home",
        "category",
        "video-detail",
        "search-empty"
      ],
      "artifacts": [
        "evidence/home-mobile.png",
        "evidence/category-mobile.png",
        "evidence/video-mobile.png"
      ]
    },
    {
      "principleId": "support-core-task-success",
      "checkId": "primary-flow-completion",
      "status": "issues",
      "confidence": "high",
      "method": "Search journey screenshot and DOM review",
      "evidence": "The search flow completes but unrelated injected copy obscures the empty-result outcome.",
      "findingIds": [
        "F06"
      ],
      "pathIds": [
        "search-empty"
      ],
      "artifacts": [
        "evidence/search-mobile.png",
        "evidence/search-dom.json"
      ]
    },
    {
      "principleId": "support-core-task-success",
      "checkId": "clear-system-state-and-recovery",
      "status": "pass",
      "confidence": "high",
      "method": "Empty and error-state request/screenshot review",
      "evidence": "Empty search explicitly reports no data, and a real HTTP 404 presents a visible Page not found state plus onward content links.",
      "pathIds": [
        "search-empty",
        "not-found"
      ],
      "artifacts": [
        "evidence/search-mobile.png",
        "evidence/error-mobile.png",
        "evidence/path-status.json"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "good-core-web-vitals",
      "status": "issues",
      "confidence": "high",
      "method": "Lighthouse plus direct trace",
      "evidence": "Lighthouse mobile LCP is 3.9s while CLS is 0 and TBT 10ms.",
      "findingIds": [
        "F07"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/lighthouse.json",
        "evidence/home-trace-summary.json"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "visual-stability",
      "status": "pass",
      "confidence": "high",
      "method": "Layout observer and Lighthouse",
      "evidence": "Mobile layout observer measured CLS 0 with no shifts; Lighthouse also measured CLS 0.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-mobile-layout.json",
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "efficient-main-thread",
      "status": "pass",
      "confidence": "high",
      "method": "Trace and Lighthouse main-thread metrics",
      "evidence": "Trace found one 81.95ms long task and 31.95ms TBT; Lighthouse TBT was 9ms, both within a light overall main-thread profile.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-trace-summary.json",
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "efficient-resource-delivery",
      "status": "issues",
      "confidence": "high",
      "method": "HAR summary and Lighthouse delivery insights",
      "evidence": "Lighthouse reports 128 KiB cache savings and delayed LCP discovery.",
      "findingIds": [
        "F08"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-summary.json",
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "checkId": "trim-unused-and-duplicate-code",
      "status": "issues",
      "confidence": "high",
      "method": "Lighthouse code coverage audits",
      "evidence": "Lighthouse estimates 147 KiB unused JavaScript and 17 KiB unused CSS.",
      "findingIds": [
        "F09"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "names-roles-labels",
      "status": "issues",
      "confidence": "high",
      "method": "axe, Lighthouse, and DOM control probe",
      "evidence": "Menu button lacks a name and search input lacks a label.",
      "findingIds": [
        "F10"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/axe.json",
        "evidence/home-probe.json"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "sufficient-contrast",
      "status": "issues",
      "confidence": "high",
      "method": "axe and Lighthouse contrast audits",
      "evidence": "axe reports 116 failures and measured representative metadata at 1.89:1.",
      "findingIds": [
        "F11"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/axe.json",
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "structure-and-focus",
      "status": "issues",
      "confidence": "high",
      "method": "axe structural audit and focus walk",
      "evidence": "No main landmark, nonsequential headings, two H1s, and no visible sampled focus styles.",
      "findingIds": [
        "F12"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/axe.json",
        "evidence/home-probe.json"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "legible-text",
      "status": "pass",
      "confidence": "high",
      "method": "Mobile screenshot review",
      "evidence": "Primary Arabic titles and card text remain readable without clipping at 360px; line lengths are short and card wrapping remains intact.",
      "pathIds": [
        "home",
        "category"
      ],
      "artifacts": [
        "evidence/home-mobile.png",
        "evidence/category-mobile.png"
      ]
    },
    {
      "principleId": "be-inclusive",
      "checkId": "zoom-reflow-targets-and-media",
      "status": "issues",
      "confidence": "high",
      "method": "Lighthouse/axe viewport and target audits plus video DOM inspection",
      "evidence": "Viewport disables scaling; touch targets fail; representative video has no track.",
      "findingIds": [
        "F13"
      ],
      "pathIds": [
        "home",
        "video-detail"
      ],
      "artifacts": [
        "evidence/lighthouse.json",
        "evidence/video-dom.json"
      ]
    },
    {
      "principleId": "follow-best-practices",
      "checkId": "no-console-errors",
      "status": "pass",
      "confidence": "high",
      "method": "Lighthouse console audit",
      "evidence": "Lighthouse errors-in-console audit passed with zero captured items.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "follow-best-practices",
      "checkId": "sound-document-and-assets",
      "status": "issues",
      "confidence": "high",
      "method": "DOM and image/Lighthouse audits",
      "evidence": "Doctype/UTF-8 pass, but 13 images lack dimensions and Lighthouse flags low-resolution assets.",
      "findingIds": [
        "F14"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/images.json",
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "follow-best-practices",
      "checkId": "browser-platform-hygiene",
      "status": "issues",
      "confidence": "high",
      "method": "Lighthouse best-practices diagnostics",
      "evidence": "Lighthouse records BFCache exclusion and browser inspector cookie issues.",
      "findingIds": [
        "F15"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "be-discoverable",
      "checkId": "title-and-description",
      "status": "pass",
      "confidence": "high",
      "method": "Rendered DOM metadata inspection",
      "evidence": "All representative templates have descriptive titles; public content templates have specific descriptions, while utility states retain a generic description.",
      "pathIds": [
        "home",
        "category",
        "video-detail"
      ],
      "artifacts": [
        "evidence/home-dom.json",
        "evidence/category-dom.json",
        "evidence/video-dom.json"
      ]
    },
    {
      "principleId": "be-discoverable",
      "checkId": "crawlable-and-mobile-friendly",
      "status": "issues",
      "confidence": "high",
      "method": "Lighthouse SEO and DOM inspection",
      "evidence": "Lighthouse finds sort/support anchors without href; viewport zoom is disabled.",
      "findingIds": [
        "F16"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/lighthouse.json",
        "evidence/home-dom.json"
      ]
    },
    {
      "principleId": "be-discoverable",
      "checkId": "canonical-and-indexing-signals",
      "status": "pass",
      "confidence": "high",
      "method": "DOM, robots/sitemap fetch, and HTTP status probe",
      "evidence": "Home exposes canonical; robots allows public content and advertises a current sitemap; sampled public URLs return 200 and the missing URL returns 404.",
      "pathIds": [
        "home",
        "category",
        "video-detail",
        "not-found"
      ],
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/path-status.json"
      ]
    },
    {
      "principleId": "be-discoverable",
      "checkId": "structured-and-shareable-metadata",
      "status": "pass",
      "confidence": "high",
      "method": "Metadata probe and DOM inspection",
      "evidence": "Home has JSON-LD plus complete Open Graph title, URL, image, description and type; video DOM contains two JSON-LD blocks.",
      "pathIds": [
        "home",
        "video-detail"
      ],
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/video-dom.json"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "checkId": "secure-transport-and-headers",
      "status": "issues",
      "confidence": "high",
      "method": "Headers and cookies primitives",
      "evidence": "HTTPS passes, but CSP/HSTS/nosniff are missing and session cookies are insecure.",
      "findingIds": [
        "F17"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/headers.json",
        "evidence/cookies.json"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "checkId": "data-minimisation-and-third-parties",
      "status": "issues",
      "confidence": "high",
      "method": "HAR and tracker analysis",
      "evidence": "16 third-party requests transfer 298,060 bytes before any visible consent.",
      "findingIds": [
        "F18"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-summary.json",
        "evidence/trackers.json"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "checkId": "in-context-permissions-and-modern-auth",
      "status": "pass",
      "confidence": "high",
      "method": "Initial-load screenshot, DOM, and Lighthouse prompt review",
      "evidence": "No notification/geolocation prompt fired on load and no authentication was part of the public core flow; modern auth is not applicable to the sampled anonymous journey.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-desktop.png",
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "checkId": "defensive-browser-policies",
      "status": "issues",
      "confidence": "high",
      "method": "Security headers primitive",
      "evidence": "Only X-Frame-Options is present; CSP, HSTS, Referrer-Policy, Permissions-Policy and nosniff are absent.",
      "findingIds": [
        "F19"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/headers.json"
      ]
    },
    {
      "principleId": "be-resilient",
      "checkId": "progressive-enhancement",
      "status": "pass",
      "confidence": "high",
      "method": "Discoverability/no-JS comparison",
      "evidence": "Raw server HTML retains 87% of rendered content words, title, H1 and description; it is not a JS shell.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-discoverability.json",
        "evidence/home-discoverability-crawler.png"
      ]
    },
    {
      "principleId": "be-resilient",
      "checkId": "resilient-runtime-behaviour",
      "status": "pass",
      "confidence": "high",
      "method": "Screenshots and repeated-menu heap exercise",
      "evidence": "MPA templates render stable content with no clipped overlay; menu repetition did not destabilize DOM/heap.",
      "pathIds": [
        "home",
        "category",
        "video-detail"
      ],
      "artifacts": [
        "evidence/home-mobile.png",
        "evidence/heap-post.heapsnapshot"
      ]
    },
    {
      "principleId": "be-resilient",
      "checkId": "offline-and-installable",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "This public streaming/content MPA is intrinsically network-dependent; no installable/offline product intent was declared, so PWA installability is not required.",
      "reason": "This public streaming/content MPA is intrinsically network-dependent; no installable/offline product intent was declared, so PWA installability is not required.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "be-resilient",
      "checkId": "network-and-http-failure-states",
      "status": "pass",
      "confidence": "high",
      "method": "HTTP status and state screenshots",
      "evidence": "A true 404 response shows a clear error and onward content; empty search shows an explicit no-data state rather than a broken shell.",
      "pathIds": [
        "not-found",
        "search-empty"
      ],
      "artifacts": [
        "evidence/error-mobile.png",
        "evidence/search-mobile.png",
        "evidence/path-status.json"
      ]
    },
    {
      "principleId": "be-internationalised",
      "checkId": "lang-dir-and-logical-properties",
      "status": "issues",
      "confidence": "high",
      "method": "Cross-template DOM and computed-style probe",
      "evidence": "Arabic templates declare lang=en, omit dir, and compute to ltr.",
      "findingIds": [
        "F20"
      ],
      "pathIds": [
        "home",
        "category",
        "video-detail",
        "search-empty"
      ],
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/category-dom.json"
      ]
    },
    {
      "principleId": "be-internationalised",
      "checkId": "locale-aware-data",
      "status": "issues",
      "confidence": "high",
      "method": "Representative screenshot text review",
      "evidence": "Arabic UI includes untranslated English relative dates, labels and error text.",
      "findingIds": [
        "F21"
      ],
      "pathIds": [
        "home",
        "search-empty",
        "not-found"
      ],
      "artifacts": [
        "evidence/home-mobile.png",
        "evidence/search-mobile.png",
        "evidence/error-mobile.png"
      ]
    },
    {
      "principleId": "be-internationalised",
      "checkId": "time-zone-correctness",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "The sampled public templates expose no scheduled event, absolute time, calendar, or cross-zone workflow to evaluate.",
      "reason": "The sampled public templates expose no scheduled event, absolute time, calendar, or cross-zone workflow to evaluate.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "checkId": "no-dark-patterns",
      "status": "issues",
      "confidence": "high",
      "method": "Video screenshot, cookie and tracker review",
      "evidence": "Unlabelled third-party tiles mimic content and tracking begins with no visible choice.",
      "findingIds": [
        "F22"
      ],
      "pathIds": [
        "video-detail",
        "home"
      ],
      "artifacts": [
        "evidence/video-mobile.png",
        "evidence/trackers.json",
        "evidence/cookies.json"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "checkId": "humane-error-handling",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "The sampled search form has no required or constrained user input and therefore no validation-error interaction to judge.",
      "reason": "The sampled search form has no required or constrained user input and therefore no validation-error interaction to judge.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "checkId": "trustworthy-input-assistance",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "No address, payment, sign-in, or sign-up inputs appear in the sampled anonymous flows; search intentionally uses a query field only.",
      "reason": "No address, payment, sign-in, or sign-up inputs appear in the sampled anonymous flows; search intentionally uses a query field only.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "checkId": "safe-commercial-and-account-flows",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "No checkout, subscription, authentication, consent purchase, or account-management flow was exercised in the public content scope.",
      "reason": "No checkout, subscription, authentication, consent purchase, or account-management flow was exercised in the public content scope.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "be-sustainable",
      "checkId": "optimised-assets",
      "status": "issues",
      "confidence": "high",
      "method": "Images primitive",
      "evidence": "49 images lack srcset; many are legacy format or miss dimensions/native lazy loading.",
      "findingIds": [
        "F23"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/images.json"
      ]
    },
    {
      "principleId": "be-sustainable",
      "checkId": "no-wasteful-work",
      "status": "issues",
      "confidence": "high",
      "method": "HAR and Lighthouse unused-code evidence",
      "evidence": "Initial analytics/ad scripts perform substantial unused work before interaction.",
      "findingIds": [
        "F24"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-summary.json",
        "evidence/lighthouse.json"
      ]
    },
    {
      "principleId": "be-sustainable",
      "checkId": "third-party-and-media-budget",
      "status": "issues",
      "confidence": "high",
      "method": "HAR budget analysis",
      "evidence": "Third parties consume 44% of initial transferred bytes.",
      "findingIds": [
        "F25"
      ],
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/home-summary.json"
      ]
    },
    {
      "principleId": "be-agent-ready",
      "checkId": "structured-agent-capabilities",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "This is a passive public media catalog with crawlable SSR and no agent-executable transactional capability; emerging WebMCP tools are not applicable to the sampled scope.",
      "reason": "This is a passive public media catalog with crawlable SSR and no agent-executable transactional capability; emerging WebMCP tools are not applicable to the sampled scope.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "be-agent-ready",
      "checkId": "on-device-inference",
      "status": "not-applicable",
      "confidence": "high",
      "method": "Recon and applicability judgement",
      "evidence": "No summarization, generation, or language task is part of the site’s user flow, so on-device inference would add complexity without demonstrated value.",
      "reason": "No summarization, generation, or language task is part of the site’s user flow, so on-device inference would add complexity without demonstrated value.",
      "pathIds": [
        "home"
      ]
    },
    {
      "principleId": "be-memory-efficient",
      "checkId": "no-leak-under-repeated-interaction",
      "status": "pass",
      "confidence": "medium",
      "method": "Baseline versus post-interaction heap summaries",
      "evidence": "After 20 menu toggles, summary size rose only 9,857 bytes (0.10%) and node count by 174 (0.11%), with closures +8; no unbounded growth signal appeared in this bounded test.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/heap-baseline.heapsnapshot",
        "evidence/heap-post.heapsnapshot"
      ]
    },
    {
      "principleId": "be-memory-efficient",
      "checkId": "bounded-footprint",
      "status": "pass",
      "confidence": "medium",
      "method": "Heap summary footprint judgement",
      "evidence": "Baseline summary is 9.40 MB self size and 162,878 nodes, proportionate to the content-heavy page in this single-state sample.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/heap-baseline.heapsnapshot"
      ]
    },
    {
      "principleId": "be-memory-efficient",
      "checkId": "no-detached-dom-or-unbounded-listeners",
      "status": "pass",
      "confidence": "medium",
      "method": "Before/after heap type and constructor comparison",
      "evidence": "Native node count fell by 7 and closures rose by only 8 after 20 menu toggles; top constructor populations remained effectively flat.",
      "pathIds": [
        "home"
      ],
      "artifacts": [
        "evidence/heap-baseline.heapsnapshot",
        "evidence/heap-post.heapsnapshot"
      ]
    }
  ],
  "principleOutcomes": [
    {
      "principleId": "respect-user-preferences",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F01"
      ]
    },
    {
      "principleId": "implement-natural-interactions",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F02"
      ]
    },
    {
      "principleId": "provide-guided-navigation",
      "expectation": "default",
      "status": "pass"
    },
    {
      "principleId": "maximize-content-reduce-noise",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F03"
      ]
    },
    {
      "principleId": "adapt-to-the-form-factor",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F04",
        "F05"
      ]
    },
    {
      "principleId": "support-core-task-success",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F06"
      ]
    },
    {
      "principleId": "be-fast-and-stable",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F07",
        "F08",
        "F09"
      ]
    },
    {
      "principleId": "be-inclusive",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F10",
        "F11",
        "F12",
        "F13"
      ]
    },
    {
      "principleId": "follow-best-practices",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F14",
        "F15"
      ]
    },
    {
      "principleId": "be-discoverable",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F16"
      ]
    },
    {
      "principleId": "be-private-and-secure",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F17",
        "F18",
        "F19"
      ]
    },
    {
      "principleId": "be-resilient",
      "expectation": "contextual",
      "status": "pass"
    },
    {
      "principleId": "be-internationalised",
      "expectation": "contextual",
      "status": "issues",
      "findingIds": [
        "F20",
        "F21"
      ]
    },
    {
      "principleId": "be-trustworthy",
      "expectation": "default",
      "status": "issues",
      "findingIds": [
        "F22"
      ]
    },
    {
      "principleId": "be-sustainable",
      "expectation": "contextual",
      "status": "issues",
      "findingIds": [
        "F23",
        "F24",
        "F25"
      ]
    },
    {
      "principleId": "be-agent-ready",
      "expectation": "contextual",
      "status": "not-applicable",
      "reason": "This is a passive public media catalog with crawlable SSR and no agent-executable transactional capability; emerging WebMCP tools are not applicable to the sampled scope. No summarization, generation, or language task is part of the site’s user flow, so on-device inference would add complexity without demonstrated value."
    },
    {
      "principleId": "be-memory-efficient",
      "expectation": "default",
      "status": "pass"
    }
  ],
  "paths": [
    {
      "id": "home",
      "description": "Homepage and primary listing template; tests entry experience, navigation, cards, global metadata, performance, security, preferences, and mobile reflow.",
      "url": "https://braiiz.com/",
      "conditions": [
        "desktop",
        "viewport: 360x800",
        "prefers-color-scheme: dark",
        "prefers-reduced-motion: reduce",
        "prefers-contrast: more",
        "no-JavaScript crawler"
      ],
      "result": "issues"
    },
    {
      "id": "category",
      "description": "Representative category/listing archetype; covers repeated card template, Arabic metadata, navigation and mobile layout.",
      "url": "https://braiiz.com/category/%D8%B3%D9%83%D8%B3-%D8%B9%D8%B1%D8%A8%D9%8A/",
      "conditions": [
        "viewport: 360x800"
      ],
      "result": "issues"
    },
    {
      "id": "video-detail",
      "description": "Representative detail/playback archetype; covers primary media, advertising placement, captions, forms and structured metadata without starting explicit playback.",
      "url": "https://braiiz.com/video/%D9%85%D9%84%D8%A8%D9%86-%D8%B7%D9%8A%D8%B2%D9%87%D8%A7-%D9%85%D8%AB%D8%A7%D9%84%D9%8A%D8%A9-%D8%AA%D8%AA%D9%86%D8%A7%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%BA%D8%A7%D8%A8%D8%A9/",
      "conditions": [
        "viewport: 360x800"
      ],
      "result": "issues"
    },
    {
      "id": "search-empty",
      "description": "Primary search journey with a low-match query; covers result clarity, empty state, localization and recovery.",
      "url": "https://braiiz.com/search/test/",
      "conditions": [
        "viewport: 360x800"
      ],
      "result": "issues"
    },
    {
      "id": "not-found",
      "description": "Representative HTTP failure state; covers truthful status, recovery links and localization.",
      "url": "https://braiiz.com/nonexistent-audit-path",
      "conditions": [
        "viewport: 360x800"
      ],
      "result": "issues"
    }
  ],
  "findings": [
    {
      "id": "F01",
      "severity": "medium",
      "principleId": "respect-user-preferences",
      "principleCheckId": "respects-color-scheme",
      "guidanceId": "dark-mode",
      "confidence": "high",
      "summary": "The site ignores the user’s dark color-scheme preference.",
      "evidence": "The normal and prefers-color-scheme: dark screenshots are pixel-identical in the main surfaces; the dark probe reports color-scheme: normal and the page retains its white background.",
      "suggestedFix": "Declare color-scheme and provide preference-driven dark surface, text, border, and media treatments using prefers-color-scheme or light-dark().",
      "artifacts": [
        "evidence/home-dark.png",
        "evidence/preferences-probe.json"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F02",
      "severity": "low",
      "principleId": "implement-natural-interactions",
      "principleCheckId": "view-transitions",
      "guidanceId": "cross-document-transitions",
      "confidence": "high",
      "summary": "Cross-document navigation swaps abruptly.",
      "evidence": "DOM/CSS inspection found no view-transition-name or @view-transition rules; the MPA’s category, search, and detail navigations therefore use full abrupt swaps.",
      "suggestedFix": "Add @view-transition { navigation: auto } and stable view-transition-name values for shared header/content elements, with reduced-motion handling.",
      "artifacts": [
        "evidence/home-dom.json",
        "evidence/category-dom.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F03",
      "severity": "medium",
      "principleId": "maximize-content-reduce-noise",
      "principleCheckId": "reduced-chrome",
      "guidanceId": "improve-text-layout-and-legibility",
      "confidence": "high",
      "summary": "Advertising and unrelated material crowd the primary video and search content.",
      "evidence": "The video mobile screenshot places four third-party ad tiles before the requested title/player, and the search screenshot inserts an unrelated English paragraph before the results heading.",
      "suggestedFix": "Clearly label and reduce advertising, reserve the first content region for the requested task, and remove unrelated injected copy from search results.",
      "artifacts": [
        "evidence/video-mobile.png",
        "evidence/search-mobile.png"
      ],
      "effort": "medium",
      "pathId": "video-detail"
    },
    {
      "id": "F04",
      "severity": "low",
      "principleId": "adapt-to-the-form-factor",
      "principleCheckId": "component-level-responsiveness",
      "guidanceId": "size-aware-styling",
      "confidence": "high",
      "summary": "Reusable cards adapt only through page-level responsive CSS, not their container.",
      "evidence": "The rendered DOM/CSS probe found zero container rules although the same video cards appear in desktop grids and single-column mobile layouts.",
      "suggestedFix": "Give reusable card/list wrappers containment and use @container rules for card metadata and media sizing, retaining viewport fallbacks where needed.",
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/home-mobile.png"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F05",
      "severity": "high",
      "principleId": "adapt-to-the-form-factor",
      "principleCheckId": "input-modality-aware",
      "guidanceId": "accessibility",
      "confidence": "high",
      "summary": "Keyboard focus is globally suppressed and several targets are too small.",
      "evidence": "The active focus probe reports outline style none and no box shadow for sampled links, search input, and menu button; Lighthouse target-size fails and the probe counts 7 targets below 24px.",
      "suggestedFix": "Remove the global outline reset, add high-contrast :focus-visible styles, and enlarge/space touch targets to at least the applicable WCAG target size.",
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/lighthouse.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F06",
      "severity": "high",
      "principleId": "support-core-task-success",
      "principleCheckId": "primary-flow-completion",
      "guidanceId": "forms",
      "confidence": "high",
      "summary": "Search results are polluted by unrelated content before the result state.",
      "evidence": "Searching for “test” completes with no matching videos, but the mobile result page first renders an unrelated English paragraph and ad-like text before “مقاطع لـ: test”, obscuring the task result.",
      "suggestedFix": "Render the query, result count, and empty state immediately; remove third-party or injected text from the search result flow.",
      "artifacts": [
        "evidence/search-mobile.png",
        "evidence/search-dom.json"
      ],
      "effort": "medium",
      "pathId": "search-empty"
    },
    {
      "id": "F07",
      "severity": "medium",
      "principleId": "be-fast-and-stable",
      "principleCheckId": "good-core-web-vitals",
      "guidanceId": "optimize-image-priority",
      "confidence": "high",
      "summary": "Mobile LCP misses the good threshold.",
      "evidence": "Lighthouse measured LCP at 3.9s (score 0.52) and identified the first thumbnail as undiscoverable for LCP with no fetchpriority=high; the direct trace measured 1.11s in a separate desktop run.",
      "suggestedFix": "Make the LCP image directly discoverable in initial HTML, provide the right responsive source, and set fetchpriority=high only on the actual LCP candidate.",
      "artifacts": [
        "evidence/lighthouse.json",
        "evidence/home-trace-summary.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F08",
      "severity": "medium",
      "principleId": "be-fast-and-stable",
      "principleCheckId": "efficient-resource-delivery",
      "guidanceId": "optimize-image-priority",
      "confidence": "high",
      "summary": "Cache policy and LCP delivery leave avoidable delay.",
      "evidence": "Lighthouse estimates 128 KiB repeat-load cache savings; font-display can save 30ms, and the LCP image lacks priority/discovery. HAR records 46 requests and 670,502 transferred bytes.",
      "suggestedFix": "Use long immutable caching for versioned static assets, font-display, responsive LCP markup, and verify the two parser-blocking stylesheets are both critical.",
      "artifacts": [
        "evidence/lighthouse.json",
        "evidence/home-summary.json"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F09",
      "severity": "medium",
      "principleId": "be-fast-and-stable",
      "principleCheckId": "trim-unused-and-duplicate-code",
      "guidanceId": "identify-heavy-scripts",
      "confidence": "high",
      "summary": "The page ships substantial unused JavaScript and CSS.",
      "evidence": "Lighthouse estimates 147 KiB unused JS (including analytics, first-party main.js, and ad-provider.js) plus 17 KiB unused CSS; 82.6% of the main stylesheet was unused in this route.",
      "suggestedFix": "Split route code/styles, conditionally load media and ad dependencies, and remove unused first- and third-party code after coverage testing.",
      "artifacts": [
        "evidence/lighthouse.json",
        "evidence/home-summary.json"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F10",
      "severity": "high",
      "principleId": "be-inclusive",
      "principleCheckId": "names-roles-labels",
      "guidanceId": "accessibility",
      "confidence": "high",
      "summary": "Core controls lack accessible names and labels.",
      "evidence": "axe and Lighthouse report a critical button-name failure for the mobile navigation button; the search input has no label or aria-label.",
      "suggestedFix": "Add an accessible name and expanded state to the menu button, and associate a visible or programmatic label with the search input.",
      "artifacts": [
        "evidence/axe.json",
        "evidence/home-probe.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F11",
      "severity": "high",
      "principleId": "be-inclusive",
      "principleCheckId": "sufficient-contrast",
      "guidanceId": "accessibility",
      "confidence": "high",
      "summary": "Metadata text has severely insufficient contrast.",
      "evidence": "axe reports 116 color-contrast failures; Lighthouse measured 1.89:1 for 12px duration, date, and view-count text against white, below the required 4.5:1.",
      "suggestedFix": "Darken secondary text and verify all text/control states with automated contrast tests and forced-colors checks.",
      "artifacts": [
        "evidence/axe.json",
        "evidence/lighthouse.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F12",
      "severity": "high",
      "principleId": "be-inclusive",
      "principleCheckId": "structure-and-focus",
      "guidanceId": "accessibility",
      "confidence": "high",
      "summary": "Landmark, heading, and focus structure is not usable enough.",
      "evidence": "axe reports no main landmark, content outside landmarks, and a heading-order failure. The page has two H1 elements and jumps to H4; focused elements have no visible outline.",
      "suggestedFix": "Use one page-level H1, sequential headings, a main landmark, and persistent visible :focus-visible indicators in DOM reading order.",
      "artifacts": [
        "evidence/axe.json",
        "evidence/home-probe.json"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F13",
      "severity": "critical",
      "principleId": "be-inclusive",
      "principleCheckId": "zoom-reflow-targets-and-media",
      "guidanceId": "accessibility",
      "confidence": "high",
      "summary": "The viewport disables zoom and the representative video has no text track.",
      "evidence": "The viewport sets maximum-scale=1 and user-scalable=0, which axe/Lighthouse classify as critical. Video DOM inspection found a video element but no track, while Lighthouse also reports undersized targets.",
      "suggestedFix": "Allow pinch zoom, increase target sizes, and provide synchronized captions or an equivalent transcript for video content.",
      "artifacts": [
        "evidence/home-dom.json",
        "evidence/video-dom.json",
        "evidence/lighthouse.json"
      ],
      "effort": "medium",
      "pathId": "video-detail"
    },
    {
      "id": "F14",
      "severity": "medium",
      "principleId": "follow-best-practices",
      "principleCheckId": "sound-document-and-assets",
      "guidanceId": "html",
      "confidence": "high",
      "summary": "Image and document semantics have avoidable defects.",
      "evidence": "The images primitive reports 13 images without dimensions; Lighthouse reports unsized and low-resolution images. The page also has duplicate H1s although doctype and UTF-8 are valid.",
      "suggestedFix": "Add intrinsic width/height or aspect-ratio to every image, serve sufficient responsive resolution, and correct heading structure.",
      "artifacts": [
        "evidence/images.json",
        "evidence/lighthouse.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F15",
      "severity": "medium",
      "principleId": "follow-best-practices",
      "principleCheckId": "browser-platform-hygiene",
      "guidanceId": "html",
      "confidence": "high",
      "summary": "The page is excluded from BFCache and triggers browser inspector issues.",
      "evidence": "Lighthouse reports three BFCache failure reasons caused by Cache-Control: no-store and cookie mutation, plus cookie issues in third-party ad requests.",
      "suggestedFix": "Avoid no-store on public pages and nonessential async resources, minimize cookie mutation, and re-test BFCache and the Issues panel.",
      "artifacts": [
        "evidence/lighthouse.json",
        "evidence/cookies.json"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F16",
      "severity": "medium",
      "principleId": "be-discoverable",
      "principleCheckId": "crawlable-and-mobile-friendly",
      "guidanceId": "html",
      "confidence": "high",
      "summary": "Several user-visible links are not crawlable.",
      "evidence": "Lighthouse finds sort and support anchors without href values, relying on data-action/data-href JavaScript. The viewport also disables user scaling.",
      "suggestedFix": "Use real href destinations for sort/support actions with JavaScript as enhancement, and remove zoom restrictions.",
      "artifacts": [
        "evidence/lighthouse.json",
        "evidence/home-dom.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F17",
      "severity": "high",
      "principleId": "be-private-and-secure",
      "principleCheckId": "secure-transport-and-headers",
      "guidanceId": "security",
      "confidence": "high",
      "summary": "Security headers and cookie flags are materially weak.",
      "evidence": "HTTPS is used, but headers evidence shows no CSP, HSTS, or nosniff. Cookies evidence finds 8/8 cookies insecure; PHPSESSID is neither Secure nor HttpOnly.",
      "suggestedFix": "Deploy CSP in report-only then enforcement, HSTS, nosniff, and secure session cookies with Secure, HttpOnly, and an appropriate SameSite value.",
      "artifacts": [
        "evidence/headers.json",
        "evidence/cookies.json"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F18",
      "severity": "high",
      "principleId": "be-private-and-secure",
      "principleCheckId": "data-minimisation-and-third-parties",
      "guidanceId": "privacy",
      "confidence": "high",
      "summary": "Tracking and advertising run before visible consent with a large third-party footprint.",
      "evidence": "HAR records 16 third-party requests and 298,060 third-party bytes (44% of transfer), including Google Analytics and multiple ad domains; the tracker scan finds 7 third-party origins and no consent UI appears in load screenshots.",
      "suggestedFix": "Block nonessential analytics/ads until informed consent where required, minimize fields and retention, and remove unneeded third parties.",
      "artifacts": [
        "evidence/home-summary.json",
        "evidence/trackers.json",
        "evidence/home-desktop.png"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F19",
      "severity": "high",
      "principleId": "be-private-and-secure",
      "principleCheckId": "defensive-browser-policies",
      "guidanceId": "security",
      "confidence": "high",
      "summary": "Browser-enforced defensive policy coverage is incomplete.",
      "evidence": "The response has X-Frame-Options: SAMEORIGIN but lacks CSP/frame-ancestors, HSTS, Referrer-Policy, Permissions-Policy, and X-Content-Type-Options.",
      "suggestedFix": "Add a least-privilege CSP including frame-ancestors, strict referrer and permissions policies, HSTS, and nosniff; test in report-only where appropriate.",
      "artifacts": [
        "evidence/headers.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F20",
      "severity": "high",
      "principleId": "be-internationalised",
      "principleCheckId": "lang-dir-and-logical-properties",
      "guidanceId": "translator",
      "confidence": "high",
      "summary": "Arabic pages are declared as English and left-to-right.",
      "evidence": "All sampled home, category, video, search, and 404 documents use html lang=\"en\" with no dir; the computed root direction is ltr despite predominantly Arabic content.",
      "suggestedFix": "Set lang=\"ar\" and dir=\"rtl\" on Arabic templates, mark embedded English spans with lang/dir as needed, and migrate layout to logical properties.",
      "artifacts": [
        "evidence/home-probe.json",
        "evidence/category-dom.json",
        "evidence/video-dom.json"
      ],
      "effort": "small",
      "pathId": "home"
    },
    {
      "id": "F21",
      "severity": "medium",
      "principleId": "be-internationalised",
      "principleCheckId": "locale-aware-data",
      "guidanceId": "format-human-readable-durations",
      "confidence": "high",
      "summary": "Arabic UI mixes untranslated, non-locale-aware metadata.",
      "evidence": "Mobile pages render English strings such as “2 days ago”, “Albums for: test”, “Most Relevant”, and “Page not found” inside otherwise Arabic interfaces.",
      "suggestedFix": "Centralize strings and format relative times, dates, numbers, and durations with Intl using the active Arabic locale.",
      "artifacts": [
        "evidence/home-mobile.png",
        "evidence/search-mobile.png",
        "evidence/error-mobile.png"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F22",
      "severity": "high",
      "principleId": "be-trustworthy",
      "principleCheckId": "no-dark-patterns",
      "guidanceId": "privacy",
      "confidence": "high",
      "summary": "Unlabelled ad content and tracking undermine informed, predictable use.",
      "evidence": "The requested video is preceded by four third-party tiles styled like content without an advertisement label, while tracking/ad requests and long-lived cookies start with no visible consent choice.",
      "suggestedFix": "Clearly label ads, separate them from site content, avoid deceptive placement, and provide an honest consent flow before nonessential tracking.",
      "artifacts": [
        "evidence/video-mobile.png",
        "evidence/trackers.json",
        "evidence/cookies.json"
      ],
      "effort": "medium",
      "pathId": "video-detail"
    },
    {
      "id": "F23",
      "severity": "medium",
      "principleId": "be-sustainable",
      "principleCheckId": "optimised-assets",
      "guidanceId": "deliver-optimized-decorative-images",
      "confidence": "high",
      "summary": "Image delivery is not responsive or consistently modern.",
      "evidence": "The images primitive reports 49/49 images without srcset, 15 legacy-format images, 45 below-fold images without native loading=lazy, and 13 missing dimensions.",
      "suggestedFix": "Generate AVIF/WebP responsive srcsets and sizes, reserve dimensions, and use native lazy loading below the fold while keeping the true LCP image eager.",
      "artifacts": [
        "evidence/images.json"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F24",
      "severity": "medium",
      "principleId": "be-sustainable",
      "principleCheckId": "no-wasteful-work",
      "guidanceId": "deprioritize-background-fetches",
      "confidence": "high",
      "summary": "Background analytics and advertising perform disproportionate work.",
      "evidence": "Third parties transfer 298,060 bytes across 16 requests on initial load; Lighthouse attributes 70 KiB unused code to gtag and 37 KiB to the ad provider.",
      "suggestedFix": "Remove nonessential vendors, load consented analytics during idle time, batch events, and do not initialize ad/media work outside the viewport.",
      "artifacts": [
        "evidence/home-summary.json",
        "evidence/lighthouse.json"
      ],
      "effort": "medium",
      "pathId": "home"
    },
    {
      "id": "F25",
      "severity": "medium",
      "principleId": "be-sustainable",
      "principleCheckId": "third-party-and-media-budget",
      "guidanceId": "efficient-background-processing",
      "confidence": "high",
      "summary": "Third-party scripts dominate the initial resource budget.",
      "evidence": "HAR shows third parties account for 44% of transferred bytes; gtag alone is 166,615 bytes and ad/behavior scripts add tens of kilobytes before user interaction.",
      "suggestedFix": "Set a third-party byte/request budget, defer approved vendors, and remove scripts whose measured user value does not justify their cost.",
      "artifacts": [
        "evidence/home-summary.json"
      ],
      "effort": "medium",
      "pathId": "home"
    }
  ],
  "taskList": [
    {
      "id": "T01",
      "title": "Restore zoom, keyboard focus, accessible names, landmarks, captions, contrast, and target sizing",
      "priority": 1,
      "findingIds": [
        "F05",
        "F10",
        "F11",
        "F12",
        "F13"
      ],
      "guidanceId": "accessibility",
      "status": "open"
    },
    {
      "id": "T02",
      "title": "Harden response headers and session cookies, then reduce pre-consent tracking",
      "priority": 2,
      "findingIds": [
        "F17",
        "F18",
        "F19",
        "F22"
      ],
      "guidanceId": "security",
      "status": "open"
    },
    {
      "id": "T03",
      "title": "Correct Arabic lang/dir and localize UI/data strings",
      "priority": 3,
      "findingIds": [
        "F20",
        "F21"
      ],
      "guidanceId": "translator",
      "status": "open"
    },
    {
      "id": "T04",
      "title": "Clean the search/detail journey and clearly label or remove ad content",
      "priority": 4,
      "findingIds": [
        "F03",
        "F06",
        "F22"
      ],
      "guidanceId": "privacy",
      "status": "open"
    },
    {
      "id": "T05",
      "title": "Optimize LCP discovery, caching, code splitting, and responsive images",
      "priority": 5,
      "findingIds": [
        "F07",
        "F08",
        "F09",
        "F14",
        "F23",
        "F24",
        "F25"
      ],
      "guidanceId": "optimize-image-priority",
      "status": "open"
    },
    {
      "id": "T06",
      "title": "Add preference-driven dark mode and progressive cross-document transitions",
      "priority": 6,
      "findingIds": [
        "F01",
        "F02"
      ],
      "guidanceId": "dark-mode",
      "status": "open"
    },
    {
      "id": "T07",
      "title": "Use crawlable hrefs and container-aware card styling",
      "priority": 7,
      "findingIds": [
        "F04",
        "F16"
      ],
      "guidanceId": "size-aware-styling",
      "status": "open"
    }
  ],
  "budget": {
    "pathCount": 5,
    "auditPasses": 1
  },
  "agent": "pi",
  "runId": "2026-07-18T00-11-50-838Z"
}
