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/home/concurso-publico
-2017

62.82 53 305
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 4 21 30 179 357
21 <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"82bb58b475737476fbce1d73acb69dbf","system.paths":{"root":"","base":""}}</script>]]>
30 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function(){ jQuery("#phModalPlay").on("hidden.bs.modal", function (e) { jQuery("#phModalPlay iframe").attr("src", jQuery("#phModalPlay iframe").attr("src")); jQuery("audio").each(function(){this.pause();this.currentTime = 0;}); jQuery("video").each(function(){this.pause();this.currentTime = 0;}); }); jQuery(".pd-modal-button").on("click", function () { var $target = jQuery(this).data("target"); var $href = jQuery(this).data("href"); var $body = $target + "Body"; var $dialog = $target + "Dialog"; var $height = jQuery(this).data("height"); var $width = jQuery(this).data("width"); var $heightD= jQuery(this).data("height-dialog"); var $widthD = jQuery(this).data("width-dialog"); var $type = jQuery(this).data("type"); jQuery($body).css("height", $height); jQuery($target).css("width", $width); jQuery($body).css("overflow-y", "auto"); jQuery($dialog).css("height", $heightD); jQuery($dialog).css("width", $widthD); if ($type == "image") { jQuery($body).html('<img class="img-responsive" src="' + $href + '" />'); } else if ($type == "document") { $widthD = $widthD -50; $heightD = $heightD -40; jQuery($body).html('<object type="application/pdf" data="' + $href + '" width="' + $widthD + '" height="' + $heightD + '" ></object>'); } else { jQuery($body).load($href, function (response, status, xhr) { if (status == "success") { /*jQuery($target).modal({ show: true });*/ } }); } }); }); jQuery(function($) { SqueezeBox.initialize({}); initSqueezeBox(); $(document).on('subform-row-add', initSqueezeBox); function initSqueezeBox(event, container) { SqueezeBox.assign($(container || document).find('a.pd-modal-button').get(), { parse: 'rel' }); } }); window.jModalClose = function () { SqueezeBox.close(); }; // Add extra modal close functionality for tinyMCE-based editors document.onreadystatechange = function () { if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE) { if (typeof window.jModalClose_no_tinyMCE === 'undefined') { window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false; jModalClose = function () { if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined') { if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {}; window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false; SqueezeBox.close = function () { if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } } }; </script>]]>
179 <![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>]]>
357 <![CDATA[<script> new window.VLibras.Widget("https://vlibras.gov.br/app"); </script>]]>