Sites Pertecentes a (o) SC
Endereço | Nota | Erros | Avisos |
---|---|---|---|
selosocial.itajai.sc.gov.br/participantes-premiados/
|
61.58 | 18 | 74 |
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 | 3 | 38 221 336 |
38 | <![CDATA[<script>var caminhoCompleto = '/public/padrao/';</script>]]> |
221 | <![CDATA[<script> $(window).on('load', function() { $('#aviso').modal('show'); }); $(document).ready(function() { let slidesPerView = 0; if (window.matchMedia("(min-width:1000px)").matches) { slidesPerView = 5 } else { slidesPerView = 2; } const mySwiper = new Swiper(".swiper-container", { spaceBetween: 10, slidesPerView, centeredSlides: true, roundLengths: true, loop: true, loopAdditionalSlides: 10, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev" }, autoplay: { delay: 2000, }, }); }); const elementos=document.querySelectorAll('[data-trans'); const transitionClass = 'animated'; function transScroll() { const top = window.pageYOffset+((window.innerHeight*3.5/4)); elementos.forEach(function(elemento){ if(top > elemento.offsetTop) { elemento.classList.add(transitionClass); } else { elemento.classList.remove(transitionClass); } }); } if(elementos.length) { window.addEventListener('scroll',function(){ transScroll(); }) } </script>]]> |
336 | <![CDATA[<script type="text/javascript"> Inputmask.extendDefaults({ clearIncomplete: true, showMaskOnHover: false }); window.addEventListener("scroll", function() { var header = document.querySelector("header"); var logo = document.getElementById("logo"); header.classList.toggle("sticky",window.scrollY > 0); if(window.scrollY > 0) { logo.style.transition = "all .4s ease-in-out"; logo.src = "/assets-selo/images/selo-baloes-invertido.png"; } else { logo.style.transition = "all .4s ease-in-out"; logo = document.getElementById("logo").src = "/assets-selo/images/selo-baloes.png"; } }); const windowSize = window.matchMedia('(max-width: 999px)'); windowSize.onchange = function() { header.classList.remove("sticky"); logo = document.getElementById("logo").src = "/assets-selo/images/selo-baloes.png"; }; function toggle() { document.querySelector("header").classList.toggle("active"); } window.addEventListener('keydown',function(event){ if(event.code == 'Escape'){ document.querySelector("header").classList.remove("active"); } }); </script>]]> |