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

Sites Pertecentes a (o) AC

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 13 7 12 114 121 121 125 129 131 144 185 185 185 189
7 <![CDATA[<script type="text/javascript">if(window.PrimeFaces){PrimeFaces.settings.locale='pt_BR';}</script>]]>
12 <![CDATA[<script type="text/javascript"> var tempoSessao = 1500; var timer = setInterval(function() { if( tempoSessao === 0 ) { document.getElementById('session-countdown').innerHTML = "00min:00s"; clearInterval( timer ); } var segundos = tempoSessao % 60; var minutos = parseInt(tempoSessao / 60); segundos = (segundos + "").replace(/^(\d)$/, '0$1'); minutos = (minutos + "").replace(/^(\d)$/, '0$1'); document.getElementById('session-countdown').innerHTML = minutos + "min:" + segundos + "s"; tempoSessao--; ajustaHeights(); }, 1000); $(document).ready(function(){ ajustaHeights(); $('#sm-topmenu li .ui-commandlink').removeClass('ui-commandlink'); if ($(document).width() >= 641) { $('#layout-menubar').addClass('slimmenu'); } if ($(document).width() >= 1200) { $('#layout-menubar').removeClass('slimmenu'); } $(window).on('resize', function(){ ajustaHeights(); if ($(document).width() >= 641) { $('#layout-menubar').addClass('slimmenu'); } if ($(document).width() >= 1200) { $('#layout-menubar').removeClass('slimmenu'); } }).resize(); }); $(document).ajaxSuccess(function() { ajustaHeights(); }); ajustaHeights = function () { $('#layout-menubar').css('min-height', 100); $('#layout-menubar').css('height', 100); $('#corpo').css('min-height', 100); $('#corpo').css('min-height', $(document).height() - $('#layout-header').height() - $('#footer').height() - 10); $('#layout-menubar').css('height', $('#corpo').height() + $('#footer').height() + 5); }; </script>]]>
114 <![CDATA[<script id="j_idt44_s" type="text/javascript">$(function(){PrimeFaces.cw("Dialog","statusDialog",{id:"j_idt44",draggable:false,resizable:false,modal:true});});</script>]]>
121 <![CDATA[<script id="msgs_s" type="text/javascript">$(function(){PrimeFaces.cw('Growl','widget_msgs',{id:'msgs',sticky:false,life:6000,escape:true,msgs:[]});});</script>]]>
121 <![CDATA[<script id="comunicacaoDialog_s" type="text/javascript">$(function(){PrimeFaces.cw("Dialog","comunicacaoDialog",{id:"comunicacaoDialog",resizable:false,modal:true});});</script>]]>
125 <![CDATA[<script id="j_idt64_s" type="text/javascript">PrimeFaces.cw("InputMask","widget_j_idt64",{id:"j_idt64",mask:"999.999.999-99"});</script>]]>
129 <![CDATA[<script id="senha_s" type="text/javascript">$(function(){PrimeFaces.cw("Password","widget_senha",{id:"senha"});});</script>]]>
131 <![CDATA[<script type="text/javascript"> /*exibir senha*/ $(".toggle-password").click(function() { $(this).toggleClass("fa-eye fa-eye-slash"); var input = $($(this).attr("toggle")); if (input.attr("type") == "password") { input.attr("type", "text"); input.select(); } else { input.attr("type", "password"); input.blur(); } }); </script>]]>
144 <![CDATA[<script id="j_idt69_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_j_idt69",{id:"j_idt69"});</script>]]>
185 <![CDATA[<script id="j_idt81_s" type="text/javascript">PrimeFaces.cw("Panel","widget_j_idt81",{id:"j_idt81"});</script>]]>
185 <![CDATA[<script id="j_idt96_s" type="text/javascript">$(function(){PrimeFaces.cw("DataTable","widget_j_idt96",{id:"j_idt96",resizableColumns:true});});</script>]]>
185 <![CDATA[<script id="j_idt117_s" type="text/javascript">$(function(){PrimeFaces.cw("TreeTable","widget_j_idt117",{id:"j_idt117"});});</script>]]>
189 <![CDATA[<script id="j_idt79_s" type="text/javascript">PrimeFaces.cw("Panel","widget_j_idt79",{id:"j_idt79"});</script>]]>