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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

camaraibate.sp.gov.br/index.php/2014-12-15-17-07-09

68.49 20 325
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 6 19 38 105 283 296 343
19 <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"57cb037a33d07da51f290d8b3900df86","system.paths":{"root":"","base":""}}</script>]]>
38 <![CDATA[<script type="text/javascript"> jQuery(function($) { $('.hasTip').each(function() { var title = $(this).attr('title'); if (title) { var parts = title.split('::', 2); var mtelement = document.id(this); mtelement.store('tip:title', parts[0]); mtelement.store('tip:text', parts[1]); } }); var JTooltips = new Tips($('.hasTip').get(), {"maxTitleChars": 50,"fixed": false}); }); Calendar._DN = ["Domingo","Segunda","Ter\u00e7a","Quarta","Quinta","Sexta","S\u00e1bado","Domingo"]; Calendar._SDN = ["Dom","Seg","Ter","Qua","Qui","Sex","S\u00e1b","Dom"]; Calendar._FD = 0; Calendar._MN = ["January","February","March","April","May","June","July","August","September","October","November","December"]; Calendar._SMN = ["Jan","Fev","Mar","Abr","Maio","Jun","Jul","Ago","Set","Out","Nov","Dez"]; Calendar._TT = {"INFO":"Sobre o calend\u00e1rio","ABOUT":"DHTML Date\/Time Selector\n(c) dynarch.com 20022005 \/ Author: Mihai Bazon\nFor latest version visit: http:\/\/www.dynarch.com\/projects\/calendar\/\nDistributed under GNU LGPL. See http:\/\/gnu.org\/licenses\/lgpl.html for details.\n\nSele\u00e7\u00e3o de data:\n- Use os bot\u00f5es \u00ab e \u00bb para selecionar um ano\n- Use os bot\u00f5es < e > para selecionar o m\u00eas\n- Segure o bot\u00e3o do mouse sobre qualquer um dos bot\u00f5es acima para sele\u00e7\u00e3o mais r\u00e1pida.","ABOUT_TIME":"\n\nTime selection:\n Click on any of the time parts to increase it\n or Shiftclick to decrease it\n or click and drag for faster selection.","PREV_YEAR":"Selecione para ir para o ano anterior. Selecione e segure para ver uma lista de anos.","PREV_MONTH":"Selecione para ir para o m\u00eas anterior. Selecione e segure para obter uma lista dos meses.","GO_TODAY":"Ir para hoje","NEXT_MONTH":"Selecione para ir para o pr\u00f3ximo m\u00eas. Selecione e segure para ver uma lista dos meses.","SEL_DATE":"Selecione uma data.","DRAG_TO_MOVE":"Arraste para mover","PART_TODAY":" Hoje ","DAY_FIRST":"Exibir %s primeiro","WEEKEND":"0,6","CLOSE":"Fechar","TODAY":"Hoje","TIME_PART":"Selecione com Shift ou Arraste para alterar o valor.","DEF_DATE_FORMAT":"%Y%m%d","TT_DATE_FORMAT":"%a, %b %e","WK":"Semana","TIME":"Hora:"}; </script>]]>
105 <![CDATA[<script> jQuery(document).ready(function( $ ){ /*=================================================================== * jBility uses JsCookie to manager cookies. * JsCookie is available on: https://github.com/urielcaire/jscookie *====================================================================*/ function createCookie(name, value, days){ var expires = ""; if(days){ var time = new Date(); time.setTime(time.getTime()+(days*24*60*60*1000)); } document.cookie = name+"="+value+expires+"; path=/"; } function getCookie(name){ var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return ""; } function deleteCookie(name) { createCookie(name,"",-1); } function checkCookie(name){ var check = getCookie(name); if(check != "") return true; return false; } /*====================================== * jBility functions *======================================*/ function addConstrast(){ console.log('addConstrast'); $('*').addClass('pagina-acessivel'); $('.acess-container').addClass('f-transparent'); $('#botao').addClass('f-transparent'); $('#acess-icons').addClass('f-transparent'); $('.acess-icon').addClass('f-transparent'); $('img').addClass('f-transparent'); $('#jbbutton').addClass('f-transparent'); } function removeConstrast(){ console.log('removeConstrast'); $('*').removeClass('pagina-acessivel'); $('.acess-container').removeClass('f-transparent'); $('#botao').removeClass('f-transparent'); $('#acess-icons').removeClass('f-transparent'); $('.acess-icon').removeClass('f-transparent'); $('img').removeClass('f-transparent'); $('#jbbutton').removeClass('f-transparent'); } if(checkCookie('ccontrast')){ addConstrast(); } $('#contrast').click(function(){ var ck = checkCookie('ccontrast'); if(ck){ deleteCookie('ccontrast'); removeConstrast(); }else{ createCookie('ccontrast', 'cookieContrast'); addConstrast(); } }); var $cElements = jQuery("body").find("*"); var fonts = []; function getFontSize() { for (var i = 0; i < $cElements.length; i++) { fonts.push(parseFloat($cElements.eq(i).css('font-size'))); } } getFontSize(); $("#increaseFont").on('click', function() { for (var i = 0; i < $cElements.length; i++) { ++fonts[i]; $cElements.eq(i).css('font-size', fonts[i]); } }); $("#decreaseFont").on('click', function() { for (var i = 0; i < $cElements.length; i++) { --fonts[i]; $cElements.eq(i).css('font-size', fonts[i]); } }); $('#jbbutton').click(function(){ $('#acess-icons').toggle(150); }); }); </script>]]>
283 <![CDATA[<script> new window.VLibras.Widget("https://vlibras.gov.br/app"); </script>]]>
296 <![CDATA[<script type="text/javascript">// Occurs before the form is loaded function before_load() { } // Occurs just before submitting the form function before_submit() { } // Occurs just before resetting the form function before_reset() { }</script>]]>
343 <![CDATA[<script type="text/javascript"> JURI_ROOT =''; WDF_GRADING_TEXT ='Your score should be less than'; WDF_INVALID_GRADING = '`grading_label` Total should be less than `grading_total`'; FormCurrency ='$'; FormPaypalTax ='0'; function formOnload1() { if (wdformjQuery.browser.msie && parseInt(wdformjQuery.browser.version, 10) === 8) { wdformjQuery("#form1").find(wdformjQuery("input[type='radio']")).click(function() {wdformjQuery("input[type='radio']+label").removeClass('if-ie-div-label'); wdformjQuery("input[type='radio']:checked+label").addClass('if-ie-div-label')}); wdformjQuery("#form1").find(wdformjQuery("input[type='radio']:checked+label")).addClass('if-ie-div-label'); wdformjQuery("#form1").find(wdformjQuery("input[type='checkbox']")).click(function() {wdformjQuery("input[type='checkbox']+label").removeClass('if-ie-div-label'); wdformjQuery("input[type='checkbox']:checked+label").addClass('if-ie-div-label')}); wdformjQuery("#form1").find(wdformjQuery("input[type='checkbox']:checked+label")).addClass('if-ie-div-label'); } wdformjQuery("div[type='type_text'] input, div[type='type_number'] input, div[type='type_phone'] input, div[type='type_name'] input, div[type='type_submitter_mail'] input, div[type='type_paypal_price'] input, div[type='type_textarea'] textarea").focus(function() {delete_value(this)}).blur(function() {return_value(this)}); wdformjQuery("div[type='type_number'] input, div[type='type_phone'] input, div[type='type_spinner'] input, div[type='type_range'] input, .wdform-quantity").keypress(function(evt) {return check_isnum(evt)}); wdformjQuery("div[type='type_grading'] input").keypress(function() {return check_isnum_or_minus(event)}); wdformjQuery("div[type='type_paypal_checkbox'] input[type='checkbox'], div[type='type_paypal_radio'] input[type='radio'], div[type='type_paypal_shipping'] input[type='radio']").click(function() {set_total_value(1)}); wdformjQuery("div[type='type_paypal_select'] select, div[type='type_paypal_price'] input").change(function() {set_total_value(1)}); wdformjQuery(".wdform-quantity").change(function() {set_total_value(1)}); wdformjQuery("div[type='type_time'] input").blur(function() {add_0(this)}); wdformjQuery('.wdform-element-section').each(function() { if(parseInt(wdformjQuery(this)[0].style.width.replace('px', '')) < parseInt(wdformjQuery(this).css('min-width').replace('px', ''))) wdformjQuery(this).css('min-width', parseInt(wdformjQuery(this)[0].style.width.replace('px', ''))-10); }); wdformjQuery('.wdform-label').each(function() { if(parseInt(wdformjQuery(this).height()) >= 2*parseInt(wdformjQuery(this).css('line-height').replace('px', ''))) { wdformjQuery(this).parent().css('max-width',wdformjQuery(this).parent().width()); wdformjQuery(this).parent().css('width',''); } }); wdformjQuery("#wd_captcha1").click(function() {captcha_refresh("wd_captcha","1")});wdformjQuery("#_element_refresh1").click(function() {captcha_refresh("wd_captcha","1")});captcha_refresh("wd_captcha", "1"); if(window.before_load) { before_load(); } } function formAddToOnload1() { if(formOldFunctionOnLoad1){ formOldFunctionOnLoad1(); } formOnload1(); } function formLoadBody1() { formOldFunctionOnLoad1 = window.onload; window.onload = formAddToOnload1; } var formOldFunctionOnLoad1 = null; formLoadBody1(); form_view_count1=0; for(i=1; i<=30; i++) { if(document.getElementById('1form_view'+i)) { form_view_count1++; form_view_max1=i; } } if(form_view_count1>1) { for(i=1; i<=form_view_max1; i++) { if(document.getElementById('1form_view'+i)) { first_form_view1=i; break; } } generate_page_nav(first_form_view1, '1', form_view_count1, form_view_max1); } function check_required1(but_type) { if(but_type=='reset') { if(window.before_reset) { before_reset(); } window.location="/index.php/2014-12-15-17-07-09"; return; } if(window.before_submit) { before_submit(); } x=wdformjQuery("#form1"); if(x.find(wdformjQuery("div[wdid=1]")).length != 0) { if(wdformjQuery("#wdform_1_element_first1").val()=="" || wdformjQuery("#wdform_1_element_first1").val()=="" || wdformjQuery("#wdform_1_element_last1").val()=="" || wdformjQuery("#wdform_1_element_last1").val()=="") { alert("\"Nome:\" field is required."); old_bg=x.find(wdformjQuery("div[wdid=1]")).css("background-color"); x.find(wdformjQuery("div[wdid=1]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false }); wdformjQuery("#wdform_1_element_first1").focus(); return false; } } if(x.find(wdformjQuery("div[wdid=2]")).length != 0) { if(wdformjQuery("#wdform_2_element1").val()!="" && wdformjQuery("#wdform_2_element1").val().search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1 ) { alert("This is not a valid email address."); old_bg=x.find(wdformjQuery("div[wdid=2]")).css("background-color"); x.find(wdformjQuery("div[wdid=2]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false }); wdformjQuery("#wdform_2_element1").focus(); return false; } } if(x.find(wdformjQuery("div[wdid=6]")).length != 0) { if(wdformjQuery("#wd_captcha_input1").val()=="") { alert("\"Verificação:\" field is required."); old_bg=x.find(wdformjQuery("div[wdid=6]")).css("background-color"); x.find(wdformjQuery("div[wdid=6]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false }); wdformjQuery("#wd_captcha_input1").focus(); return false; } } ; if(a[1]==1) return; ; a[1]=1; document.getElementById("form"+1).submit(); } function check1(id) { x=wdformjQuery("#1form_view"+id); if(x.find(wdformjQuery("div[wdid=1]")).length != 0) { if(wdformjQuery("#wdform_1_element_first1").val()=="" || wdformjQuery("#wdform_1_element_first1").val()=="" || wdformjQuery("#wdform_1_element_last1").val()=="" || wdformjQuery("#wdform_1_element_last1").val()=="") { alert("\"Nome:\" field is required."); old_bg=x.find(wdformjQuery("div[wdid=1]")).css("background-color"); x.find(wdformjQuery("div[wdid=1]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false }); wdformjQuery("#wdform_1_element_first1").focus(); return false; } } if(x.find(wdformjQuery("div[wdid=2]")).length != 0) { if(wdformjQuery("#wdform_2_element1").val()!="" && wdformjQuery("#wdform_2_element1").val().search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1 ) { alert("This is not a valid email address."); old_bg=x.find(wdformjQuery("div[wdid=2]")).css("background-color"); x.find(wdformjQuery("div[wdid=2]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false }); wdformjQuery("#wdform_2_element1").focus(); return false; } } if(x.find(wdformjQuery("div[wdid=6]")).length != 0) { if(wdformjQuery("#wd_captcha_input1").val()=="") { alert("\"Verificação:\" field is required."); old_bg=x.find(wdformjQuery("div[wdid=6]")).css("background-color"); x.find(wdformjQuery("div[wdid=6]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false }); wdformjQuery("#wd_captcha_input1").focus(); return false; } } ; return true; } // wdformjQuery('.wdform-element-section select').each(function() { reselect(this,''); }) </script>]]>