PageSourceSearch

https://peip-eb.gob.pe/wp-content/themes/Divi-child/js/accesibilidad.js

js peip-eb.gob.pe collected 2026-10-06 20:02:31 UTC 743 bytes, 24 lines download raw bytes

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.