PageSourceSearch

https://www.barkerwellness.com/cdn/shop/t/34/assets/accessibility-fix.js?v=166235015048194327071771433698

js barkerwellness.com collected 2026-10-02 18:09:24 UTC 3,004 bytes, 1 lines download raw bytes

1if(document.addEventListener("DOMContentLoaded",function(){function t(){document.querySelectorAll('[aria-hidden="true"]').forEach(t=>{t.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"]), [contenteditable="true"]').length>0&&(t.removeAttribute("aria-hidden"),console.warn("Removed aria-hidden from element containing focusable descendants:",t))})}function n(){const t=document.querySelector(".open-cart"),n=document.querySelector("#cartCount");if(t&&n){const e=n.textContent.trim();t.setAttribute("aria-label",`Open shopping cart (${e} items)`)}}t(),n(),document.querySelectorAll('[aria-haspopup="true"]').forEach(t=>{t.addEventListener("click",function(t){const n="true"===this.getAttribute("aria-expanded");this.setAttribute("aria-expanded",!n)}),t.addEventListener("keydown",function(t){"Escape"===t.key&&this.setAttribute("aria-expanded","false")})}),function(){const t=document.querySelector(".open-fs");t&&t.addEventListener("click",function(){const t="true"===this.getAttribute("aria-expanded");this.setAttribute("aria-expanded",!t)})}(),function(){if(!document.querySelector(".skip-links")){const t=document.createElement("div");t.className="skip-links",t.innerHTML='\n        <a href="#main-content" class="skip-link visually-hidden" style="display:none;">Skip to main content</a>\n        <a href="#top-menu" class="skip-link visually-hidden" style="display:none;">Skip to navigation</a>\n      ',document.body.insertBefore(t,document.body.firstChild)}}(),new MutationObserver(function(n){n.forEach(function(n){"childList"!==n.type&&"attributes"!==n.type||setTimeout(t,100)})}).observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["aria-hidden"]}),window.addEventListener&&window.addEventListener("cart:updated",n)}),!document.querySelector("#accessibility-styles")){const t=document.createElement("style");t.id="accessibility-styles",t.textContent="\n    .skip-links {\n      position: absolute;\n      top: -40px;\n      left: 6px;\n      z-index: 999999;\n    }\n    \n    .skip-link {\n      position: absolute;\n      top: -40px;\n      left: 6px;\n      padding: 8px;\n      background: #000;\n      color: #fff;\n      text-decoration: none;\n      z-index: 999999;\n      border-radius: 4px;\n    }\n    \n    .skip-link:focus {\n      top: 6px;\n    }\n    \n    /* Ensure sufficient color contrast */\n    button, a {\n      outline: 2px solid transparent;\n      outline-offset: 2px;\n    }\n    \n    button:focus-visible, a:focus-visible {\n      outline: 2px solid #007cba;\n      outline-offset: 2px;\n    }\n    \n    /* Screen reader only text */\n    .sr-only {\n      position: absolute !important;\n      width: 1px !important;\n      height: 1px !important;\n      padding: 0 !important;\n      margin: -1px !important;\n      overflow: hidden !important;\n      clip: rect(0, 0, 0, 0) !important;\n      white-space: nowrap !important;\n      border: 0 !important;\n    }\n  ",document.head.appendChild(t)}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.