Sites Pertecentes a (o) BA
Endereço | Nota | Erros | Avisos |
---|---|---|---|
culturafgm.salvador.ba.gov.br/index.php/patrimonio/pu
|
84.7 | 39 | 197 |
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 | 11 | 45 75 595 605 688 697 727 739 761 785 821 |
45 | <![CDATA[<script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/fgm.salvador.ba.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.0.3"}}; /*! This file is auto-generated */ !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode,e=(p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0),i.toDataURL());return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([129777,127995,8205,129778,127999],[129777,127995,8203,129778,127999])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(e=t.source||{}).concatemoji?c(e.concatemoji):e.wpemoji&&e.twemoji&&(c(e.twemoji),c(e.wpemoji)))}(window,document,window._wpemojiSettings); </script>]]> |
75 | <![CDATA[<script type='text/javascript' id='google_gtagjs-js-after'> window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);} gtag('set', 'linker', {"domains":["fgm.salvador.ba.gov.br"]} ); gtag("js", new Date()); gtag("set", "developer_id.dZTNiMT", true); gtag("config", "UA-51568122-18", {"anonymize_ip":true}); gtag("config", "G-M1TDR0R0EE"); </script>]]> |
595 | <![CDATA[<script language=javascript type="text/javascript"> now = new Date document.write(now.getFullYear()) </script>]]> |
605 | <![CDATA[<script type='text/javascript' id='pojo-a11y-js-extra'> /* <![CDATA[ */ var PojoA11yOptions = {"focusable":"","remove_link_target":"","add_role_links":"","enable_save":"","save_expiration":""}; /* ]]> */ </script>]]> |
688 | <![CDATA[<script> // Máscara campo do form $(document).ready(function() { $('#celular').mask('(00) 00000-0000'); }); </script>]]> |
697 | <![CDATA[<script> $('#enviar-faleconosco').submit(function(event) { event.preventDefault(); grecaptcha.ready(function() { grecaptcha.execute('6LemuOUgAAAAAIkPPuC1FJ1BKCZasto5jQqdBuji', { action: 'subscribe_newsletter' }).then(function(token) { $('#enviar-faleconosco').prepend('<input type="hidden" name="token" value="' + token + '">'); $('#enviar-faleconosco').prepend('<input type="hidden" name="action" value="subscribe_newsletter">'); $('#enviar-faleconosco').unbind('submit').submit(); });; }); }); </script>]]> |
727 | <![CDATA[<script> (function($) { $(document).ready(function() { $('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { event.preventDefault(); event.stopPropagation(); $(this).parent().siblings().removeClass('open'); $(this).parent().toggleClass('open'); }); }); })(jQuery); </script>]]> |
739 | <![CDATA[<script> $(document).ready(function() { $('.dropdown-menu a.dropdown-toggle').on('click', function(e) { if (!$(this).next().hasClass('show')) { $(this).parents('.dropdown-menu').first().find('.show').removeClass("show"); } var $subMenu = $(this).next(".dropdown-menu"); $subMenu.toggleClass('show'); $(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function(e) { $('.dropdown-submenu .show').removeClass("show"); }); return false; }); }); </script>]]> |
761 | <![CDATA[<script> $('.link-compartilhar').click(function(e) { e.preventDefault(); var copyText = $(this).attr('href'); document.addEventListener('copy', function(e) { e.clipboardData.setData('text/plain', copyText); e.preventDefault(); }, true); document.execCommand('copy'); // console.log('copied text : ', copyText); alert('Link copiado!! '); }); </script>]]> |
785 | <![CDATA[<script> var root = document.documentElement; root.className += ' js'; function boxTop(idBox) { var boxOffset = $(idBox).offset().top; return boxOffset; } $(document).ready(function() { var $target = $('.anime'), animationClass = 'anime-init', windowHeight = $(window).height(), offset = windowHeight - (windowHeight / 4); function animeScroll() { var documentTop = $(document).scrollTop(); $target.each(function() { if (documentTop > boxTop(this) - offset) { $(this).addClass(animationClass); } }); } animeScroll(); $(document).scroll(function() { animeScroll(); }); }); </script>]]> |
821 | <![CDATA[<script> function btnPesquisar() { var pesquisar = document.getElementById("pesquisar-div") if (pesquisar.style.width === "0px") { pesquisar.style.display = "block"; pesquisar.style.width = '150px'; pesquisar.style.animation = "mover ease 0.8s"; } else { pesquisar.style.width = '0px'; pesquisar.style.animation = "fechar ease 0.8s"; setTimeout(() => { pesquisar.style.display = 'none' }, 800); } } </script>]]> |