1// accesibilidad.js - Versión segura y única 2(function() { 3 const onSkipLinkClick = function() { 4 const hash = window.location.hash; 5 if (hash && document.querySelector(hash)) { 6 document.querySelector(hash).focus(); 7 } 8 }; 9 10 const registerAllyAction = function() { 11 // Tus acciones de accesibilidad aquà 12 console.log("Accesibilidad inicializada"); 13 }; 14 15 // Ejecutar al cargar 16 document.addEventListener('DOMContentLoaded', function() { 17 onSkipLinkClick(); 18 registerAllyAction(); 19 }); 20 21 // Exponer solo si es necesario (opcional) 22 window.onSkipLinkClick = onSkipLinkClick; 23 window.registerAllyAction = registerAllyAction; 24})();
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.