1// START GENAI@CHATGPT4 2 3const navigationHeader = document.querySelector('#vs-navigation-header'); 4 5navigationHeader.addEventListener('keydown', (event) => { 6 if (event.key === 'Tab') { 7 setTimeout(() => { 8 if (!navigationHeader.contains(document.activeElement) && window.matchMedia("(max-width: 768px)").matches && document.querySelector('nav').classList.contains("vs-active")) { 9 const tabableElements = navigationHeader.querySelectorAll('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])'); 10 const secondTabableElement = tabableElements[1]; 11 secondTabableElement.focus(); 12 } 13 14 }, 0); 15 16 } 17 18}); 19 20// END GENAI@CHATGPT4
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.