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

Sites Pertecentes a (o) RO

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 56 77 364 973
56 <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"4ceb1d31874aae4676d2a74e830f88c7","system.paths":{"root":"","base":""}}</script>]]>
77 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function() { if (jQuery("#modal-messages").length) modalMessages("1", "both", "", "fast"); }); (function($) { $(document).ready(function() { $('a.fancybox-gallery').fancybox({ buttons: [ 'slideShow', 'fullScreen', 'thumbs', 'share', 'download', 'zoom', 'close' ], beforeShow: function(instance, current) { if (current.type === 'image') { var title = current.opts.$orig.attr('title'); current.opts.caption = (title.length ? '<b class="fancyboxCounter">Image ' + (current.index + 1) + ' of ' + instance.group.length + '</b>' + ' | ' + title : ''); } } }); }); })(jQuery); window.soundManager.url = 'https://novauniao.ro.gov.br/plugins/system/screenreader/screenreader/libraries/tts/soundmanager/swf/'; window.soundManager.debugMode = false; window.soundManager.defaultOptions.volume = 80; var screenReaderConfigOptions = { baseURI: 'https://novauniao.ro.gov.br/', token: '8887233c2e8c1fe16fab7a90c268340b', langCode: 'pt', chunkLength: 100, screenReaderVolume: '80', position: 'bottomright', scrolling: 'relative', targetAppendto: '#acessibilidade', targetAppendMode: 'bottom', preload: 0, autoBackgroundColor: 0, readPage: 1, readChildNodes: 1, ieHighContrast: 1, ieHighContrastAdvanced: 1, gtranslateIntegration: 0, selectMainpageareaText: 0, excludeScripts: 1, readImages: 0, readImagesAttribute: 'alt', readImagesOrdering: 'before', mainpageSelector: '*[name*=main], *[class*=main], *[id*=main], *[id*=container], *[class*=container]', showlabel: 0, labeltext: 'Screen Reader', screenreaderIcon: 'audio', screenreader: 0, highcontrast: 1, highcontrastAlternate: 1, colorHue: 180, colorBrightness: 6, dyslexicFont: 1, fontsize: 0, fontsizeDefault: 80, fontsizeMin: 50, fontsizeMax: 200, fontsizeSelector: '', fontSizeOverride: 1, fontSizeHeadersIncrement: 20, toolbarBgcolor: '#f5f5f5', template: 'elegant.css', accesskey_play: 'P', accesskey_pause: 'E', accesskey_stop: 'S', accesskey_increase: 'O', accesskey_decrease: 'U', accesskey_reset: 'R', accesskey_highcontrast: 'H', accesskey_highcontrast2: 'J', accesskey_highcontrast3: 'K', accesskey_dyslexic: 'D', accesskey_skiptocontents: 'C', accesskey_minimized: 'L', volume_accesskeys: 1, readerEngine: 'proxy', useMobileReaderEngine: 0, mobileReaderEngine: 'proxy', hideOnMobile: 0, useMinimizedToolbar: 0, showSkipToContents: 0, skipToContentsSelector: '', removeLinksTarget: 0 }; template="portal"; if ($jak2depend == undefined || $jak2depend == "undefined") var $jak2depend = new Array(); </script>]]>
364 <![CDATA[<script type="text/javascript"> /*<![CDATA[*/ var $required_fields616 = 0; var $required_warning = "Required Field"; var $cache616 = {}; //validate date function function isDate(txtDate) { var reg = /^(\d{4})([\/-])(\d{1,2})\2(\d{1,2})$/; return reg.test(txtDate); } //validate startdate and enddate before submit form function validateDateRange(obj) { var from, to, field; obj = jQuery(obj); if (isDate(obj.val())) { obj.removeClass('date-error'); } else { obj.addClass('date-error'); return; } field = obj.data('field'); if (obj.hasClass('k2datefrom')) { from = obj; to = jQuery('.k2dateto[data-field="'+field+'"]'); } else if (obj.hasClass('k2dateto')) { from = jQuery('.k2datefrom[data-field="'+field+'"]'); to = obj; } else { return; } } // calculate clear both horizontal layout. function horizon_calculate616() { var $ja_column = 1; var $ja_columnw = ''; $ja_columnw = 'width:100%;'; jQuery('#jak2filter616 > li').each(function($j){ var $style=''; var $clear=''; $ja_column=parseInt($ja_column); var sum = $j % $ja_column; if ($ja_column > 0 && sum == 0) { $clear = "clear:both;"; } if ($ja_column || $clear!="") { $style = $ja_columnw + $clear; } if (!jQuery(this).hasClass('last-item'))jQuery(this).attr('style', $style); }); } jQuery(document).ready(function () { jQuery('#ja-extra-field-accordion-616').find('.ui-accordion-disabled.ui-state-disabled').each(function(){ if (jQuery(this).next().find('.chzn-container.chzn-container-single').length) jQuery(this).next().find('.chzn-container.chzn-container-single').attr('style', 'width:auto;'); }); jQuery('.fsname').each(function () { jQuery(this).text(jQuery('#jak2filter616').find('option[value=' + jQuery(this).text() + ']').text()); }); jQuery("#jak2filter616").sortable({ itemSelector: "li.fssorts", handle: ".title", onDrop: function ($item, container, _super, event) { $item.sortable('enable'); _super($item, container); horizon_calculate616(); } }); jQuery('#jak2filter616 #ordering').change(function () { if (jQuery(this).val() && !jQuery('#jak2filter616').find('li[data-of=' + jQuery(this).val() + ']').length) { var strout = ''; if (jQuery.inArray(jQuery(this).val(), ['zelevance', 'best', 'modified', 'publishUp', 'zdate', 'featured']) === -1) { strout = '<div class="group-controls">'+ '<div class="controls">'+ '<input type="radio" checked="" name="orders[' + jQuery(this).val() + ']" value="' + jQuery(this).val() + '" /><p class="ascending">Increase</p>'+ '</div>'; if (jQuery.inArray(jQuery(this).val(), ['adate']) === -1) strout += '<div class="controls">'+ '<input type="radio" name="orders[' + jQuery(this).val() + ']" value="r' + jQuery(this).val() + '" /><p class="decrease">Decrease</p>'+ '</div>'; strout += '</div>'; } else { strout = '<div class="group-controls"><div class="controls"><input type="radio" checked="checked" name="orders[' + jQuery(this).val() + ']" value="r' + jQuery(this).val() + '" /><p class="decrease">Decrease</p></div></div>'; } jQuery(this).parents('li').after('<li class="fssorts" style="width:100%;" data-of="' + jQuery(this).val() + '"> ' + '<div class="subclass">'+ '<div class="title" style="cursor:move"><h6>' + jQuery(this).find('option:selected').html() + '</h6></div>' + strout+ '<div class="controls"><button type="button" class="delete" onclick="jQuery(this).parents(\'li\').remove();">Delete</button></div>'+ '</div>'+ '</li>'); } jQuery(this).val('').trigger("liszt:updated"); horizon_calculate616(); }); if ( jQuery.browser.msie ) { jQuery('#searchword616').on('keyup', function(event) { var keycode = event.keyCode ? event.keyCode : event.which; if(keycode == 13 ) { jQuery('#jak2filter-form-616').trigger('filter.submit') } }); } function resetChildren($current, $next) { if ($next) { var $data = $jak2depend[parseInt($next.data('exfield'))][$current.val()]; if ($data != undefined && $data != 'undefined') { $next.html(''); $next.append('<option value="">'+$next.data('extitle')+'</option>'); for (var i=0;i<$data.length;i++) { $next.append('<option value="'+$data[i][0]+'">'+$data[i][1]+'</option>'); } $next.chosen("destroy").chosen(); } else { $next.html(''); $next.append('<option value="">'+$next.data('extitle')+'</option>'); $next.chosen("destroy").chosen(); } var $_next = '#K2ExtraField_'+$next.data('exfield')+'_'+(parseInt($next.data('dependlv'))+1); if (jQuery($_next).length) resetChildren($next, jQuery($_next)); } } jQuery('#jak2filter616 .jak2depend').change(function() { var elm, dependlv, exfield, autofield, $next, $prev, $ar, moduleid, dependarray, dependtxt, form; elm = jQuery(this); dependlv = elm.data('dependlv'); exfield = elm.data('exfield'); autofield = elm.data('autofield'); moduleid = 616; $next = jQuery('#jak2filter'+moduleid+' #K2ExtraField_'+exfield+'_'+(dependlv + 1)); if ($next.length) resetChildren(elm, $next); dependarray = jQuery('#jak2filter'+moduleid+' #xf_'+ exfield +'_array'); dependarray.val(''); jQuery('#jak2filter616 .jak2depend[data-exfield="'+exfield+'"]').each(function(){ $ar = dependarray.val(); if (jQuery(this).val() != '') $ar += jQuery(this).val()+','; dependarray.val($ar); }); dependtxt = jQuery('#jak2filter'+moduleid+' #xf_'+exfield+'_txt'); dependtxt.val(elm.val()); if (elm.val() == '') { // get the prev value if choose no value at current. $prev = jQuery('#jak2filter'+moduleid+' #K2ExtraField_'+exfield+'_'+(dependlv-1)); if ($prev.length) { dependtxt.val($prev.val()); } } }); if (jQuery('#jak2filter616').find('#category_id').length) { jak2DisplayExtraFields(616, jQuery('#jak2filter616').find('#category_id'), 0); } jQuery('#jak2filter-form-616').on('filter.submit', function () { var $check = checkrequired($required_fields616, "jak2filter-form-616"); if ($check == true) { jQuery('#jak2filter-form-616').submit(); } else { var top = jQuery('#jak2filter-form-616').find('.jak2-error:visible').first().offset().top - 100; jQuery("html, body").animate({scrollTop: top}); return false; } }); }); /*]]>*/ </script>]]>
973 <![CDATA[<script type="text/javascript"> var today = new Date() var year = today.getFullYear() document.write(year) </script>]]>