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

Sites Pertecentes a (o) MG

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 48 81 747 757 771 776 782
48 <![CDATA[<script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.4\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.4\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.camaraformiga.mg.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.6"}}; !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([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]),!b);case"emoji":return b=d([55357,56692,8205,9792,65039],[55357,56692,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings); </script>]]>
81 <![CDATA[<script type="text/javascript"> (function(url){ if(/(?:Chrome\/26\.0\.1410\.63 Safari\/537\.31|WordfenceTestMonBot)/.test(navigator.userAgent)){ return; } var addEvent = function(evt, handler) { if (window.addEventListener) { document.addEventListener(evt, handler, false); } else if (window.attachEvent) { document.attachEvent('on' + evt, handler); } }; var removeEvent = function(evt, handler) { if (window.removeEventListener) { document.removeEventListener(evt, handler, false); } else if (window.detachEvent) { document.detachEvent('on' + evt, handler); } }; var evts = 'contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop keydown keypress keyup mousedown mousemove mouseout mouseover mouseup mousewheel scroll'.split(' '); var logHuman = function() { if (window.wfLogHumanRan) { return; } window.wfLogHumanRan = true; var wfscr = document.createElement('script'); wfscr.type = 'text/javascript'; wfscr.async = true; wfscr.src = url + '&r=' + Math.random(); (document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(wfscr); for (var i = 0; i < evts.length; i++) { removeEvent(evts[i], logHuman); } }; for (var i = 0; i < evts.length; i++) { addEvent(evts[i], logHuman); } })('//www.camaraformiga.mg.gov.br/?wordfence_lh=1&hid=A7D948B82B8929C5300914F7189C0F79'); </script>]]>
747 <![CDATA[<script> ( function ( body ) { 'use strict'; body.className = body.className.replace( /\btribe-no-js\b/, 'tribe-js' ); } )( document.body ); </script>]]>
757 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function($){ $(window).scroll(function () { if ( $(this).scrollTop() > 400 ) $("#totop").fadeIn(); else $("#totop").fadeOut(); }); $("#totop").click(function () { $("body,html").animate({ scrollTop: 0 }, 800 ); return false; }); }); </script>]]>
771 <![CDATA[<script> /* <![CDATA[ */var tribe_l10n_datatables = {"aria":{"sort_ascending":": ative para ordenar a coluna ascendente","sort_descending":": ative para ordenar a coluna descendente"},"length_menu":"Mostre itens do _MENU_","empty_table":"Sem dados dispon\u00edveis na tabela","info":"Mostrando _START_ a _END_ de _TOTAL_ entradas","info_empty":"Mostrando 0 a 0 de 0 entradas","info_filtered":"(filtrado de _MAX_ entradas totais)","zero_records":"Nenhum registro foi encontrado","search":"Pesquisar:","all_selected_text":"Todos os itens dessa p\u00e1gina foram selecionados. ","select_all_link":"Selecionar todas as p\u00e1ginas","clear_selection":"Limpar sele\u00e7\u00e3o.","pagination":{"all":"Todos","next":"Pr\u00f3ximo","previous":"Anterior"},"select":{"rows":{"0":"","_":": %d linhas selecionadas","1":": 1 linha selecionada"}},"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"],"monthNamesMin":["jan","fev","mar","abr","maio","jun","jul","ago","set","out","nov","dez"],"nextText":"Pr\u00f3ximo","prevText":"Anterior","currentText":"Hoje","closeText":"Feito","today":"Hoje","clear":"Limpar"}};/* ]]> */ </script>]]>
776 <![CDATA[<script type='text/javascript'> _stq = window._stq || []; _stq.push([ 'view', {v:'ext',j:'1:6.1.1',blog:'136835912',post:'0',tz:'-3',srv:'www.camaraformiga.mg.gov.br'} ]); _stq.push([ 'clickTrackerInit', '136835912', '0' ]); </script>]]>
782 <![CDATA[<script> // texto selecionado function getSelectionText() { responsiveVoice.setDefaultVoice("Brazilian Portuguese Female"); var text = ""; if (window.getSelection) { text = window.getSelection().toString(); // for Internet Explorer 8 and below. For Blogger, you should use &amp;&amp; instead of &&. } else if (document.selection && document.selection.type != "Control") { text = document.selection.createRange().text; } return text; } $(document).ready(function (){ // when the document has completed loading $(document).mouseup(function (e){ // attach the mouseup event for all div and pre tags setTimeout(function() { // When clicking on a highlighted area, the value stays highlighted until after the mouseup event, and would therefore stil be captured by getSelection. This micro-timeout solves the issue. responsiveVoice.cancel(); // stop anything currently being spoken responsiveVoice.speak(getSelectionText()); //speak the text as returned by getSelectionText }, 1); }); }); // link de menus $('a').mouseenter(function() { // Attach this function to all mouseenter events for 'a' tags responsiveVoice.setDefaultVoice("Brazilian Portuguese Female"); responsiveVoice.cancel(); // Cancel anything else that may currently be speaking responsiveVoice.speak($(this).text()); // Speak the text contents of all nodes within the current 'a' tag }); // quando navegar pelo teclado apertando tab $('a').keyup(function(e) { responsiveVoice.setDefaultVoice("Brazilian Portuguese Female"); console.log('keyup called'); var code = e.keyCode || e.which; if (code == '9') { responsiveVoice.cancel(); responsiveVoice.speak('Link 2 '+$(':focus').text()); } }); $('button').keyup(function(e) { responsiveVoice.setDefaultVoice("Brazilian Portuguese Female"); console.log('keyup called'); var code = e.keyCode || e.which; if (code == '9') { setTimeout(responsiveVoice.speak($(':focus').text()+' button'),1000); } }); $('textarea').keyup(function(e) { responsiveVoice.setDefaultVoice("Brazilian Portuguese Female"); console.log('keyup called'); var code = e.keyCode || e.which; if (code == '9') { responsiveVoice.cancel(); responsiveVoice.speak('Text Input '+$(':focus').attr('placeholder')); } }); </script>]]>