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

Sites Pertecentes a (o) PR

Endereço Nota Erros Avisos

marmeleiro.pr.gov.br/nfse.php

72.04 12 70
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 65 419 453 461 470 475 497 510
65 <![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 (!body) return; 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>]]>
419 <![CDATA[<script id="rendered-js" > var $affectedElements = $("p, h1, h2, h3, h4, h5, h6, span, div, li, button, input, select"); // Can be extended, ex. $("div, p, span.someClass") // Storing the original size in a data attribute so size can be reset $affectedElements.each(function () { var $this = $(this); $this.data("orig-size", $this.css("font-size")); }); $("#btn-aumenta").click(function () { changeFontSize(1); }); $("#btn-diminui").click(function () { changeFontSize(-1); }); $("#btn-padrao").click(function () { $affectedElements.each(function () { var $this = $(this); $this.css("font-size", $this.data("orig-size")); }); }); function changeFontSize(direction) { $affectedElements.each(function () { var $this = $(this); $this.css("font-size", parseInt($this.css("font-size")) + direction); }); } //# sourceURL=pen.js </script>]]>
453 <![CDATA[<script type="text/javascript"> var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { return new bootstrap.Tooltip(tooltipTriggerEl) }) </script>]]>
461 <![CDATA[<script type="text/javascript"> var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="collapse"]')) var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { return new bootstrap.Tooltip(tooltipTriggerEl) }) </script>]]>
470 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
475 <![CDATA[<script> //Get the button var mybutton = document.getElementById("myBtn"); // When the user scrolls down 20px from the top of the document, show the button window.onscroll = function() {scrollFunction()}; function scrollFunction() { if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { mybutton.style.display = "block"; } else { mybutton.style.display = "block"; } } // When the user clicks on the button, scroll to the top of the document function topFunction() { document.body.scrollTop = 0; document.documentElement.scrollTop = 0; } </script>]]>
497 <![CDATA[<script> window.onscroll = function () { menuCor(); }; function menuCor() { if (document.body.scrollTop > 60 || document.documentElement.scrollTop > 200) { document.getElementById("menu-horizontal").className = "navbar navbar-expand-lg sticky-top navbar-dark menuCor"; }else{ document.getElementById("menu-horizontal").className = "navbar navbar-expand-lg navbar-light menuNormal"; } } </script>]]>
510 <![CDATA[<script> if (window.screen.width < 576) { document.getElementById("acessibilidade").className = "collapse show"; mybutton.style.display = "none"; }else{ document.getElementById("acessibilidade").className = "collapse"; mybutton.style.display = "block"; } document.body.onresize = function() { if (document.body.clientWidth < 576) { //if (window.screen.width< 576) { document.getElementById("acessibilidade").className = "collapse show"; mybutton.style.display = "none"; //document.getElementById("st-3").className = "st-sticky-share-buttons st-right st-toggleable"; }else{ document.getElementById("acessibilidade").className = "collapse"; mybutton.style.display = "block"; //document.getElementById("st-3").className = "st-sticky-share-buttons st-right st-toggleable d-none"; } }; </script>]]>