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

Sites Pertecentes a (o) MG

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 8 51 67 172 265 348 387 391 395
51 <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"6edfdb1801bfcea7128a366c28a71e74","system.paths":{"root":"","base":""}}</script>]]>
67 <![CDATA[<script type="text/javascript"> var enableDownloadButtonPD = 0;function enableDownloadPD() { if (enableDownloadButtonPD == 0) { document.forms['phocadownloadform'].elements['pdlicensesubmit'].disabled=false; enableDownloadButtonPD = 1; } else { document.forms['phocadownloadform'].elements['pdlicensesubmit'].disabled=true; enableDownloadButtonPD = 0; }} jQuery(function($) { SqueezeBox.initialize({}); initSqueezeBox(); $(document).on('subform-row-add', initSqueezeBox); function initSqueezeBox(event, container) { SqueezeBox.assign($(container || document).find('a.modal').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(); }; } } }; window.addEvent("load", function() { SqueezeBox.open('https://www.ibia.mg.gov.br/images/VACINA_AQUI_2.png',{handler: 'image'}); }); jQuery(function($) { SqueezeBox.initialize({}); initSqueezeBox(); $(document).on('subform-row-add', initSqueezeBox); function initSqueezeBox(event, container) { SqueezeBox.assign($(container || document).find('a.pg-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(); }; } } }; /*=== EASY GOOGLE ANALYTICS : START TRACKING CODE ===*/ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-173695050-1', 'mg.gov.br'); ga('send', 'pageview'); /*=== EASY GOOGLE ANALYTICS : END TRACKING CODE ===*/ </script>]]>
172 <![CDATA[<script type="text/javascript"> Shadowbox.init({ overlayColor: '#000',overlayOpacity:0.5,resizeDuration:0.35,displayCounter:true,displayNav:true, slideshowDelay: 5 }); </script>]]>
265 <![CDATA[<script type="text/javascript"> function S5QCTSubmit() { jQuery('button.g-recaptcha').off().on('click', function() { S5QCTSubmit(); }) s5_qc_submit(); } function s5_qc_isValidEmail(str_email) { if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(str_email)) { alert("Muito obrigado! Seu email foi enviado com sucesso..."); document.s5_quick_contact.submit(); } else { alert("Você inseriu um email inválido, por favor tente novamente."); document.getElementById("s5_qc_emailbox").className = "inputbox s5_qc_required"; } } var s5_qc_subject_type = "user"; var s5_qc_spambox_text = "Anti-spam..."; var s5_qc_subject_text = "Assunto..."; var s5_qc_name_text = "Nome..."; var s5_qc_email_text = "Email..."; var s5_qc_field1_text = "Mensagem..."; var s5_qc_field2_text = "Field 2..."; var s5_qc_field3_text = "Field 3..."; var s5_qc_field4_text = "Field 4..."; var s5_qc_field5_text = "Field 5..."; var s5_qc_field6_text = "Field 6..."; var s5_qc_field7_text = "Field 7..."; var s5_qc_field8_text = "Field 8..."; var s5_qc_field9_text = "Field 9..."; var s5_qc_field10_text = "Field 10..."; function s5_qc_clear_inputs(s5_qc_click_id) { s5_qc_clear_inputs_values(s5_qc_click_id); } var s5_qc_field1_type = "textarea_required"; var s5_qc_field2_type = "1"; var s5_qc_field3_type = "1"; var s5_qc_field4_type = "1"; var s5_qc_field5_type = "1"; var s5_qc_field6_type = "1"; var s5_qc_field7_type = "1"; var s5_qc_field8_type = "1"; var s5_qc_field9_type = "1"; var s5_qc_field10_type = "1"; var s5_qc_required_missing = "no"; var s5_qc_all_content = ""; function s5_qc_submit() { s5_qc_check_required(); if (s5_qc_required_missing == "yes") { alert("Todos os campos do formulário são obrigatórios."); return false; } s5_qc_find_all_values(); if (s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0) { return false; } else { var email_str = document.getElementById("s5_qc_emailbox").value; s5_qc_isValidEmail(email_str); } } function s5_qc_load_pikaday() { } function s5_qc_load_pikaday_timer() { window.setTimeout(s5_qc_load_pikaday,500); } window.onload = s5_qc_load_pikaday_timer(); </script>]]>
348 <![CDATA[<script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.4"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>]]>
387 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
391 <![CDATA[<script> new WOW().init(); </script>]]>
395 <![CDATA[<script> (function(){ const containers = document.querySelectorAll('div#phoca-dl-category-box .pd-fdesc'); containers.forEach(function(container) { let p = container.querySelector('p'); let initialHeight = container.getBoundingClientRect().height; let height = p.getBoundingClientRect().height; let btn = document.createElement('button'); btn.innerHTML = 'Mais detalhes'; btn.type = 'button'; btn.className = 'phocadownload-read-more-btn'; btn.onclick = function() { if(btn.classList.contains('opened')) { // container.style.maxHeight = `${initialHeight}px`; container.classList.remove('opened'); btn.classList.remove('opened'); btn.innerHTML = 'Mais detalhes'; } else { // container.style.maxHeight = `${height}px`; container.classList.add('opened'); btn.classList.add('opened'); btn.innerHTML = 'Minimizar'; } }; container.parentElement.appendChild(btn); }); }()); </script>]]>