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

Sites Pertecentes a (o) PE

Endereço Nota Erros Avisos

afranio.pe.gov.br/faq/

84.98 45 223
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 16 88 96 109 176 248 706 715 885 891 895 917 926
16 <![CDATA[<script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/afranio.pe.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.9.7"}}; /*! This file is auto-generated */ !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([10084,65039,8205,55357,56613],[10084,65039,8203,55357,56613])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script>]]>
88 <![CDATA[<script type='text/javascript' id='igsv-datatables-js-extra'> /* <![CDATA[ */ var igsv_plugin_vars = {"lang_dir":"https:\/\/afranio.pe.gov.br\/wp-content\/plugins\/inline-google-spreadsheet-viewer\/languages","datatables_classes":".igsv-table:not(.no-datatables)","datatables_defaults_object":{"dom":"B<'clear'>lfrtip","buttons":["colvis","copy","csv","excel","pdf","print"]}}; /* ]]> */ </script>]]>
96 <![CDATA[<script type='text/javascript' id='sdm-scripts-js-extra'> /* <![CDATA[ */ var sdm_ajax_script = {"ajaxurl":"https:\/\/afranio.pe.gov.br\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script>]]>
109 <![CDATA[<script type="text/javascript">//<![CDATA[ function external_links_in_new_windows_loop() { if (!document.links) { document.links = document.getElementsByTagName('a'); } var change_link = false; var force = ''; var ignore = ''; for (var t=0; t<document.links.length; t++) { var all_links = document.links[t]; change_link = false; if(document.links[t].hasAttribute('onClick') == false) { // forced if the address starts with http (or also https), but does not link to the current domain if(all_links.href.search(/^http/) != -1 && all_links.href.search('afranio.pe.gov.br') == -1 && all_links.href.search(/^#/) == -1) { // console.log('Changed ' + all_links.href); change_link = true; } if(force != '' && all_links.href.search(force) != -1) { // forced // console.log('force ' + all_links.href); change_link = true; } if(ignore != '' && all_links.href.search(ignore) != -1) { // console.log('ignore ' + all_links.href); // ignored change_link = false; } if(change_link == true) { // console.log('Changed ' + all_links.href); document.links[t].setAttribute('onClick', 'javascript:window.open(\'' + all_links.href.replace(/'/g, '') + '\', \'_blank\', \'noopener\'); return false;'); document.links[t].removeAttribute('target'); } } } } // Load function external_links_in_new_windows_load(func) { var oldonload = window.onload; if (typeof window.onload != 'function'){ window.onload = func; } else { window.onload = function(){ oldonload(); func(); } } } external_links_in_new_windows_load(external_links_in_new_windows_loop); //]]></script>]]>
176 <![CDATA[<script type="text/javascript"> var root = document.getElementsByTagName( "html" )[0]; root.setAttribute( "class", "js" ); </script>]]>
248 <![CDATA[<script type="text/javascript"> (function(window, document) { if(navigator.userAgent.match(/(Android|iPod|iPhone|iPad|BlackBerry|IEMobile|Opera Mini)/)) { document.body.className += " using-mobile-browser mobile "; } if( !("ontouchstart" in window) ) { var body = document.querySelector("body"); var winW = window.innerWidth; var bodyW = body.clientWidth; if (winW > bodyW + 4) { body.setAttribute("style", "--scroll-bar-w: " + (winW - bodyW - 4) + "px"); } else { body.setAttribute("style", "--scroll-bar-w: 0px"); } } })(window, document); </script>]]>
706 <![CDATA[<script type="text/javascript"> jQuery( document ).ready(function() { jQuery.RealAccessability({ hideOnScroll: false }); }); <!-- /END --> </script>]]>
715 <![CDATA[<script type="text/javascript"> function determineEnglish() { var body = document.body; var textContent = body.textContent || body.innerText; var textContent = textContent.replace(/\n/g," "); var textContent = textContent.replace(/\r/g," "); var textContent = textContent.replace(/\t/g," "); var textContent = textContent.replace(/ /g,""); var textLeft = textContent.replace(/\W+/g,""); var oldc = textContent.length; var newc = textLeft.length; var ratio = newc/oldc; if(ratio>.8) { return "english"; } else { return "other"; } } window.accPlayerStatus = "uninit"; if(responsiveVoice.voiceSupport() && determineEnglish()=="english") { var obj = document.getElementById("btnAccPlay"); obj.style.cursor="pointer"; } else { document.getElementById("real-accessability-player").style.display="none"; } if(navigator.userAgent.indexOf("OPR")!=-1) { document.getElementById("real-accessability-player").style.display="none"; } function accPlayer(btnType) { // TURN ALL TO GRAY var playObj = document.getElementById("btnAccPlay"); var pauseObj = document.getElementById("btnAccPause"); var stopObj = document.getElementById("btnAccStop"); if(btnType=="play") { if(window.accPlayerStatus=="uninit") { // CHANGE STATUS TO PLAYING window.accPlayerStatus = "playing"; // LOAD THE PAGE CONTENT ALONE var u = location.href; var s = document.createElement("script"); s.setAttribute("type","text/javascript") s.src = "//508fi.org/js/speech.php?u="+encodeURIComponent(u); document.getElementsByTagName("head")[0].appendChild(s); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("blue","gray"); stopObj.src = stopObj.src.replace("gray","red"); pauseObj.src = pauseObj.src.replace("gray","blue"); } else if(window.accPlayerStatus=="playing") { } else if(window.accPlayerStatus=="paused") { // CHANGE STATUS TO PLAYING window.accPlayerStatus = "playing"; // RESUME PLAYING responsiveVoice.resume(); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("blue","gray"); stopObj.src = stopObj.src.replace("gray","red"); pauseObj.src = pauseObj.src.replace("gray","blue"); } else if(window.accPlayerStatus=="stopped") { // CHANGE STATUS TO PLAYING window.accPlayerStatus = "playing"; // LOAD THE PAGE CONTENT ALONE var u = location.href; var s = document.createElement("script"); s.setAttribute("type","text/javascript") s.src = "//508fi.org/js/speech.php?u="+encodeURIComponent(u); document.getElementsByTagName("head")[0].appendChild(s); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("blue","gray"); stopObj.src = stopObj.src.replace("gray","red"); pauseObj.src = pauseObj.src.replace("gray","blue"); } else { } } else if(btnType=="pause") { if(window.accPlayerStatus=="uninit") { } else if(window.accPlayerStatus=="playing") { // CHANGE STATUS TO PLAYING window.accPlayerStatus = "paused"; // PAUSE READING responsiveVoice.pause(); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("gray","blue"); stopObj.src = stopObj.src.replace("gray","red"); pauseObj.src = pauseObj.src.replace("blue","gray"); } else if(window.accPlayerStatus=="paused") { } else if(window.accPlayerStatus=="stopped") { } else { } } else if(btnType=="stop") { if(window.accPlayerStatus=="uninit") { } else if(window.accPlayerStatus=="playing") { // STOP READING responsiveVoice.cancel(); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("gray","blue"); stopObj.src = stopObj.src.replace("red","gray"); pauseObj.src = pauseObj.src.replace("blue","gray"); } else if(window.accPlayerStatus=="paused") { // STOP READING responsiveVoice.cancel(); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("gray","blue"); stopObj.src = stopObj.src.replace("red","gray"); pauseObj.src = pauseObj.src.replace("blue","gray"); } else if(window.accPlayerStatus=="stopped") { } else {} } else {} } </script>]]>
885 <![CDATA[<script> ( function ( body ) { 'use strict'; body.className = body.className.replace( /\btribe-no-js\b/, 'tribe-js' ); } )( document.body ); </script>]]>
891 <![CDATA[<script type='text/javascript'> /* <![CDATA[ */var tribe_l10n_datatables = {"aria":{"sort_ascending":": activate to sort column ascending","sort_descending":": activate to sort column descending"},"length_menu":"Show _MENU_ entries","empty_table":"No data available in table","info":"Showing _START_ to _END_ of _TOTAL_ entries","info_empty":"Showing 0 to 0 of 0 entries","info_filtered":"(filtered from _MAX_ total entries)","zero_records":"No matching records found","search":"Search:","pagination":{"all":"All","next":"Pr\u00f3ximo","previous":"Previous"},"select":{"rows":{"0":"","_":": Selected %d rows","1":": Selected 1 row"}},"datepicker":{"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"],"monthNames":["janeiro","fevereiro","mar\u00e7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],"monthNamesShort":["janeiro","fevereiro","mar\u00e7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],"nextText":"Pr\u00f3ximo","prevText":"Anterior","currentText":"Hoje","closeText":"Feito"}};/* ]]> */ </script>]]>
895 <![CDATA[<script type='text/javascript' id='awsm-ead-public-js-extra'> /* <![CDATA[ */ var eadPublic = []; /* ]]> */ </script>]]>
917 <![CDATA[<script type='text/javascript' id='nectar-frontend-js-extra'> /* <![CDATA[ */ var nectarLove = {"ajaxurl":"https:\/\/afranio.pe.gov.br\/wp-admin\/admin-ajax.php","postID":"1921","rooturl":"https:\/\/afranio.pe.gov.br","disqusComments":"false","loveNonce":"55415df55a","mapApiKey":""}; var nectarOptions = {"quick_search":"false","header_entrance":"false","mobile_header_format":"default","ocm_btn_position":"default","left_header_dropdown_func":"default","ajax_add_to_cart":"0","ocm_remove_ext_menu_items":"remove_images","woo_product_filter_toggle":"0","woo_sidebar_toggles":"true","woo_sticky_sidebar":"0","woo_minimal_product_hover":"default","woo_minimal_product_effect":"default","woo_related_upsell_carousel":"false","woo_product_variable_select":"default"}; var nectar_front_i18n = {"next":"Next","previous":"Previous"}; /* ]]> */ </script>]]>
926 <![CDATA[<script type='text/javascript' id='wpb_composer_front_js-js-extra'> /* <![CDATA[ */ var vcData = {"currentTheme":{"slug":"salient"}}; /* ]]> */ </script>]]>