{
  "schemaVersion": "1.1.0",
  "tool": {
    "name": "CartReach",
    "version": "0.1.0"
  },
  "createdAt": "2026-11-23T08:56:03.937Z",
  "input": {
    "fileName": "dawn-15.0.0-demo-store.zip",
    "sha256": "38ef2f4e0d919da8c09876b9d889fae71f12f4d23970d33d28ae1569cb9e35e8",
    "theme": {
      "name": "Dawn",
      "version": "15.0.0"
    }
  },
  "output": {
    "fileName": "dawn-15.0.0-demo-store-cartreach.zip",
    "sha256": "ccc3a0c7837c3144b6be956d3471a819dd3185b462475cec19bd3ac4b064fcdc"
  },
  "summary": {
    "applied": 1,
    "alreadyPresent": 0,
    "notApplied": 0,
    "headline": "1 tested fix was applied to a copy of your theme. Upload the new theme file as an unpublished theme, preview it, then publish it yourself."
  },
  "fixes": [
    {
      "id": "FIX-COUNTRYIDS-001",
      "version": "1.1.0",
      "title": "Unique IDs in Dawn's country selector",
      "description": "Dawn 15.0.0 renders snippets/country-localization.liquid once per position (header, mobile header, footer) with the localPosition parameter, but the country search field and every country option use fixed IDs, and the search field's aria-owns/aria-controls point to an ID that does not exist. The theme script sets aria-activedescendant to the active country's ID, so a screen reader can follow the wrong, hidden copy. The fix prefixes these IDs with localPosition (country options also switch from the country name, which may contain spaces, to its ISO code) and points the field at the real list.",
      "ruleIds": [
        "AXE-duplicate-id-aria"
      ],
      "changes": [
        {
          "path": "snippets/country-localization.liquid",
          "kind": "modified",
          "bytes": 6157,
          "lines": [
            {
              "line": 49,
              "before": "            id=\"country-filter-input\"",
              "after": "            id=\"{{ localPosition }}-country-filter-input\""
            },
            {
              "line": 55,
              "before": "            aria-owns=\"country-results\"",
              "after": "            aria-owns=\"{{ localPosition }}-country-results\""
            },
            {
              "line": 56,
              "before": "            aria-controls=\"country-results\"",
              "after": "            aria-controls=\"{{ localPosition }}-country-results\""
            },
            {
              "line": 64,
              "before": "          <label class=\"field__label\" for=\"country-filter-input\">{{ 'localization.search' | t }}</label>",
              "after": "          <label class=\"field__label\" for=\"{{ localPosition }}-country-filter-input\">{{ 'localization.search' | t }}</label>"
            },
            {
              "line": 109,
              "before": "                id=\"{{ country.name }}\"",
              "after": "                id=\"{{ localPosition }}-{{ country.iso_code }}\""
            },
            {
              "line": 138,
              "before": "              id=\"{{ country.name }}\"",
              "after": "              id=\"{{ localPosition }}-{{ country.iso_code }}\""
            }
          ],
          "omittedLines": 0
        }
      ],
      "addresses": [
        {
          "report": "collection-desktop/report.json",
          "url": "http://127.0.0.1:63707/demo-store/collections/bags",
          "device": "desktop",
          "findingId": "AXE-duplicate-id-aria-desktop-001",
          "ruleId": "AXE-duplicate-id-aria",
          "status": "MANUAL_REVIEW",
          "message": "Needs review: IDs used in ARIA and labels must be unique. axe could not decide automatically for 1 element."
        },
        {
          "report": "collection-mobile/report.json",
          "url": "http://127.0.0.1:63707/demo-store/collections/bags",
          "device": "mobile",
          "findingId": "AXE-duplicate-id-aria-mobile-001",
          "ruleId": "AXE-duplicate-id-aria",
          "status": "MANUAL_REVIEW",
          "message": "Needs review: IDs used in ARIA and labels must be unique. axe could not decide automatically for 1 element."
        },
        {
          "report": "contact-desktop/report.json",
          "url": "http://127.0.0.1:63707/demo-store/pages/contact",
          "device": "desktop",
          "findingId": "AXE-duplicate-id-aria-desktop-001",
          "ruleId": "AXE-duplicate-id-aria",
          "status": "MANUAL_REVIEW",
          "message": "Needs review: IDs used in ARIA and labels must be unique. axe could not decide automatically for 1 element."
        },
        {
          "report": "contact-mobile/report.json",
          "url": "http://127.0.0.1:63707/demo-store/pages/contact",
          "device": "mobile",
          "findingId": "AXE-duplicate-id-aria-mobile-001",
          "ruleId": "AXE-duplicate-id-aria",
          "status": "MANUAL_REVIEW",
          "message": "Needs review: IDs used in ARIA and labels must be unique. axe could not decide automatically for 1 element."
        },
        {
          "report": "home-desktop/report.json",
          "url": "http://127.0.0.1:63707/demo-store/",
          "device": "desktop",
          "findingId": "AXE-duplicate-id-aria-desktop-001",
          "ruleId": "AXE-duplicate-id-aria",
          "status": "MANUAL_REVIEW",
          "message": "Needs review: IDs used in ARIA and labels must be unique. axe could not decide automatically for 1 element."
        },
        {
          "report": "home-mobile/report.json",
          "url": "http://127.0.0.1:63707/demo-store/",
          "device": "mobile",
          "findingId": "AXE-duplicate-id-aria-mobile-001",
          "ruleId": "AXE-duplicate-id-aria",
          "status": "MANUAL_REVIEW",
          "message": "Needs review: IDs used in ARIA and labels must be unique. axe could not decide automatically for 1 element."
        },
        {
          "report": "product-desktop/report.json",
          "url": "http://127.0.0.1:63707/demo-store/products/canvas-weekender-bag",
          "device": "desktop",
          "findingId": "AXE-duplicate-id-aria-desktop-001",
          "ruleId": "AXE-duplicate-id-aria",
          "status": "MANUAL_REVIEW",
          "message": "Needs review: IDs used in ARIA and labels must be unique. axe could not decide automatically for 1 element."
        },
        {
          "report": "product-mobile/report.json",
          "url": "http://127.0.0.1:63707/demo-store/products/canvas-weekender-bag",
          "device": "mobile",
          "findingId": "AXE-duplicate-id-aria-mobile-001",
          "ruleId": "AXE-duplicate-id-aria",
          "status": "MANUAL_REVIEW",
          "message": "Needs review: IDs used in ARIA and labels must be unique. axe could not decide automatically for 1 element."
        }
      ],
      "rollback": "Upload the original theme ZIP again, or restore snippets/country-localization.liquid from the theme's previous version. The fix changes only that one file.",
      "limitations": "Verified for Dawn 15.0.0 only; any other version is refused because the replaced text must match exactly. The hidden live region sr-country-search-results keeps its fixed ID: the theme script looks it up inside its own form, and no ARIA attribute refers to it. A customised theme that renders the snippet more than once without localPosition still repeats IDs; the fix cannot detect that. The fix contains a few lines derived from Shopify's Dawn theme; see NOTICE.md.",
      "notice": "# Notice\n\nThis fix changes a few lines of `snippets/country-localization.liquid` from Shopify's Dawn theme (version 15.0.0,\nhttps://github.com/Shopify/dawn), and its verification pages contain markup derived from that snippet's rendered output.\nDawn is distributed under the following license:\n\nCopyright (c) 2021-present Shopify Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, sell and/or create derivative works of the Software\nor any part thereof, and to permit persons to whom the Software is furnished to do so, subject to the following\nconditions:\n\nThe rights granted above may only be exercised to develop themes that integrate or interoperate with Shopify software or\nservices, and, if applicable, to distribute, offer for sale or otherwise make available any such themes via the Shopify\nTheme Store. All other uses of the Software are strictly prohibited.\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the\nSoftware.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
      "outcome": "APPLIED",
      "verification": {
        "ruleId": "AXE-duplicate-id-aria",
        "before": [
          {
            "ruleId": "AXE-duplicate-id-aria",
            "status": "MANUAL_REVIEW"
          }
        ],
        "after": [
          {
            "ruleId": "AXE-RUNNER",
            "status": "PASS"
          }
        ],
        "engineVersion": "0.1.0",
        "verifiedAt": "2026-11-23T08:56:03.937Z"
      }
    }
  ],
  "otherVersions": [],
  "reports": [
    {
      "fileName": "collection-desktop/report.json",
      "url": "http://127.0.0.1:63707/demo-store/collections/bags",
      "device": "desktop",
      "scannedAt": "2026-11-23T08:55:55.428Z",
      "theme": "Dawn 15.0.0",
      "linked": true
    },
    {
      "fileName": "collection-mobile/report.json",
      "url": "http://127.0.0.1:63707/demo-store/collections/bags",
      "device": "mobile",
      "scannedAt": "2026-11-23T08:55:57.968Z",
      "theme": "Dawn 15.0.0",
      "linked": true
    },
    {
      "fileName": "contact-desktop/report.json",
      "url": "http://127.0.0.1:63707/demo-store/pages/contact",
      "device": "desktop",
      "scannedAt": "2026-11-23T08:56:00.092Z",
      "theme": "Dawn 15.0.0",
      "linked": true
    },
    {
      "fileName": "contact-mobile/report.json",
      "url": "http://127.0.0.1:63707/demo-store/pages/contact",
      "device": "mobile",
      "scannedAt": "2026-11-23T08:56:02.014Z",
      "theme": "Dawn 15.0.0",
      "linked": true
    },
    {
      "fileName": "home-desktop/report.json",
      "url": "http://127.0.0.1:63707/demo-store/",
      "device": "desktop",
      "scannedAt": "2026-11-23T08:55:41.500Z",
      "theme": "Dawn 15.0.0",
      "linked": true
    },
    {
      "fileName": "home-mobile/report.json",
      "url": "http://127.0.0.1:63707/demo-store/",
      "device": "mobile",
      "scannedAt": "2026-11-23T08:55:44.595Z",
      "theme": "Dawn 15.0.0",
      "linked": true
    },
    {
      "fileName": "product-desktop/report.json",
      "url": "http://127.0.0.1:63707/demo-store/products/canvas-weekender-bag",
      "device": "desktop",
      "scannedAt": "2026-11-23T08:55:46.749Z",
      "theme": "Dawn 15.0.0",
      "linked": true
    },
    {
      "fileName": "product-mobile/report.json",
      "url": "http://127.0.0.1:63707/demo-store/products/canvas-weekender-bag",
      "device": "mobile",
      "scannedAt": "2026-11-23T08:55:50.567Z",
      "theme": "Dawn 15.0.0",
      "linked": true
    }
  ]
}
