{
  "schemaVersion": "1.0.0",
  "tool": {
    "name": "rachnasutra",
    "version": "0.5.2"
  },
  "generatedAt": "2026-11-28T13:43:14.142Z",
  "root": "<project>\\fixtures\\intentionally-broken-ui",
  "mode": "static",
  "filesScanned": 2,
  "fileTypes": {
    ".html": 1,
    ".css": 1
  },
  "skipped": {
    "ignoredDirs": 0,
    "tooLarge": 0,
    "binary": 0,
    "symlinks": 0,
    "overBudget": 0,
    "excluded": 0,
    "unreadable": 0
  },
  "truncated": false,
  "findings": [
    {
      "id": "RS-0001",
      "rule": "RS-A11Y-001",
      "category": "accessibility",
      "title": "Image has no alt attribute",
      "severity": "high",
      "confidence": "high",
      "criterion": "WCAG 2.2: 1.1.1 Non-text Content",
      "user_impact": "Screen-reader users hear the file name or nothing, and lose the information the image carries.",
      "recommended_fix": "Add a meaningful alt, or alt=\"\" when the image is purely decorative.",
      "verification": "Re-run `rachnasutra accessibility`, then check the image with a screen reader.",
      "limitations": "Whether the alt text is meaningful needs human review.",
      "file": "index.html",
      "line": 11,
      "evidence": [
        {
          "path": "index.html",
          "line": 11,
          "excerpt": "<img src=\"hero.jpg\">"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "aa4b8fdf43dd"
    },
    {
      "id": "RS-0002",
      "rule": "RS-A11Y-003",
      "category": "accessibility",
      "title": "Viewport meta disables or limits zoom",
      "severity": "high",
      "confidence": "high",
      "criterion": "WCAG 2.2: 1.4.4 Resize Text",
      "user_impact": "Low-vision users cannot pinch-zoom to read text.",
      "recommended_fix": "Remove user-scalable=no and any maximum-scale below 2 from the viewport meta.",
      "verification": "Pinch-zoom the page on a real device or emulator.",
      "limitations": "None for the declared value.",
      "file": "index.html",
      "line": 5,
      "evidence": [
        {
          "path": "index.html",
          "line": 5,
          "excerpt": "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "e0515f76498a"
    },
    {
      "id": "RS-0003",
      "rule": "RS-A11Y-004",
      "category": "accessibility",
      "title": "Button has no accessible name",
      "severity": "high",
      "confidence": "high",
      "criterion": "WCAG 2.2: 4.1.2 Name, Role, Value",
      "user_impact": "Screen-reader users hear only \"button\" and cannot tell what it does.",
      "recommended_fix": "Add visible text or an aria-label describing the action.",
      "verification": "Re-run the audit; check the accessible name in the browser accessibility tree.",
      "limitations": "Content injected at runtime would not be seen by static analysis.",
      "file": "index.html",
      "line": 13,
      "evidence": [
        {
          "path": "index.html",
          "line": 13,
          "excerpt": "<button class=\"icon-btn\"></button>"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "a2af78b04a0e"
    },
    {
      "id": "RS-0004",
      "rule": "RS-A11Y-005",
      "category": "accessibility",
      "title": "Form control has no programmatic label",
      "severity": "high",
      "confidence": "medium",
      "criterion": "WCAG 2.2: 1.3.1 Info and Relationships, 3.3.2 Labels or Instructions, 4.1.2",
      "user_impact": "Screen-reader and voice-control users cannot identify the field; a placeholder alone disappears on input.",
      "recommended_fix": "Associate a visible <label for> (or wrap the control), or add aria-label when no visible label is possible.",
      "verification": "Click the label to focus the field; check the accessible name in the accessibility tree.",
      "limitations": "Labels supplied by a component wrapper or at runtime are not visible to a static scan.",
      "file": "index.html",
      "line": 16,
      "evidence": [
        {
          "path": "index.html",
          "line": 16,
          "excerpt": "<input type=\"email\" placeholder=\"Email\">"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "a40e87751661"
    },
    {
      "id": "RS-0005",
      "rule": "RS-A11Y-007",
      "category": "accessibility",
      "title": "Click handler on non-interactive <div> without role or tabindex",
      "severity": "high",
      "confidence": "high",
      "criterion": "WCAG 2.2: 2.1.1 Keyboard, 4.1.2 Name, Role, Value",
      "user_impact": "Keyboard and assistive-technology users cannot reach or activate the control.",
      "recommended_fix": "Use a real <button> (or <a href>); if impossible, add role, tabindex=\"0\" and key handlers.",
      "verification": "Operate the control with Tab, Enter and Space only.",
      "limitations": "Delegated key handlers elsewhere are not visible to a static scan.",
      "file": "index.html",
      "line": 12,
      "evidence": [
        {
          "path": "index.html",
          "line": 12,
          "excerpt": "<div class=\"card\" onclick=\"openCart()\">Open cart</div>"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "557c2e61c09b"
    },
    {
      "id": "RS-0006",
      "rule": "RS-A11Y-010",
      "category": "accessibility",
      "title": "Focus indicator removed (button:focus, a:focus)",
      "severity": "high",
      "confidence": "high",
      "criterion": "WCAG 2.2: 2.4.7 Focus Visible",
      "user_impact": "Keyboard users cannot see where focus is.",
      "recommended_fix": "Keep the default outline or provide a clearly visible :focus-visible style with 3:1 contrast.",
      "verification": "Tab through the control and confirm a visible indicator.",
      "limitations": "A replacement style in another rule or file may exist.",
      "file": "styles.css",
      "line": 2,
      "evidence": [
        {
          "path": "styles.css",
          "line": 2,
          "excerpt": "button:focus, a:focus { outline: none; }"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "90bf4b7fe8dc"
    },
    {
      "id": "RS-0007",
      "rule": "RS-A11Y-013",
      "category": "accessibility",
      "title": "Text contrast 2.32:1 is below 4.5:1 (#aaaaaa on #ffffff)",
      "severity": "high",
      "confidence": "high",
      "criterion": "WCAG 2.2: 1.4.3 Contrast (Minimum)",
      "user_impact": "Low-vision users and anyone in bright light may be unable to read this text.",
      "recommended_fix": "Darken the text or lighten the background until the ratio is at least 4.5:1 (3:1 for large text).",
      "verification": "Re-run the audit; spot-check the rendered colour pair with a contrast tool.",
      "limitations": "Measured from literal inline declarations. Large-text exemption is not applied to inline styles.",
      "file": "index.html",
      "line": 20,
      "evidence": [
        {
          "path": "index.html",
          "line": 20,
          "excerpt": "<p style=\"color:#aaaaaa;background:#ffffff\">Light grey inline text</p>"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "e89ec01d75d2"
    },
    {
      "id": "RS-0008",
      "rule": "RS-A11Y-013",
      "category": "accessibility",
      "title": "Text contrast 2.85:1 is below 4.5:1 (#999999 on #ffffff)",
      "severity": "high",
      "confidence": "high",
      "criterion": "WCAG 2.2: 1.4.3 Contrast (Minimum)",
      "user_impact": "Low-vision users and anyone in bright light may be unable to read this text.",
      "recommended_fix": "Darken the text or lighten the background until the ratio is at least 4.5:1.",
      "verification": "Re-run the audit; spot-check the rendered colour pair with a contrast tool.",
      "limitations": "Measured from literal declarations in one rule. Cascade, opacity, gradients and images are not resolved.",
      "file": "styles.css",
      "line": 1,
      "evidence": [
        {
          "path": "styles.css",
          "line": 1,
          "excerpt": ".hero { width: 1200px; background: #ffffff; color: #999999; }"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "e578d80b06cd"
    },
    {
      "id": "RS-0009",
      "rule": "RS-A11Y-002",
      "category": "accessibility",
      "title": "Document has no lang attribute",
      "severity": "medium",
      "confidence": "high",
      "criterion": "WCAG 2.2: 3.1.1 Language of Page",
      "user_impact": "Screen readers may pronounce content with the wrong language rules.",
      "recommended_fix": "Add lang to the <html> element, for example <html lang=\"en\">.",
      "verification": "Re-run the audit; confirm with a screen reader that pronunciation is correct.",
      "limitations": "None for the missing attribute; the right language code is a content decision.",
      "file": "index.html",
      "line": 2,
      "evidence": [
        {
          "path": "index.html",
          "line": 2,
          "excerpt": "<html>"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "a7e19e3900af"
    },
    {
      "id": "RS-0010",
      "rule": "RS-A11Y-006",
      "category": "accessibility",
      "title": "Positive tabindex overrides natural focus order",
      "severity": "medium",
      "confidence": "high",
      "criterion": "WCAG 2.2: 2.4.3 Focus Order",
      "user_impact": "Keyboard users tab through elements in a surprising order.",
      "recommended_fix": "Use tabindex=\"0\" or \"-1\" only, and fix the DOM order instead.",
      "verification": "Tab through the page and confirm the order matches the visual order.",
      "limitations": "None for the declared value.",
      "file": "index.html",
      "line": 17,
      "evidence": [
        {
          "path": "index.html",
          "line": 17,
          "excerpt": "<input type=\"text\" tabindex=\"3\" aria-label=\"Name\">"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "de39f77cae81"
    },
    {
      "id": "RS-0011",
      "rule": "RS-A11Y-008",
      "category": "accessibility",
      "title": "Document has no title",
      "severity": "medium",
      "confidence": "high",
      "criterion": "WCAG 2.2: 2.4.2 Page Titled",
      "user_impact": "Users cannot tell tabs, history entries or search results apart.",
      "recommended_fix": "Add a unique, descriptive <title> in <head>.",
      "verification": "Re-run the audit and check the browser tab.",
      "limitations": "A title may be set at runtime by a script.",
      "file": "index.html",
      "line": 2,
      "evidence": [
        {
          "path": "index.html",
          "line": 2,
          "excerpt": "<html>"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "6fc5c1505df4"
    },
    {
      "id": "RS-0012",
      "rule": "RS-A11Y-014",
      "category": "accessibility",
      "title": "Interactive target smaller than 24x24 CSS px (.icon-btn)",
      "severity": "medium",
      "confidence": "low",
      "criterion": "WCAG 2.2: 2.5.8 Target Size (Minimum)",
      "user_impact": "Users with tremor or on touch screens may mis-tap.",
      "recommended_fix": "Make the target at least 24x24 CSS px (44x44 recommended for touch) or add spacing.",
      "verification": "Measure the rendered bounding box in a browser at the target viewport.",
      "limitations": "Padding may enlarge the real target; selector-name match is heuristic.",
      "file": "styles.css",
      "line": 3,
      "evidence": [
        {
          "path": "styles.css",
          "line": 3,
          "excerpt": ".icon-btn { width: 16px; height: 16px; }"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "76d149b63700"
    },
    {
      "id": "RS-0013",
      "rule": "RS-A11Y-019",
      "category": "accessibility",
      "title": "email field has no autocomplete attribute",
      "severity": "medium",
      "confidence": "medium",
      "criterion": "WCAG 2.2: 1.3.5 Identify Input Purpose",
      "user_impact": "Browsers and password managers cannot fill the field, and users retype personal data.",
      "recommended_fix": "Add autocomplete=\"email\".",
      "verification": "Re-run the audit, then use the browser autofill menu on the field.",
      "limitations": "Only type=email and type=tel are checked. Other personal fields need a human look.",
      "file": "index.html",
      "line": 16,
      "evidence": [
        {
          "path": "index.html",
          "line": 16,
          "excerpt": "<input type=\"email\" placeholder=\"Email\">"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "d5a33ed3df42"
    },
    {
      "id": "RS-0014",
      "rule": "RS-MOT-001",
      "category": "motion",
      "title": "Animations or transitions exist but no prefers-reduced-motion handling",
      "severity": "medium",
      "confidence": "high",
      "criterion": "WCAG 2.2: 2.3.3 Animation from Interactions (AAA, best practice)",
      "user_impact": "Users with vestibular disorders may be made unwell by motion they asked the OS to reduce.",
      "recommended_fix": "Wrap non-essential motion in @media (prefers-reduced-motion: no-preference) or disable it under reduce.",
      "verification": "Enable \"reduce motion\" in the OS and confirm motion stops.",
      "limitations": "Motion may be handled in JavaScript; only CSS was scanned.",
      "file": "styles.css",
      "line": 6,
      "evidence": [
        {
          "path": "styles.css",
          "line": 6,
          "excerpt": ".fade { transition: opacity 0.4s; animation: spin 2s infinite; }"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "cd7575536288"
    },
    {
      "id": "RS-0015",
      "rule": "RS-RESP-002",
      "category": "responsive",
      "title": "Fixed width 1200px can overflow narrow viewports",
      "severity": "medium",
      "confidence": "medium",
      "criterion": "WCAG 2.2: 1.4.10 Reflow",
      "user_impact": "On a 320px-wide screen this forces horizontal scrolling.",
      "recommended_fix": "Use max-width with width: 100%, or relative units, and let content reflow.",
      "verification": "Render at 320x568 and confirm no horizontal scroll.",
      "limitations": "A parent container or media query may constrain the element; not rendered.",
      "file": "styles.css",
      "line": 1,
      "evidence": [
        {
          "path": "styles.css",
          "line": 1,
          "excerpt": ".hero { width: 1200px; background: #ffffff; color: #999999; }"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "3c2677a99757"
    },
    {
      "id": "RS-0016",
      "rule": "RS-RESP-003",
      "category": "responsive",
      "title": "No responsive CSS found (media/container queries, clamp, grid auto-fit, flex-wrap)",
      "severity": "medium",
      "confidence": "medium",
      "user_impact": "Layouts may not adapt to phones, tablets or large displays.",
      "recommended_fix": "Adopt a mobile-first approach with media or container queries and fluid sizing.",
      "verification": "Render at 320, 390, 768, 1024 and 1440 widths and review each screenshot.",
      "limitations": "CSS frameworks (Tailwind, Bootstrap) supply responsive rules not visible in source CSS.",
      "file": "styles.css",
      "line": 1,
      "evidence": [
        {
          "path": "styles.css",
          "line": 1,
          "excerpt": ".hero { width: 1200px; background: #ffffff; color: #999999; }"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "9c3dab4b3bd7"
    },
    {
      "id": "RS-0017",
      "rule": "RS-A11Y-009",
      "category": "accessibility",
      "title": "Heading level skips from h1 to h3",
      "severity": "low",
      "confidence": "medium",
      "criterion": "WCAG 2.2: 1.3.1 Info and Relationships",
      "user_impact": "Heading navigation implies a broken outline; users may miss that sections are related.",
      "recommended_fix": "Use sequential heading levels, and style headings with CSS rather than by level.",
      "verification": "Inspect the heading outline in the browser accessibility tree.",
      "limitations": "Heading order across included partials is not visible to a single-file scan.",
      "file": "index.html",
      "line": 10,
      "evidence": [
        {
          "path": "index.html",
          "line": 10,
          "excerpt": "<h3>Featured</h3>"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "99a3c7a78030"
    },
    {
      "id": "RS-0018",
      "rule": "RS-A11Y-015",
      "category": "accessibility",
      "title": "No main landmark",
      "severity": "low",
      "confidence": "medium",
      "criterion": "WCAG 2.2: 1.3.1 Info and Relationships, 2.4.1 Bypass Blocks",
      "user_impact": "Keyboard and screen-reader users cannot jump straight to the primary content.",
      "recommended_fix": "Wrap the primary content in <main> and add a skip link if there is repeated navigation.",
      "verification": "Check landmarks with a screen-reader landmark list or the browser accessibility tree.",
      "limitations": "A shared layout file may provide <main> for this page.",
      "file": "index.html",
      "line": 8,
      "evidence": [
        {
          "path": "index.html",
          "line": 8,
          "excerpt": "<body>"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "5fc1dc510c8b"
    },
    {
      "id": "RS-0019",
      "rule": "RS-CONT-001",
      "category": "content",
      "title": "Vague link text \"click here\"",
      "severity": "low",
      "confidence": "high",
      "criterion": "WCAG 2.2: 2.4.4 Link Purpose (In Context)",
      "user_impact": "Links listed out of context (screen-reader link lists) are indistinguishable.",
      "recommended_fix": "Describe the destination in the link text, for example \"Read the pricing guide\".",
      "verification": "Re-run the audit; review the page link list.",
      "limitations": "Surrounding context may make the purpose clear to sighted users.",
      "file": "index.html",
      "line": 14,
      "evidence": [
        {
          "path": "index.html",
          "line": 14,
          "excerpt": "<a href=\"/sale\">click here</a>"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "ab30e71ba71e"
    },
    {
      "id": "RS-0020",
      "rule": "RS-PERF-001",
      "category": "performance",
      "title": "Image has no explicit width and height",
      "severity": "low",
      "confidence": "medium",
      "user_impact": "Late-loading images can shift layout (Cumulative Layout Shift) while the page renders.",
      "recommended_fix": "Set width and height attributes (or CSS aspect-ratio) so the browser reserves space.",
      "verification": "Measure CLS in a lab run (Lighthouse) before and after; compare field data if available.",
      "limitations": "CSS elsewhere may already reserve the space; not measured at runtime.",
      "file": "index.html",
      "line": 11,
      "evidence": [
        {
          "path": "index.html",
          "line": 11,
          "excerpt": "<img src=\"hero.jpg\">"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "d1c68f89d33e"
    },
    {
      "id": "RS-0021",
      "rule": "RS-VIS-001",
      "category": "visual",
      "title": "Very small text (10px)",
      "severity": "low",
      "confidence": "high",
      "criterion": "WCAG 2.2: 1.4.4 Resize Text (readability)",
      "user_impact": "Small text is hard to read, especially on mobile and for low-vision users.",
      "recommended_fix": "Use at least 12px for supplementary text and 16px for body text; prefer rem units.",
      "verification": "View on a real phone at normal distance.",
      "limitations": "Context (legal footers, labels) may justify small text; this is a readability signal.",
      "file": "styles.css",
      "line": 4,
      "evidence": [
        {
          "path": "styles.css",
          "line": 4,
          "excerpt": ".note { font-size: 10px; }"
        }
      ],
      "platform": "web",
      "status": "confirmed",
      "fingerprint": "545e07e35298"
    },
    {
      "id": "RS-0022",
      "rule": "RS-TRUST-001",
      "category": "trust",
      "title": "Urgency or scarcity wording needs review",
      "severity": "info",
      "confidence": "low",
      "user_impact": "False scarcity or urgency is a dark pattern that manipulates users.",
      "recommended_fix": "Confirm the claim is true and sourced from real data; otherwise remove it.",
      "verification": "Human review of the data source behind the claim.",
      "limitations": "Wording alone does not prove the claim is false.",
      "file": "index.html",
      "line": 19,
      "evidence": [
        {
          "path": "index.html",
          "line": 19,
          "excerpt": "<p class=\"urgent\">Hurry! Only 3 left in stock.</p>"
        }
      ],
      "platform": "web",
      "status": "review-required",
      "fingerprint": "081a88c1fd44"
    }
  ],
  "coverage": [
    {
      "category": "accessibility (static)",
      "state": "partial",
      "checks": 22,
      "detail": "Source patterns and measured literal colour contrast only. Keyboard, screen-reader and axe runtime checks were not run."
    },
    {
      "category": "responsive (static)",
      "state": "partial",
      "checks": 3,
      "detail": "Viewport meta, fixed widths and responsive CSS presence. No viewport was rendered."
    },
    {
      "category": "design system",
      "state": "partial",
      "checks": 1,
      "detail": "Token inventory from literal CSS values; no Figma, Storybook or component API inspection."
    },
    {
      "category": "content",
      "state": "partial",
      "checks": 3,
      "detail": "Link text, placeholder copy and urgency wording only. No tone or localisation review."
    },
    {
      "category": "performance (static)",
      "state": "partial",
      "checks": 2,
      "detail": "Image dimensions and asset size only. Core Web Vitals were not measured."
    },
    {
      "category": "motion",
      "state": "partial",
      "checks": 1,
      "detail": "CSS reduced-motion handling only."
    },
    {
      "category": "browser runtime",
      "state": "not-run",
      "checks": 0,
      "detail": "Not available in this version. Requires an authorized browser audit."
    },
    {
      "category": "visual review",
      "state": "not-run",
      "checks": 0,
      "detail": "Needs screenshots and a vision-capable host. No screenshot was taken."
    },
    {
      "category": "screen-reader and keyboard testing",
      "state": "not-run",
      "checks": 0,
      "detail": "Manual testing required."
    },
    {
      "category": "Core Web Vitals (lab and field)",
      "state": "not-run",
      "checks": 0,
      "detail": "No measurement taken."
    }
  ],
  "tokens": {
    "cssVariables": 0,
    "colors": [
      {
        "value": "#999999",
        "count": 1
      },
      {
        "value": "#eee",
        "count": 1
      },
      {
        "value": "#ffffff",
        "count": 1
      }
    ],
    "fontSizes": [
      {
        "value": "10px",
        "count": 1
      }
    ],
    "spacing": [],
    "radii": [],
    "hardcodedColorRatio": 1
  },
  "limitations": [
    "Static analysis reads source text only. Nothing was rendered, executed or sent over a network.",
    "Findings are review aids. Automated checks cannot establish WCAG conformance; manual testing is required.",
    "CSS frameworks, CSS-in-JS and runtime-injected markup are only partly visible.",
    "No numeric quality score is given because category coverage is partial."
  ],
  "summary": {
    "bySeverity": {
      "critical": 0,
      "high": 8,
      "medium": 8,
      "low": 5,
      "info": 1
    },
    "byCategory": {
      "accessibility": 15,
      "motion": 1,
      "responsive": 2,
      "content": 1,
      "performance": 1,
      "visual": 1,
      "trust": 1
    },
    "confirmed": 13,
    "reviewRequired": 9
  }
}