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

Sites Pertecentes a (o) RS

Endereço Nota Erros Avisos

camarasa.rs.gov.br/documentos/9736

76.33 9 74
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 5 26 107 235 497 500
26 <![CDATA[<script> (function() { var cx = '015333868184618214903:8svcoxdpj80'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script>]]>
107 <![CDATA[<script> document.write('<gcse:searchbox-only></gcse:searchbox-only>'); </script>]]>
235 <![CDATA[<script> var scrollpos = window.scrollY; var header = document.getElementById("header"); var menu = document.querySelectorAll(".menu-container"); var navcontent = document.getElementById("nav-content"); var navaction = document.getElementById("navAction"); var brandname = document.getElementById("brandname"); var toToggle = document.querySelectorAll(".toggleColour"); document.addEventListener("scroll", function () { /*Apply classes for slide in bar*/ scrollpos = window.scrollY; if (scrollpos > 100) { if (!navMenuDiv.classList.contains("expanded")) { menu[1].classList.add("fixed") } /*header.classList.add("bg-white"); navaction.classList.remove("bg-white"); navaction.classList.add("gradient"); navaction.classList.remove("text-gray-800"); navaction.classList.add("text-white"); //Use to switch toggleColour colours for (var i = 0; i < toToggle.length; i++) { toToggle[i].classList.add("text-gray-800"); toToggle[i].classList.remove("text-white"); } header.classList.add("shadow"); navcontent.classList.remove("bg-gray-100"); navcontent.classList.add("bg-white");*/ } else { menu[1].classList.remove("fixed"); /*header.classList.remove("bg-white"); navaction.classList.remove("gradient"); navaction.classList.add("bg-white"); navaction.classList.remove("text-white"); navaction.classList.add("text-gray-800");*/ //Use to switch toggleColour colours /*for (var i = 0; i < toToggle.length; i++) { toToggle[i].classList.add("text-white"); toToggle[i].classList.remove("text-gray-800"); } header.classList.remove("shadow"); navcontent.classList.remove("bg-white"); navcontent.classList.add("bg-gray-100");*/ } }); /*Toggle dropdown list*/ /*https://gist.github.com/slavapas/593e8e50cf4cc16ac972afcbad4f70c8*/ var navMenuDiv = document.getElementById("nav-content"); var navMenu = document.getElementById("nav-toggle"); document.onclick = check; function check(e) { var target = (e && e.target) || (event && event.srcElement); //Nav Menu if (!checkParent(target, navMenuDiv)) { // click NOT on the menu if (checkParent(target, navMenu)) { // click on the link if (navMenuDiv.classList.contains("hidden")) { navMenuDiv.classList.remove("hidden"); navMenuDiv.classList.add("expanded"); } else { navMenuDiv.classList.add("hidden"); navMenuDiv.classList.remove("expanded"); } } else { // click both outside link and outside menu, hide menu navMenuDiv.classList.add("hidden"); navMenuDiv.classList.remove("expanded"); } } } function checkParent(t, elm) { while (t.parentNode) { if (t == elm) { return true; } t = t.parentNode; } return false; } </script>]]>
497 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
500 <![CDATA[<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-63305672-1', 'auto'); ga('send', 'pageview'); </script>]]>