Sites Pertecentes a (o) PA
Endereço | Nota | Erros | Avisos |
---|---|---|---|
oriximina.pa.gov.br/boletim.php |
73.22 | 45 | 524 |
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 | 39 150 360 458 1256 1590 1618 1644 |
39 | <![CDATA[<script> var tam = 15; function mudaFonte(tipo, elemento) { if (tipo == "mais") { if (tam < 24) tam += 1; } else { if (tam > 10) tam -= 1; } document.getElementById("Noticia").style.fontSize = tam + "px"; document.getElementById("Descricao").style.fontSize = tam + "px"; } function printDiv(id, pg, url) { var oPrint, oJan; oPrint = window.document.getElementById(id).innerHTML; oJan = window.open(pg); oJan.document.write(oPrint); oJan.document.write(url); oJan.window.print(); oJan.document.close(); oJan.focus(); } // Função contraste INICIO (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); } })(); // Função contraste FIM </script>]]> |
150 | <![CDATA[<script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'pt', autoDisplay: false, includedLanguages: 'de,es,fr,en,it', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); } </script>]]> |
360 | <![CDATA[<script> $(document).ready(function() { $(window).scroll(function() { if ($(this).scrollTop() > 100) { $("#top-bar").fadeOut(); $("#logo-top-bar").fadeOut(); $('#scroll').fadeIn(); } else { $("#top-bar").fadeIn(); $("#logo-top-bar").fadeIn(); $('#scroll').fadeOut(); } }); $('#scroll').click(function() { $("html, body").animate({ scrollTop: 0 }, 0); return false; }); $('#menu-acessiblidade').hide().contents().hide(); $('#btnperq').on('click', function(e) { e.preventDefault(); $('#menu-acessiblidade').slideToggle('fast', function(e) { if ($(this).is(':visible')) { $(this).contents().fadeIn(1000); } else { $(this).contents().hide(); } }); }) }); </script>]]> |
458 | <![CDATA[<script type="text/javascript"> google.charts.load('current', { 'packages': ['corechart'] }); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Data', 'CONFIRMADOS', 'ÓBITOS', 'DESCARTADOS', 'INTERNADOS', 'CURADOS', 'ISOLAMENTO' ], ['06/07', 12966, 195, 12770, 3, 12534, 199 ], ['07/07', 12999, 195, 12807, 3, 12534, 232 ], ['08/07', 13028, 195, 12837, 3, 12534, 259 ], ['09/07', 13051, 195, 12837, 2, 12534, 271 ], ['10/07', 13064, 195, 12837, 1, 12534, 284 ], ['11/07', 13104, 195, 12867, 3, 12558, 324 ], ['12/07', 13133, 195, 12907, 3, 12558, 349 ], ['13/07', 13162, 195, 12928, 4, 12558, 349 ], ['14/07', 13205, 195, 12964, 3, 12558, 389 ], ['15/07', 13205, 195, 12964, 3, 12558, 389 ], ['16/07', 13205, 195, 12964, 3, 12558, 389 ], ['17/07', 13315, 195, 12982, 8, 12572, 389 ], ['18/07', 13349, 195, 13002, 9, 12572, 389 ], ]); var options = { title: '', height: 400, chartArea: { width: '90%' }, legend: { position: 'top' }, series: { 0: { color: '#e74c3c' }, 1: { color: '#2D3436' }, 2: { color: '#27ae60' }, 3: { color: '#8e44ad' }, 4: { color: '#2980b9' }, 5: { color: '#7f8c8d' } }, lineWidth: 4, hAxis: { title: '' }, vAxis: { minValue: 0 } }; var chart = new google.visualization.LineChart(document.getElementById('chart_div')); chart.draw(data, options); var columns = []; var series = {}; for (var i = 0; i < data.getNumberOfColumns(); i++) { columns.push(i); if (i > 0) { series[i - 1] = {}; } } google.visualization.events.addListener(chart, 'select', function () { var sel = chart.getSelection(); // if selection length is 0, we deselected an element if (sel.length > 0) { // if row is undefined, we clicked on the legend if (sel[0].row === null) { var col = sel[0].column; if (columns[col] == col) { // hide the data series columns[col] = { label: data.getColumnLabel(col), type: data.getColumnType(col), calc: function () { return null; }, }; // grey out the legend entry series[col - 1].color = '#CCCCCC'; } else { // show the data series columns[col] = col; series[col - 1].color = null; } var view = new google.visualization.DataView(data); view.setColumns(columns); chart.draw(view, options); } } }); } </script>]]> |
1256 | <![CDATA[<script> shortcut.add("Alt+H", function() { window.location.assign("index.php"); }); shortcut.add("Alt+Shift+1", function() { window.location.assign("acessibilidade.php"); }); shortcut.add("Alt+9", function() { window.scrollTo(0, 0); }); shortcut.add("Alt+C", function() { window.location.href = '#ancora'; }); </script>]]> |
1590 | <![CDATA[<script> var cookies2 = document.cookie; if (cookies2.indexOf("usuarioCookiesPm") == -1) { document.getElementById('cookie-container').style.display = "flex"; } function fechaDiv(){ document.cookie = 'usuarioCookiesPm=SIM; max-age=86400;path=/'; $.post("data_cookies.php", { usercookies : "YES" }, function(msg){ }) document.getElementById('cookie-container').style.display = "none"; } </script>]]> |
1618 | <![CDATA[<script type="text/javascript" language="javascript"> jQuery(function($) { $("#dtini").mask("99/99/9999"); $("#dtfim").mask("99/99/9999"); }); $(document).ready( function() { (function($) { $('#filter').keyup(function() { var rex = new RegExp($(this).val(), 'i'); $('.linha').hide(); $('.linha').filter(function() { return rex.test($(this).text()); }).show(); }) }(jQuery)); }); </script>]]> |
1644 | <![CDATA[<script> $(function() { /* Custom buttons */ $('#font-setting-buttons').easyView({ container: 'body, .row', increaseSelector: '.increase-me', decreaseSelector: '.decrease-me', normalSelector: '.reset-me', contrastSelector: '.change-me' }); }); </script>]]> |