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

Sites Pertecentes a (o) SE

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 10 20 269 626 683 691 699 703 717 735 786
20 <![CDATA[<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"> </script>]]>
269 <![CDATA[<script type="text/javascript"> //Constrói a URL depois que o DOM estiver pronto document.addEventListener("DOMContentLoaded", function() { var url = encodeURIComponent(window.location.href); var titulo = encodeURIComponent(document.title); document.getElementById("twitter-share-btt").href = "https://twitter.com/intent/tweet?url="+url+"&text="+titulo; }, false); </script>]]>
626 <![CDATA[<script type="text/javascript"> function imprimir(){ var conteudo = document.getElementById('impressao').innerHTML; tela_impressao = window.open('about:blank'); tela_impressao.document.write(conteudo); tela_impressao.window.print(); tela_impressao.window.close(); } </script>]]>
683 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
691 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-143023290-1'); </script>]]>
699 <![CDATA[<script>window.jQuery || document.write('<script src="/docs/4.3/assets/js/vendor/jquery-slim.min.js"><\/script>')</script>]]>
703 <![CDATA[<script type="text/javascript"> $( '[data-fancybox="images"]' ).fancybox({ caption : function( instance, item ) { var caption = $(this).data('caption') || ''; if ( item.type === 'image' ) { caption = (caption.length ? caption + '<br />' : '') + '<a href="' + item.src + '">Download image</a>' ; } return caption; } }); </script>]]>
717 <![CDATA[<script type="text/javascript"> var $btnAumentar = $("#btnAumentar"); var $btnDiminuir = $("#btnDiminuir"); var $elemento = $("body p"); function obterTamnhoFonte() { return parseFloat($elemento.css('font-size')); } $btnAumentar.on('click', function() { $elemento.css('font-size', obterTamnhoFonte() + 1); }); $btnDiminuir.on('click', function() { $elemento.css('font-size', obterTamnhoFonte() - 1); }); </script>]]>
735 <![CDATA[<script type="text/javascript"> (function () { var Contrast = { storage: 'contrastState', cssClass: 'contrast', currentState: null, check: checkContrast, getState: getContrastState, setState: setContrastState, toogle: toogleContrast, updateView: updateViewContrast }; window.toggleContrast = function () { Contrast.toogle(); }; Contrast.check(); function checkContrast() { this.updateView(); } function getContrastState() { return localStorage.getItem(this.storage) === 'true'; } function setContrastState(state) { localStorage.setItem(this.storage, '' + state); this.currentState = state; this.updateView(); } function updateViewContrast() { var body = document.body; if (this.currentState === null) this.currentState = this.getState(); if (this.currentState) body.classList.add(this.cssClass); else body.classList.remove(this.cssClass); } function toogleContrast() { this.setState(!this.currentState); } })(); </script>]]>
786 <![CDATA[<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-5SM7R5X');</script>]]>