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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

www.turismo.sp.gov.br/publico/mapasite

67.2 29 117
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 13 42 267 335 412 417 429 432 640
13 <![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','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-93095256-1', 'auto'); ga('send', 'pageview'); </script>]]>
42 <![CDATA[<script type="text/javascript" src="/datafiles/suite/escritorio/aplicativo/webdesign/antescabecalho/contraste.css"> </script>]]>
267 <![CDATA[<script> try { jQuery(window).scroll(function () { var scroll = jQuery(window).scrollTop(); if (scroll >= 20) { jQuery('ul.govsph-dropdown.govsph-active').addClass('hide-dropdown'); } else { jQuery('ul.govsph-dropdown.govsph-active').removeClass('hide-dropdown'); } }); } catch (e) { console.log("Syntax Error in Custom JS") } </script>]]>
335 <![CDATA[<script> // $(function () { // $('#divFuncAcess').easyView({ // container: 'body', // increaseSelector: '#amais', // decreaseSelector: '#amenos', // normalSelector: '#anormal', // contrastSelector: '#c' // }); // $('#altocontraste').click(() => { // if(localStorage.getItem('contrasteAtivo') == undefined || localStorage.getItem('contrasteAtivo') == '0' || localStorage.getItem('contrasteAtivo') == null) { // localStorage.setItem('contrasteAtivo', '1'); // $('*:not(div#govsph-topbarGlobal div#topbarGlobal #topbarLink)').css('background-color', '#111111'); // $('*:not(div#govsph-topbarGlobal div#topbarGlobal #topbarLink)').css('color', 'white'); // } else { // localStorage.setItem('contrasteAtivo', '0'); // $('*:not(div#govsph-topbarGlobal div#topbarGlobal #topbarLink)').css('background', 'initial'); // $('*:not(div#govsph-topbarGlobal div#topbarGlobal #topbarLink)').css('color', 'initial'); // $('.RODAPE-MAPASITE').css('background', '#003399'); // $('.ESQUERDO').css('color', '#034ea2'); // } // }) // }); // Insere a classe contrast na tag body, a folha de estilho é a css/contraste.css (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); } })(); </script>]]>
412 <![CDATA[<script> var idiomas = {}; </script>]]>
417 <![CDATA[<script> var siglaIdioma = window.navigator.language.toLowerCase(); if ((siglaIdioma in idiomas) && !/idiomaDefinido=true/.exec(document.cookie)) { document.cookie = 'idiomaDefinido=true'; if (confirm("Gostaria de visualizar esse site no idioma " + idiomas[siglaIdioma].nome + "?")) { location.href = idiomas[siglaIdioma].link; } } </script>]]>
429 <![CDATA[<script type="text/javascript"> var JQry = jQuery.noConflict(); </script>]]>
432 <![CDATA[<script type="text/javascript"> var $ = jQuery.noConflict(); </script>]]>
640 <![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','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-93095256-1', 'auto'); ga('send', 'pageview'); </script>]]>