Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Pertecentes a (o) BA

Recomendações Avaliadas
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 4 46 341 653 702
46 <![CDATA[<script> (function(d) { var s = d.createElement("script"); s.setAttribute("data-account", "xK9GVFqwku"); s.setAttribute("src", "https://cdn.userway.org/widget.js"); (d.body || d.head).appendChild(s); })(document) </script>]]>
341 <![CDATA[<script> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.8"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>]]>
653 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
702 <![CDATA[<script> function mostrarPreferencias() { const att = ".cookies-pref"; const pref = document.querySelector(att).style.display; if (!pref) { document.querySelector(att).style.display = "block"; } else { if (pref == "none") { document.querySelector(att).style.display = "block"; } else { document.querySelector(att).style.display = "none"; } } } function cookies(functions) { const container = document.querySelector('.cookies-container'); const save = document.querySelector('.cookies-save'); if (!container || !save) return null; const localPref = JSON.parse(window.localStorage.getItem('cookies-pref')); if (localPref) activateFunctions(localPref); function getFormPref() { return [...document.querySelectorAll('[data-function]')] .filter((el) => el.checked) .map((el) => el.getAttribute('data-function')); } function activateFunctions(pref) { pref.forEach((f) => functions[f]()); container.style.display = 'none'; window.localStorage.setItem('cookies-pref', JSON.stringify(pref)); } function handleSave() { const pref = getFormPref(); activateFunctions(pref); } save.addEventListener('click', handleSave); } function Marketing() { } function analytics() { window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'G-VCHQ7BPXNM'); } cookies({Marketing,analytics,}); </script>]]>