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

Sites Pertecentes a (o) SP

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 13 2605 2638 2756 2772 2790 2824 2831 2842 2849 2859 2869 2880 2890
2605 <![CDATA[<script type="text/javascript"> $('.link-arquivo').click(function () { $(this).find('i').toggleClass('fa-plus-circle fa-minus-circle'); }); $('.arquivos-count').hide(); $('.link-arquivo').on("click", function (e) { e.preventDefault(); var id = $(this).attr('data-related'); $(".arquivos-count").each(function () { $(this).hide("slow"); if ($(this).attr('id') === id) { $(this).show(); } }); }); </script>]]>
2638 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
2756 <![CDATA[<script> $(document).ready(function () { if (!localStorage.pureJavaScriptCookies) { document.querySelector(".box-cookies").classList.remove('hide'); } var acceptCookies = () => { document.querySelector(".box-cookies").classList.add('hide'); localStorage.setItem("pureJavaScriptCookies", "accept"); }; var btnCookies = document.querySelector(".btn-cookies"); btnCookies.addEventListener('click', acceptCookies); }); </script>]]>
2772 <![CDATA[<script type="text/javascript"> shortcut.add("ALT+1", function () { location.href = "../../Home"; }); shortcut.add("ALT+2", function () { location.href = "../../FaleConosco"; }); shortcut.add("ALT+3", function () { document.getElementById("txtBusca").focus(); }); shortcut.add("ALT+4", function () { location.href = "../../Pagina/Listar/61"; }); </script>]]>
2790 <![CDATA[<script> function ready(fn) { if (document.readyState !== 'loading') { fn(); } else { document.addEventListener('DOMContentLoaded', fn); } } ready(function () { accessibilityButtons(); }); $(document).ready(function () { accessibilityButtons(); }) accessibilityButtons({ font: { nameButtonIncrease: 'A+', // Default ariaLabelButtonIncrease: 'Increase Font', // Default nameButtonDecrease: 'A-', // Default ariaLabelButtonDecrease: 'Decrease Font' // Default }, contrast: { nameButtonAdd: 'Contraste', // Default ariaLabelButtonAdd: 'Contraste', // Default nameButtonRemove: 'Remover Contraste', // Default ariaLabelButtonRemove: 'Remover Contraste' // Default } }); </script>]]>
2824 <![CDATA[<script> $(".fancybox").fancybox({ "type": "image" }); </script>]]>
2831 <![CDATA[<script> $("button").click(function () { $(".check-icon").hide(); setTimeout(function () { $(".check-icon").show(); }, 10); }); </script>]]>
2842 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-117772454-1'); </script>]]>
2849 <![CDATA[<script> $(document).ready(function () { $('.dropdown-submenu a.test').on("click", function (e) { $(this).next('ul').toggle(); e.stopPropagation(); e.preventDefault(); }); }); </script>]]>
2859 <![CDATA[<script> $(function () { $("#myModal").modal('show'); $('#consulta').change(function () { $('.tipocons').hide(); $('#' + $(this).val()).show(); }); }); </script>]]>
2869 <![CDATA[<script> $(function () { $('#consulta2').change(function () { $('.tipocons2').hide(); $('#' + $(this).val()).show(); }); }); </script>]]>
2880 <![CDATA[<script> $("button").click(function () { $(".check-icon").hide(); setTimeout(function () { $(".check-icon").show(); }, 10); }); </script>]]>
2890 <![CDATA[<script> $(document).ready(function () { $('.pgwSlider').pgwSlider({ displayList: true, displayControls: false }); }); </script>]]>