Sites Pertecentes a (o) RJ
Endereço | Nota | Erros | Avisos |
---|---|---|---|
www.rj.gov.br/secretaria/Agenda.aspx?agd=20 |
74.96 | 24 | 215 |
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 | 5 | 84 258 271 283 344 |
84 | <![CDATA[<script> /* When the user clicks on the button, toggle between hiding and showing the dropdown content */ function myFunction() { document.getElementById("acessibilidade-myDropdown").classList.toggle("acessibilidade-show"); } // Close the dropdown if the user clicks outside of it window.onclick = function (event) { if (!event.target.matches('.acessibilidade-dropbtn')) { var dropdowns = document.getElementsByClassName("acessibilidade-dropdown-content"); var i; for (i = 0; i < dropdowns.length; i++) { var openDropdown = dropdowns[i]; if (openDropdown.classList.contains('acessibilidade-show')) { openDropdown.classList.remove('acessibilidade-show'); } } } } </script>]]> |
258 | <![CDATA[<script> $('.menu-mob').click(function (e) { e.preventDefault(); $('.dropdown-menu').fadeIn(); }); $('.menu-mob-close').click(function (e) { e.preventDefault(); $('.dropdown-menu').fadeOut(); }); </script>]]> |
271 | <![CDATA[<script> $('.btn-saiba-mais').click(function () { $('.box-acesso-informacao').fadeToggle(); $('.box-acesso-informacao').css('display', 'flex'); $('.box-acesso').fadeToggle(1); }); $('.close-secretario').click(function () { $('.box-acesso-informacao').fadeToggle(1); $('.box-acesso').fadeToggle(); }); </script>]]> |
283 | <![CDATA[<script> // SLIDER PRINCIPAL var swiper = new Swiper('.s1', { direction: 'horizontal', pagination: { el: '.swiper-pagination', clickable: true, }, autoplay: { delay: 3000, disableOnInteraction: false, }, }); // ESTRUTURA var swiper = new Swiper('.s2', { slidesPerView: 3, spaceBetween: 10, slidesPerGroup: 1, loop: true, loopFillGroupWithBlank: true, pagination: { el: '.swiper-pagination .s2', clickable: true, }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, }); // VAMOS VIRAR O JOGO var swiper = new Swiper('.s3', { direction: 'horizontal', pagination: { el: '.swiper-pagination', clickable: true, }, autoplay: { delay: 3000, disableOnInteraction: false, }, }); // SERVI�OS var swiper = new Swiper('.s4', { slidesPerView: 3, spaceBetween: 10, slidesPerGroup: 1, loop: true, loopFillGroupWithBlank: true, pagination: { el: '.swiper-pagination .s4', clickable: true, }, navigation: { nextEl: '.swiper-button-next-s4', prevEl: '.swiper-button-prev-s4', }, }); </script>]]> |
344 | <![CDATA[<script type="text/javascript"> /*Scroll to top when arrow up clicked BEGIN*/ $(window).scroll(function () { var height = $(window).scrollTop(); if (height > 100) { $('#back2Top').fadeIn(); } else { $('#back2Top').fadeOut(); } }); $(document).ready(function () { $("#back2Top").click(function (event) { event.preventDefault(); $("html, body").animate({ scrollTop: 0 }, "slow"); return false; }); }); </script>]]> |