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

Sites Pertecentes a (o) RS

Endereço Nota Erros Avisos

www.altofeliz.rs.gov.br/web/e-sic-consulta

86.01 28 36
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 53 383 385 386 388 389
53 <![CDATA[<script>if(!window.jQuery){document.write('<script src="js/core/jquery-3.1.1.min.js"><\/script>');}</script>]]>
383 <![CDATA[<script>$(function(){var $body=$("body"),$button_contraste=$("#button-contraste"),contraste_em_sessao=sessionStorage.getItem("contraste");$button_contraste.click(function(){if($body.hasClass("contraste")){$body.removeClass("contraste");sessionStorage.setItem("contraste","desativado");}else{$body.addClass("contraste");sessionStorage.setItem("contraste","ativado");}});if(contraste_em_sessao=="ativado"){$button_contraste.click();}});</script>]]>
385 <![CDATA[<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','UA-109830182-1');</script>]]>
386 <![CDATA[<script>$(function(){var $news_form=$(".footer-news-form"),$news_mail=$("#form-newsletter-email"),$news_nome=$("#form-newsletter-nome"),$news_button=$("#form-newsletter-button"),news_erros=false;fn_email=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;$news_nome.blur(function(){if($news_nome.val().length==0){news_erros=true;$news_nome.addClass("footer-news-form-input-erro");}else{$news_nome.removeClass("footer-news-form-input-erro").addClass("footer-news-form-input-certo");}});$news_mail.blur(function(){if(!fn_email.test($news_mail.val())){news_erros=true;$news_mail.addClass("footer-news-form-input-erro");}else{$news_mail.removeClass("footer-news-form-input-erro").addClass("footer-news-form-input-certo");}});$news_button.click(function(e){e.preventDefault();news_erros=false;$news_form.removeClass("fx-denied");$news_mail.blur();$news_nome.blur();if(news_erros){$news_form.addClass("fx-denied").on("animationend",function(){$news_form.removeClass("fx-denied").off("animationend");});}else{$news_form.addClass("fx-loader");$.post("ajax/newsletter.php",{email:$news_mail.val(),nome:$news_nome.val()},function(e){console.log(e);$news_form.removeClass("fx-loader");if(!e==1){$news_mail.val("").addClass("footer-news-form-input-certo");$news_nome.val("").addClass("footer-news-form-input-certo");}else{$news_form.addClass("fx-denied").on("animationend",function(){$news_form.removeClass("fx-denied").off("animationend");});}});}});});</script>]]>
388 <![CDATA[<script>$(function(){!function(e){function t(){var e=document.createElement("input"),t="onpaste";return e.setAttribute(t,""),"function"==typeof e[t]?"paste":"input"}var n,a=t()+".mask",r=navigator.userAgent,i=/iphone/i.test(r),o=/android/i.test(r);e.mask={definitions:{9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},dataName:"rawMaskFn",placeholder:"_"},e.fn.extend({caret:function(e,t){var n;if(0!==this.length&&!this.is(":hidden"))return"number"==typeof e?(t="number"==typeof t?t:e,this.each(function(){this.setSelectionRange?this.setSelectionRange(e,t):this.createTextRange&&(n=this.createTextRange(),n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",e),n.select())})):(this[0].setSelectionRange?(e=this[0].selectionStart,t=this[0].selectionEnd):document.selection&&document.selection.createRange&&(n=document.selection.createRange(),e=0-n.duplicate().moveStart("character",-1e5),t=e+n.text.length),{begin:e,end:t})},unmask:function(){return this.trigger("unmask")},mask:function(t,r){var c,l,s,u,f,h;return!t&&this.length>0?(c=e(this[0]),c.data(e.mask.dataName)()):(r=e.extend({placeholder:e.mask.placeholder,completed:null},r),l=e.mask.definitions,s=[],u=h=t.length,f=null,e.each(t.split(""),function(e,t){"?"==t?(h--,u=e):l[t]?(s.push(new RegExp(l[t])),null===f&&(f=s.length-1)):s.push(null)}),this.trigger("unmask").each(function(){function c(e){for(;++e<h&&!s[e];);return e}function d(e){for(;--e>=0&&!s[e];);return e}function m(e,t){var n,a;if(!(0>e)){for(n=e,a=c(t);h>n;n++)if(s[n]){if(!(h>a&&s[n].test(R[a])))break;R[n]=R[a],R[a]=r.placeholder,a=c(a)}b(),x.caret(Math.max(f,e))}}function p(e){var t,n,a,i;for(t=e,n=r.placeholder;h>t;t++)if(s[t]){if(a=c(t),i=R[t],R[t]=n,!(h>a&&s[a].test(i)))break;n=i}}function g(e){var t,n,a,r=e.which;8===r||46===r||i&&127===r?(t=x.caret(),n=t.begin,a=t.end,a-n===0&&(n=46!==r?d(n):a=c(n-1),a=46===r?c(a):a),k(n,a),m(n,a-1),e.preventDefault()):27==r&&(x.val(S),x.caret(0,y()),e.preventDefault())}function v(t){var n,a,i,l=t.which,u=x.caret();t.ctrlKey||t.altKey||t.metaKey||32>l||l&&(u.end-u.begin!==0&&(k(u.begin,u.end),m(u.begin,u.end-1)),n=c(u.begin-1),h>n&&(a=String.fromCharCode(l),s[n].test(a)&&(p(n),R[n]=a,b(),i=c(n),o?setTimeout(e.proxy(e.fn.caret,x,i),0):x.caret(i),r.completed&&i>=h&&r.completed.call(x))),t.preventDefault())}function k(e,t){var n;for(n=e;t>n&&h>n;n++)s[n]&&(R[n]=r.placeholder)}function b(){x.val(R.join(""))}function y(e){var t,n,a=x.val(),i=-1;for(t=0,pos=0;h>t;t++)if(s[t]){for(R[t]=r.placeholder;pos++<a.length;)if(n=a.charAt(pos-1),s[t].test(n)){R[t]=n,i=t;break}if(pos>a.length)break}else R[t]===a.charAt(pos)&&t!==u&&(pos++,i=t);return e?b():u>i+1?(x.val(""),k(0,h)):(b(),x.val(x.val().substring(0,i+1))),u?t:f}var x=e(this),R=e.map(t.split(""),function(e){return"?"!=e?l[e]?r.placeholder:e:void 0}),S=x.val();x.data(e.mask.dataName,function(){return e.map(R,function(e,t){return s[t]&&e!=r.placeholder?e:null}).join("")}),x.attr("readonly")||x.one("unmask",function(){x.unbind(".mask").removeData(e.mask.dataName)}).bind("focus.mask",function(){clearTimeout(n);var e;S=x.val(),e=y(),n=setTimeout(function(){b(),e==t.length?x.caret(0,e):x.caret(e)},10)}).bind("blur.mask",function(){y(),x.val()!=S&&x.change()}).bind("keydown.mask",g).bind("keypress.mask",v).bind(a,function(){setTimeout(function(){var e=y(!0);x.caret(e),r.completed&&e==x.val().length&&r.completed.call(x)},0)}),y()}))}})}(jQuery);$("#form-cpf").mask("?"+$("#form-cpf").attr("data-mask"));});</script>]]>
389 <![CDATA[<script>$(function(){$("#form-botao").click()});</script>]]>