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

Sites Atualizados

Lista dos novos sites adicionados a plataforma na última atualização

Endereço Nota Erros Avisos

www.paranagua.pr.gov.br/fale_conosco_social_ponto_fi
nal.php

81.91 31 81
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 32 48 58 696
32 <![CDATA[<script> window.onload = function() { window.micAccessTool = new MicAccessTool({ link: 'https://www.paranagua.pr.gov.br/conteudo/acessibilidade', contact: 'mailto:webmaster@paranagua.pr.gov.br', buttonPosition: 'left', // default is 'left' }); } </script>]]>
48 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-5493006-1'); </script>]]>
58 <![CDATA[<script> grecaptcha.ready( function () { grecaptcha.execute( '6LdIr7EUAAAAABaDzQW0mHg5y07uQa3FGNS45j_D', { action: 'contact' } ).then( function ( token ) { var recaptchaResponse = document.getElementById( 'recaptchaResponse' ); recaptchaResponse.value = token; } ); } ); </script>]]>
696 <![CDATA[<script> $.validator.addMethod( "date", function ( value, element ) { var check = false; var re = /^\d{1,2}\/\d{1,2}\/\d{4}$/; if ( re.test( value ) ) { var adata = value.split( '/' ); var gg = parseInt( adata[ 0 ], 10 ); var mm = parseInt( adata[ 1 ], 10 ); var aaaa = parseInt( adata[ 2 ], 10 ); var xdata = new Date( aaaa, mm - 1, gg ); if ( ( xdata.getFullYear() == aaaa ) && ( xdata.getMonth() == mm - 1 ) && ( xdata.getDate() == gg ) ) check = true; else check = false; } else check = false; return this.optional( element ) || check; }, "Insira uma data válida" ); function validadata() { var data = document.getElementById( "nascimento" ).value; // pega o valor do input data = data.replace( /\//g, "-" ); // substitui eventuais barras (ex. IE) "/" por hífen "-" var data_array = data.split( "-" ); // quebra a data em array // para o IE onde será inserido no formato dd/MM/yyyy if ( data_array[ 0 ].length != 4 ) { data = data_array[ 2 ] + "-" + data_array[ 1 ] + "-" + data_array[ 0 ]; // remonto a data no formato yyyy/MM/dd } // comparo as datas e calculo a idade var hoje = new Date(); var nasc = new Date( data ); var idade = hoje.getFullYear() - nasc.getFullYear(); var m = hoje.getMonth() - nasc.getMonth(); if ( m < 0 || ( m === 0 && hoje.getDate() < nasc.getDate() ) ) idade--; if ( idade >= 75 ) { alert( "Pessoas maiores que 75 anos não podem se cadastrar." ); return false; } else if ( idade <= 14 ) { alert( "Pessoas menores de 14 anos não podem se cadastrar." ); return false; } else { return true; } // se for maior que 60 não vai acontecer nada! return false; } jQuery.validator.addMethod( "cpf", function ( value, element ) { value = jQuery.trim( value ); value = value.replace( '.', '' ); value = value.replace( '.', '' ); cpf = value.replace( '-', '' ); while ( cpf.length < 11 ) cpf = "0" + cpf; var expReg = /^0+$|^1+$|^2+$|^3+$|^4+$|^5+$|^6+$|^7+$|^8+$|^9+$/; var a = []; var b = new Number; var c = 11; for ( i = 0; i < 11; i++ ) { a[ i ] = cpf.charAt( i ); if ( i < 9 ) b += ( a[ i ] * --c ); } if ( ( x = b % 11 ) < 2 ) { a[ 9 ] = 0 } else { a[ 9 ] = 11 - x } b = 0; c = 11; for ( y = 0; y < 10; y++ ) b += ( a[ y ] * c-- ); if ( ( x = b % 11 ) < 2 ) { a[ 10 ] = 0; } else { a[ 10 ] = 11 - x; } var retorno = true; if ( ( cpf.charAt( 9 ) != a[ 9 ] ) || ( cpf.charAt( 10 ) != a[ 10 ] ) || cpf.match( expReg ) ) retorno = false; return this.optional( element ) || retorno; }, "Informe um CPF válido" ); $.validator.addMethod( "checkboxes", function ( value, element ) { return $( 'input[type=checkbox]:checked' ).length > 0; }, "Você deve selecionar ao menos um título" ); $( document ).ready( function () { $( "#commentForm" ).validate( { errorPlacement: function ( error, element ) { error.insertAfter( element ); }, rules: { deficiencia_desc: { required: "#defsim:checked" }, atendimento_desc: { required: "#atesim:checked" }, cpf: { cpf: true, required: true }, dateBR: { dateBR: true, required: true }, 'titulo1': { checkboxes: true } }, messages: { cpf: { cpf: 'CPF inválido' } } } ); $( "#envolvidos" ).mask( "999" ); $( "#telefone1" ).mask( "(99) 99999-9999" ); $( "#telefone2" ).mask( "(99) 99999-9999" ); $('#renda').mask('#.##0,00', {reverse: true}); $( '.box' ).hide(); $( '#cargo' ).change( function () { $( '.box' ).hide(); var cargosel = $( this ).val().substr( 0, 27 ); $( "div[id='" + cargosel + "']" ).show(); $( '.barratit' ).show(); } ); } ); $( "conteudo_interno" ).filter( ":hidden" ).children( "input[type='checkbox']" ).attr( "disabled", "disabled" ); </script>]]>