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

Sites Pertecentes a (o) CE

Endereço Nota Erros Avisos

jijocadejericoacoara.ce.gov.br/informa.php

73.13 70 482
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 7 51 172 381 603 949 978 1033
51 <![CDATA[<script> var tam = 15; function mudaFonte(tipo, elemento) { if (tipo == "mais") { if (tam < 24) tam += 1; } else { if (tam > 10) tam -= 1; } document.getElementById("Noticia").style.fontSize = tam + "px"; document.getElementById("Descricao").style.fontSize = tam + "px"; } function printDiv(id, pg, url) { var oPrint, oJan; oPrint = window.document.getElementById(id).innerHTML; oJan = window.open(pg); oJan.document.write(oPrint); oJan.document.write(url); oJan.window.print(); oJan.document.close(); oJan.focus(); } // Função contraste INICIO (function() { var Contrast = { storage: 'contrastState', cssClass: 'contrast', currentState: null, check: checkContrast, getState: getContrastState, setState: setContrastState, toogle: toogleContrast, updateView: updateViewContrast }; window.toggleContrast = function() { Contrast.toogle(); }; Contrast.check(); function checkContrast() { this.updateView(); } function getContrastState() { return localStorage.getItem(this.storage) === 'true'; } function setContrastState(state) { localStorage.setItem(this.storage, '' + state); this.currentState = state; this.updateView(); } function updateViewContrast() { var body = document.body; if (this.currentState === null) this.currentState = this.getState(); if (this.currentState) body.classList.add(this.cssClass); else body.classList.remove(this.cssClass); } function toogleContrast() { this.setState(!this.currentState); } })(); // Função contraste FIM </script>]]>
172 <![CDATA[<script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'pt', autoDisplay: false, includedLanguages: 'de,es,fr,en,it', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); } </script>]]>
381 <![CDATA[<script> $(document).ready(function() { $(window).scroll(function() { if ($(this).scrollTop() > 100) { $("#top-bar").fadeOut(); $("#logo-top-bar").fadeOut(); $('#scroll').fadeIn(); } else { $("#top-bar").fadeIn(); $("#logo-top-bar").fadeIn(); $('#scroll').fadeOut(); } }); $('#scroll').click(function() { $("html, body").animate({ scrollTop: 0 }, 0); return false; }); $('#menu-acessiblidade').hide().contents().hide(); $('#btnperq').on('click', function(e) { e.preventDefault(); $('#menu-acessiblidade').slideToggle('fast', function(e) { if ($(this).is(':visible')) { $(this).contents().fadeIn(1000); } else { $(this).contents().hide(); } }); }) }); </script>]]>
603 <![CDATA[<script> shortcut.add("Alt+H", function() { window.location.assign("index.php"); }); shortcut.add("Alt+Shift+1", function() { window.location.assign("acessibilidade.php"); }); shortcut.add("Alt+9", function() { window.scrollTo(0, 0); }); shortcut.add("Alt+C", function() { window.location.href = '#ancora'; }); </script>]]>
949 <![CDATA[<script> var cookies2 = document.cookie; if (cookies2.indexOf("usuarioCookiesPm") == -1) { document.getElementById('cookie-container').style.display = "flex"; } function fechaDiv(){ document.cookie = 'usuarioCookiesPm=SIM; max-age=86400;path=/'; $.post("data_cookies.php", { usercookies : "YES" }, function(msg){ }) document.getElementById('cookie-container').style.display = "none"; } </script>]]>
978 <![CDATA[<script> $(document).ready(function() { $("#dtini").mask("99/99/9999"); $("#dtfim").mask("99/99/9999"); window.speechSynthesis.cancel(); $('#speak').click(function() { if (window.speechSynthesis.speaking === true) { if (window.speechSynthesis.paused === true) { $('#speak').html('<i class="fa fa-pause"></i>'); window.speechSynthesis.resume(); } else { $('#speak').html('<i class="fa fa-play"></i>'); window.speechSynthesis.pause(); } } else { var text = $('#speak_text').html(); var msg = new SpeechSynthesisUtterance(); var voices = window.speechSynthesis.getVoices(); msg.voice = voices[416]; msg.rate = 10 / 10; msg.pitch = 1; msg.text = text; msg.lang = 'PT-BR'; var t; msg.onend = function(e) { console.log('Finished in ' + event.elapsedTime + ' seconds.'); }; $('#speak').html('<i class="fa fa-pause"></i>'); speechSynthesis.speak(msg); } }); (function($) { $('#filter').keyup(function() { var rex = new RegExp($(this).val(), 'i'); $('.linha').hide(); $('.linha').filter(function() { return rex.test($(this).text()); }).show(); }) }(jQuery)); }); </script>]]>
1033 <![CDATA[<script> $(function() { /* Custom buttons */ $('#font-setting-buttons').easyView({ container: 'body, #rels, #tablink, .row, #Noticia', increaseSelector: '.increase-me', decreaseSelector: '.decrease-me', normalSelector: '.reset-me', contrastSelector: '.change-me' }); }); </script>]]>