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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

www.stm.sp.gov.br/?tag=virada-cultural

94.88 33 150
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 18 19 80 89 97 311 408 436 500 680 696 702 708 713 717 732 740 771 784
19 <![CDATA[<script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.stm.sp.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.3.1"}}; /*! This file is auto-generated */ !function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c\udfff","\ud83e\udef1\ud83c\udffb\u200b\ud83e\udef2\ud83c\udfff")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings); </script>]]>
80 <![CDATA[<script id="jquery-ui-datepicker-js-after" type="text/javascript"> jQuery(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Fechar","currentText":"Hoje","monthNames":["janeiro","fevereiro","mar\u00e7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],"monthNamesShort":["jan","fev","mar","abr","maio","jun","jul","ago","set","out","nov","dez"],"nextText":"Seguinte","prevText":"Anterior","dayNames":["domingo","segunda-feira","ter\u00e7a-feira","quarta-feira","quinta-feira","sexta-feira","s\u00e1bado"],"dayNamesShort":["dom","seg","ter","qua","qui","sex","s\u00e1b"],"dayNamesMin":["D","S","T","Q","Q","S","S"],"dateFormat":"d \\dd\\e MM \\dd\\e yy","firstDay":0,"isRTL":false});}); </script>]]>
89 <![CDATA[<script type='text/javascript' id='events-manager-js-extra'> /* <![CDATA[ */ var EM = {"ajaxurl":"https:\/\/www.stm.sp.gov.br\/wp-admin\/admin-ajax.php","locationajaxurl":"https:\/\/www.stm.sp.gov.br\/wp-admin\/admin-ajax.php?action=locations_search","firstDay":"0","locale":"pt","dateFormat":"yy-mm-dd","ui_css":"https:\/\/www.stm.sp.gov.br\/wp-content\/plugins\/events-manager\/includes\/css\/jquery-ui\/build.css","show24hours":"1","is_ssl":"1","autocomplete_limit":"10","calendar":{"breakpoints":{"small":560,"medium":908,"large":false}},"datepicker":{"format":"d\/m\/Y","locale":"pt"},"search":{"breakpoints":{"small":650,"medium":850,"full":false}},"bookingInProgress":"Please wait while the booking is being submitted.","tickets_save":"Save Ticket","bookingajaxurl":"https:\/\/www.stm.sp.gov.br\/wp-admin\/admin-ajax.php","bookings_export_save":"Export Bookings","bookings_settings_save":"Save Settings","booking_delete":"Are you sure you want to delete?","booking_offset":"30","bb_full":"Sold Out","bb_book":"Book Now","bb_booking":"Booking...","bb_booked":"Booking Submitted","bb_error":"Booking Error. Try again?","bb_cancel":"Cancel","bb_canceling":"Canceling...","bb_cancelled":"Cancelled","bb_cancel_error":"Cancellation Error. Try again?","txt_search":"Search","txt_searching":"Searching...","txt_loading":"Loading..."}; /* ]]> */ </script>]]>
97 <![CDATA[<script id="vlibrasjs-js-after" type="text/javascript"> try{vlibrasjs.load({ async: true });}catch(e){} </script>]]>
311 <![CDATA[<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position":1, "item": { "@id": "#", "name": "Home" } }, { "@type": "ListItem", "position":2, "item": { "@id": "https://www.stm.sp.gov.br", "name": "Home" } }, { "@type": "ListItem", "position":3, "item": { "@id": "#", "name": "Tag" } }, { "@type": "ListItem", "position":4, "item": { "@id": "https://www.stm.sp.gov.br/?tag=virada-cultural", "name": "Virada Cultural" } } ] } </script>]]>
408 <![CDATA[<script> </script>]]>
436 <![CDATA[<script> jQuery( document ).ready(function($) { function carregaAlertas() { $(".alertas ul").children().remove(); $.ajax({ type: "GET", dataType: "xml", url: "http://apps.cptm.sp.gov.br:8080/AppMobileService/api/DiretoCPTMV2/", crossDomain : true, xhrFields: { withCredentials: true }, error: function (e) { console.log("XML reading Failed: ", e); }, success: function (response) { $(response).find("LinhasMetropolitanasModel").each(function () { let linha = 'Linha' + $(this).find('LinhaId').text() + ' - '+ $(this).find('Nome').text(); console.log(linha); let status = $(this).find('Status').text(); if (status == "Operação Normal") { let cor = 'verde'; } else if(status == "Operação Parcial" || status == "Velocidade Reduzida" ) { let cor = 'amarelo'; let detalhamento = $(this).find('Descricao').text(); } else if(status == "Paralisada" || status == "Dados Indisponíveis" || !status ) { let cor = 'vermelho'; let detalhamento = $(this).find('Descricao').text(); } else if(status == "Operações Encerradas" ) { let cor = 'cinza'; let detalhamento = $(this).find('Descricao').text(); } // add content to the HTML $(".alertas ul").append('<li></li>'); $(".alertas ul li").append('<strong>' + linha + '</strong>'); $(".alertas ul li").append('<p class=' + cor + '>' + status + '</p>'); if(detalhamento) { $(".alertas ul li").append('<p class="descricao">' + detalhamento + '</p>'); } }); } }); } carregaAlertas(); }); </script>]]>
500 <![CDATA[<script> jQuery( document ).ready(function($) { function carregaAlertas() { $(".alertas ul").children().remove(); $.ajax({ type: "GET", dataType: "xml", url: "http://apps.cptm.sp.gov.br:8080/AppMobileService/api/DiretoCPTMV2/", crossDomain : true, xhrFields: { withCredentials: true }, error: function (e) { console.log("XML reading Failed: ", e); }, success: function (response) { $(response).find("LinhasMetropolitanasModel").each(function () { let linha = 'Linha' + $(this).find('LinhaId').text() + ' - '+ $(this).find('Nome').text(); console.log(linha); let status = $(this).find('Status').text(); if (status == "Operação Normal") { let cor = 'verde'; } else if(status == "Operação Parcial" || status == "Velocidade Reduzida" ) { let cor = 'amarelo'; let detalhamento = $(this).find('Descricao').text(); } else if(status == "Paralisada" || status == "Dados Indisponíveis" || !status ) { let cor = 'vermelho'; let detalhamento = $(this).find('Descricao').text(); } else if(status == "Operações Encerradas" ) { let cor = 'cinza'; let detalhamento = $(this).find('Descricao').text(); } // add content to the HTML $(".alertas ul").append('<li></li>'); $(".alertas ul li").append('<strong>' + linha + '</strong>'); $(".alertas ul li").append('<p class=' + cor + '>' + status + '</p>'); if(detalhamento) { $(".alertas ul li").append('<p class="descricao">' + detalhamento + '</p>'); } }); } }); } carregaAlertas(); }); </script>]]>
680 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
696 <![CDATA[<script type='text/javascript' id='contact-form-7-js-extra'> /* <![CDATA[ */ var wpcf7 = {"api":{"root":"https:\/\/www.stm.sp.gov.br\/index.php?rest_route=\/","namespace":"contact-form-7\/v1"}}; /* ]]> */ </script>]]>
702 <![CDATA[<script id="collapseomatic-js-js-before" type="text/javascript"> const com_options = {"colomatduration":"fast","colomatslideEffect":"slideFade","colomatpauseInit":"","colomattouchstart":""} </script>]]>
708 <![CDATA[<script type='text/javascript' id='dlm-xhr-js-extra'> /* <![CDATA[ */ var dlmXHRtranslations = {"error":"An error occurred while trying to download the file. Please try again."}; /* ]]> */ </script>]]>
713 <![CDATA[<script id="dlm-xhr-js-before" type="text/javascript"> const dlmXHR = {"xhr_links":{"class":["download-link","download-button"]},"prevent_duplicates":true,"ajaxUrl":"https:\/\/www.stm.sp.gov.br\/wp-admin\/admin-ajax.php","nonce":"aeee2ee169"}; dlmXHRinstance = {}; const dlmXHRGlobalLinks = "http://www.stm.sp.gov.br?download"; dlmXHRgif = "https://www.stm.sp.gov.br/wp-includes/images/spinner.gif" </script>]]>
717 <![CDATA[<script type='text/javascript' id='email-before-download-js-extra'> /* <![CDATA[ */ var ebd_inline = {"ajaxurl":"https:\/\/www.stm.sp.gov.br\/wp-admin\/admin-ajax.php","ajax_nonce":"197b62427b"}; /* ]]> */ </script>]]>
732 <![CDATA[<script type='text/javascript' id='evcal_ajax_handle-js-extra'> /* <![CDATA[ */ var the_ajax_script = {"ajaxurl":"https:\/\/www.stm.sp.gov.br\/wp-admin\/admin-ajax.php","rurl":"https:\/\/www.stm.sp.gov.br\/index.php?rest_route=\/","postnonce":"ded251eb86","ajax_method":"ajax","evo_v":"2.2.1"}; var evo_general_params = {"ajaxurl":"https:\/\/www.stm.sp.gov.br\/wp-admin\/admin-ajax.php","evo_ajax_url":"\/?evo-ajax=%%endpoint%%","rurl":"https:\/\/www.stm.sp.gov.br\/index.php?rest_route=\/","n":"ded251eb86","ajax_method":"ajax","evo_v":"2.2.1","text":[]}; /* ]]> */ </script>]]>
740 <![CDATA[<script id="jquery-fancybox-js-after" type="text/javascript"> var fb_timeout, fb_opts={'overlayShow':true,'hideOnOverlayClick':true,'overlayColor':'#000','showCloseButton':true,'margin':20,'enableEscapeButton':true,'autoScale':true }; if(typeof easy_fancybox_handler==='undefined'){ var easy_fancybox_handler=function(){ jQuery([".nolightbox","a.wp-block-fileesc_html__button","a.pin-it-button","a[href*='pinterest.com\/pin\/create']","a[href*='facebook.com\/share']","a[href*='twitter.com\/share']"].join(',')).addClass('nofancybox'); jQuery('a.fancybox-close').on('click',function(e){e.preventDefault();jQuery.fancybox.close()}); /* IMG */ var fb_IMG_select=jQuery('a[href*=".jpg" i]:not(.nofancybox,li.nofancybox>a),area[href*=".jpg" i]:not(.nofancybox),a[href*=".jpeg" i]:not(.nofancybox,li.nofancybox>a),area[href*=".jpeg" i]:not(.nofancybox),a[href*=".png" i]:not(.nofancybox,li.nofancybox>a),area[href*=".png" i]:not(.nofancybox),a[href*=".webp" i]:not(.nofancybox,li.nofancybox>a),area[href*=".webp" i]:not(.nofancybox)'); fb_IMG_select.addClass('fancybox image'); var fb_IMG_sections=jQuery('.gallery,.wp-block-gallery,.tiled-gallery,.wp-block-jetpack-tiled-gallery'); fb_IMG_sections.each(function(){jQuery(this).find(fb_IMG_select).attr('rel','gallery-'+fb_IMG_sections.index(this));}); jQuery('a.fancybox,area.fancybox,.fancybox>a').each(function(){jQuery(this).fancybox(jQuery.extend(true,{},fb_opts,{'type':'image','transitionIn':'elastic','easingIn':'easeOutBack','transitionOut':'elastic','easingOut':'easeInBack','opacity':false,'hideOnContentClick':false,'titleShow':false,'titlePosition':'over','titleFromAlt':true,'showNavArrows':true,'enableKeyboardNav':true,'cyclic':true}))}); /* Inline */ jQuery('a.fancybox-inline,area.fancybox-inline,.fancybox-inline>a').each(function(){jQuery(this).fancybox(jQuery.extend(true,{},fb_opts,{'type':'inline','autoDimensions':true,'scrolling':'no','easingIn':'easeOutBack','easingOut':'easeInBack','opacity':false,'hideOnContentClick':false,'titleShow':false}))}); /* YouTube */ jQuery('a.fancybox-youtube,area.fancybox-youtube,.fancybox-youtube>a').each(function(){jQuery(this).fancybox(jQuery.extend(true,{},fb_opts,{'type':'iframe','width':640,'height':360,'keepRatio':1,'titleShow':false,'titlePosition':'float','titleFromAlt':true,'onStart':function(a,i,o){var splitOn=a[i].href.indexOf("?");var urlParms=(splitOn>-1)?a[i].href.substring(splitOn):"";o.allowfullscreen=(urlParms.indexOf("fs=0")>-1)?false:true;o.href=a[i].href.replace(/https?:\/\/(?:www\.)?youtu(?:\.be\/([^\?]+)\??|be\.com\/watch\?(.*(?=v=))v=([^&]+))(.*)/gi,"https://www.youtube.com/embed/$1$3?$2$4&autoplay=1");}}))}); /* Vimeo */ jQuery('a[href*="vimeo.com/" i],area[href*="vimeo.com/" i]').filter(function(){return this.href.match(/\/(?:[0-9]+|video\/)/);}).not('.nofancybox,li.nofancybox>a').addClass('fancybox-vimeo'); jQuery('a.fancybox-vimeo,area.fancybox-vimeo,.fancybox-vimeo>a').each(function(){jQuery(this).fancybox(jQuery.extend(true,{},fb_opts,{'type':'iframe','width':500,'height':281,'keepRatio':1,'titleShow':false,'titlePosition':'float','titleFromAlt':true,'onStart':function(a,i,o){var splitOn=a[i].href.indexOf("?");var urlParms=(splitOn>-1)?a[i].href.substring(splitOn):"";o.allowfullscreen=(urlParms.indexOf("fullscreen=0")>-1)?false:true;o.href=a[i].href.replace(/https?:\/\/(?:www\.)?vimeo\.com\/([0-9]+)\??(.*)/gi,"https://player.vimeo.com/video/$1?$2&autoplay=1");}}))}); /* Dailymotion */ jQuery('a[href*="dailymotion.com/" i],area[href*="dailymotion.com/" i]').filter(function(){return this.href.match(/\/video\//);}).not('.nofancybox,li.nofancybox>a').addClass('fancybox-dailymotion'); jQuery('a.fancybox-dailymotion,area.fancybox-dailymotion,.fancybox-dailymotion>a').each(function(){jQuery(this).fancybox(jQuery.extend(true,{},fb_opts,{'type':'iframe','width':560,'height':315,'keepRatio':1,'titleShow':false,'titlePosition':'float','titleFromAlt':true,'onStart':function(a,i,o){var splitOn=a[i].href.indexOf("?");var urlParms=(splitOn>-1)?a[i].href.substring(splitOn):"";o.allowfullscreen=(urlParms.indexOf("fullscreen=0")>-1)?false:true;o.href=a[i].href.replace(/^https?:\/\/(?:www\.)?dailymotion.com\/video\/([^\?]+)(.*)/gi,"https://www.dailymotion.com/embed/video/$1?$2&autoplay=1");}}))}); /* iFrame */ jQuery('a.fancybox-iframe,area.fancybox-iframe,.fancybox-iframe>a').each(function(){jQuery(this).fancybox(jQuery.extend(true,{},fb_opts,{'type':'iframe','width':'70%','height':'90%','titleShow':false,'titlePosition':'float','titleFromAlt':true,'allowfullscreen':false}))}); };}; var easy_fancybox_auto=function(){setTimeout(function(){jQuery('a#fancybox-auto,#fancybox-auto>a').first().trigger('click')},1000);}; jQuery(easy_fancybox_handler);jQuery(document).on('post-load',easy_fancybox_handler); jQuery(easy_fancybox_auto); </script>]]>
771 <![CDATA[<script type='text/javascript' id='megamenu-js-extra'> /* <![CDATA[ */ var megamenu = {"timeout":"300","interval":"100"}; /* ]]> */ </script>]]>
784 <![CDATA[<script> var post_grid_vars = {"siteUrl":"https:\/\/www.stm.sp.gov.br"} </script>]]>