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

10 melhores

Lista dos 10 sites com melhor média de nota do ASES. Essa ordem não deve ser considerada como método de comparação entre sites, devido a características e número de páginas diferentes, mas serve como referência de boas práticas adotadas. Utilize os filtros disponíveis para selecionar os sítios pela quantidade de páginas *.

Endereço Nota Erros Avisos

www.transparencia.sp.gov.br/Home/AvalServ

93.1 7 124
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 9 54 59 79 107 621 693 743 764 793
54 <![CDATA[<script> window.console = window.console || function (t) { }; </script>]]>
59 <![CDATA[<script> if (document.location.search.match(/type=embed/gi)) { window.parent.postMessage("resize", "*"); } </script>]]>
79 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-GT3CSRE0S3'); </script>]]>
107 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
621 <![CDATA[<script> $(document).ready(function () { $("#img-captcha").off('click', resetCaptchaImage); $("#img-captcha").on('click', resetCaptchaImage); }); function resetCaptchaImage() { let d = new Date(); var url = '/Home/CaptchaImage'; $("#img-captcha").attr("src", url + "?" + d.getTime()); }; function VerificaAnonimato(){ if(document.getElementById("Anonimo").checked == true){ document.getElementById("Nome").required = false; document.getElementById("DivNome").style.display = "none"; document.getElementById("Email").required = false; document.getElementById("DivEmail").style.display = "none"; }else{ document.getElementById("Nome").required = true; document.getElementById("DivNome").style.display = "block"; document.getElementById("Email").required = true; document.getElementById("DivEmail").style.display = "block"; } } $("#btnEnviar").on("click", function () { var form = $(this).closest('form')[0]; if (form.checkValidity()) { $(".loading").show(); $(this).prop("disabled", true); form.submit(); } }); function VerificarConteudo(valor) { if (valor == "Sim") { document.getElementById("Encontrou_Conteudo_Nao").required = false; $("#naoencontrouvalor").addClass("hide"); } else { $("#naoencontrouvalor").removeClass("hide"); document.getElementById("Encontrou_Conteudo_Nao").required = true; } } </script>]]>
693 <![CDATA[<script> $(function () { /* Isotope Gallery */ // init isotope var $gallery = $(".tm-gallery").isotope({ itemSelector: ".tm-gallery-item", layoutMode: "fitRows" }); // layout Isotope after each image loads $gallery.imagesLoaded().progress(function () { $gallery.isotope("layout"); }); $(".filters-button-group").on("click", "a", function () { var filterValue = $(this).attr("data-filter"); $gallery.isotope({ filter: filterValue }); console.log("Filter value: " + filterValue); }); /* Tabs */ $(".tabgroup > div").hide(); $(".tabgroup > div:first-of-type").show(); $(".tabs a").click(function (e) { e.preventDefault(); var $this = $(this), tabgroup = "#" + $this.parents(".tabs").data("tabgroup"), others = $this .closest("li") .siblings() .children("a"), target = $this.attr("href"); others.removeClass("active"); $this.addClass("active"); // Scroll to tab content (for mobile) if ($(window).width() < 992) { $("html, body").animate( { scrollTop: $("#tmGallery").offset().top }, 200 ); } }); }); </script>]]>
743 <![CDATA[<script> var acc = document.getElementsByClassName("accordionService"); var i; for (i = 0; i < acc.length; i++) { acc[i].addEventListener("click", function () { this.classList.toggle("activeService"); var panel = this.nextElementSibling; if (panel.style.maxHeight) { panel.style.maxHeight = null; } else { panel.style.maxHeight = panel.scrollHeight + "px"; } }); } </script>]]>
764 <![CDATA[<script type="text/javascript"> $(document).ready(function () { $(".iframe").colorbox({ iframe: true, width: "90%", height: "90%" }); $(".group1").colorbox({ rel: 'group1', slideshow: true }); }); // Make ColorBox responsive jQuery.colorbox.settings.maxWidth = '1640px'; jQuery.colorbox.settings.maxHeight = '960px'; // ColorBox resize function var resizeTimer; function resizeColorBox() { if (resizeTimer) clearTimeout(resizeTimer); resizeTimer = setTimeout(function () { if (jQuery('#cboxOverlay').is(':visible')) { jQuery.colorbox.load(true); } }, 300); } // Resize ColorBox when resizing window or changing mobile device orientation jQuery(window).resize(resizeColorBox); window.addEventListener("orientationchange", resizeColorBox, false); </script>]]>
793 <![CDATA[<script> document.addEventListener("DOMContentLoaded", function () { // make it as accordion for smaller screens if (window.innerWidth > 992) { document.querySelectorAll('.navbar .nav-item').forEach(function (everyitem) { everyitem.addEventListener('mouseover', function (e) { let el_link = this.querySelector('a[data-bs-toggle]'); if (el_link != null) { let nextEl = el_link.nextElementSibling; el_link.classList.add('show'); nextEl.classList.add('show'); } }); everyitem.addEventListener('mouseleave', function (e) { let el_link = this.querySelector('a[data-bs-toggle]'); if (el_link != null) { let nextEl = el_link.nextElementSibling; el_link.classList.remove('show'); nextEl.classList.remove('show'); } }) }); } // end if innerWidth }); // DOMContentLoaded end </script>]]>