Sites Pertecentes a (o) PA
Endereço | Nota | Erros | Avisos |
---|---|---|---|
transparencia.santarem.pa.gov.br/portal/faq |
71.8 | 20 | 62 |
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 | 4 | 33 36 484 488 |
33 | <![CDATA[<script data-turbo-eval="false" data-turbolinks-eval="false" >window.livewire = new Livewire();window.Livewire = window.livewire;window.livewire_app_url = '';window.livewire_token = 'MF2RFOi0uvQRf3TYUBczVACWtYKBdNeLKmm1qaY8';window.deferLoadingAlpine = function (callback) {window.addEventListener('livewire:load', function () {callback();});};let started = false;window.addEventListener('alpine:initializing', function () {if (! started) {window.livewire.start();started = true;}});document.addEventListener("DOMContentLoaded", function () {if (! started) {window.livewire.start();started = true;}});</script>]]> |
36 | <![CDATA[<script> if (localStorage.getItem('color-theme') === 'dark') { document.documentElement.classList.add('dark'); } else { document.documentElement.classList.remove('dark') } </script>]]> |
484 | <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]> |
488 | <![CDATA[<script> document.addEventListener('alpine:init', () => { Alpine.data('changeFont', () => ({ init(){ this.change(this.getFontSize()) }, change(number) { elements = document.body.querySelectorAll('button, label, p, h1, h2, h3, h4, h5, h6, span, small, strong, li, a') elements.forEach((item, index) => { style = window.getComputedStyle(item) fontSize = parseFloat(style.getPropertyValue('font-size')) item.style.fontSize = (fontSize + parseFloat(number)) + 'px' }) }, increase() { this.change(1) this.storage(1) }, decrease() { this.change(-1) this.storage(-1) }, storage(number) { localStorage.setItem('font-size', parseFloat(this.getFontSize()) + parseFloat(number)) }, getFontSize() { if(!localStorage.getItem('font-size')){ localStorage.setItem('font-size', 0) } return localStorage.getItem('font-size') } })) }) </script>]]> |