Commit d00e10b91b8799bd0e1a41b5713e2549763ffa11
1 parent
3b179a61
Exists in
master
Alteracoes na camada de apresentacao
Showing
3 changed files
with
41 additions
and
46 deletions
Show diff stats
WebContent/WEB-INF/jsp/index/formulario.jsp
... | ... | @@ -433,7 +433,7 @@ |
433 | 433 | |
434 | 434 | <fieldset class="pergunta"> |
435 | 435 | <input type="hidden" name="hDeficiencias" value="22" /> |
436 | - <legend class="obrigatorio" id="deficienciasPergunta">16) Caso o órgão realize validações através de pessoas com deficiência, selecione abaixo quais deficiências são utilizadas para validações:</legend> | |
436 | + <legend id="deficienciasPergunta">16) Caso o órgão realize validações com pessoas com deficiência, selecione abaixo quais pessoas fazem essas validações:</legend> | |
437 | 437 | |
438 | 438 | <c:set var="marcar" scope="session" value="false" /> |
439 | 439 | <c:forEach items="${deficiencias}" var="item"> |
... | ... | @@ -443,7 +443,7 @@ |
443 | 443 | </c:forEach> |
444 | 444 | <input type="checkbox" name="deficiencias" id="defVisual" |
445 | 445 | value="65" ${marcar == 'true'?'checked=\"checked\"':''}><label |
446 | - for="defVisual">Deficiência Visual</label><br> | |
446 | + for="defVisual">Pessoa cega ou com baixa visão</label><br> | |
447 | 447 | |
448 | 448 | <c:set var="marcar" scope="session" value="false" /> |
449 | 449 | <c:forEach items="${deficiencias}" var="item"> |
... | ... | @@ -453,7 +453,7 @@ |
453 | 453 | </c:forEach> |
454 | 454 | <input type="checkbox" name="deficiencias" id="defAuditiva" |
455 | 455 | value="66" ${marcar == 'true'?'checked=\"checked\"':''}><label |
456 | - for="defAuditiva">Deficiência Auditiva</label><br> | |
456 | + for="defAuditiva">Pessoa surda ou com deficiência auditiva</label><br> | |
457 | 457 | |
458 | 458 | <c:set var="marcar" scope="session" value="false" /> |
459 | 459 | <c:forEach items="${deficiencias}" var="item"> |
... | ... | @@ -463,7 +463,7 @@ |
463 | 463 | </c:forEach> |
464 | 464 | <input type="checkbox" name="deficiencias" id="defIntelectual" |
465 | 465 | value="67" ${marcar == 'true'?'checked=\"checked\"':''}><label |
466 | - for="defIntelectual">Deficiência Intelectual</label><br> | |
466 | + for="defIntelectual">Pessoa com deficiência intelectual</label><br> | |
467 | 467 | |
468 | 468 | <c:set var="marcar" scope="session" value="false" /> |
469 | 469 | <c:forEach items="${deficiencias}" var="item"> |
... | ... | @@ -473,7 +473,7 @@ |
473 | 473 | </c:forEach> |
474 | 474 | <input type="checkbox" name="deficiencias" value="68" |
475 | 475 | id="defFisica" ${marcar == 'true'?'checked=\"checked\"':''}><label |
476 | - for="defFisica">Deficiência Física</label><br> | |
476 | + for="defFisica">Pessoa com deficiência física ou motora</label><br> | |
477 | 477 | |
478 | 478 | <c:set var="marcar" scope="session" value="false" /> |
479 | 479 | <c:forEach items="${deficiencias}" var="item"> |
... | ... | @@ -603,9 +603,9 @@ |
603 | 603 | |
604 | 604 | <br><br> |
605 | 605 | |
606 | - <label for="dificuldadePrazo" class="obrigatorio">20) Mencione abaixo as dificuldades para o atendimento do prazo previsto na legislação para o estabelecimento da acessibilidade digital, caso o órgao esteja enfrentando estas dificuldades:</label> | |
606 | + <label for="dificuldadePrazo">20) Mencione abaixo as dificuldades para o atendimento do prazo previsto na legislação para o estabelecimento da acessibilidade digital, caso o órgao esteja enfrentando estas dificuldades:</label> | |
607 | 607 | <input type="hidden" name="hDificuldadePrazo" value="26" /> |
608 | - <textarea name="dificuldadePrazo" id="dificuldadePrazo" rows="8" cols="100" maxlength="600" required><c:if test="${dificuldadePrazo != null}">${dificuldadePrazo}</c:if></textarea><br><br> | |
608 | + <textarea name="dificuldadePrazo" id="dificuldadePrazo" rows="8" cols="100" maxlength="600"><c:if test="${dificuldadePrazo != null}">${dificuldadePrazo}</c:if></textarea><br><br> | |
609 | 609 | |
610 | 610 | <div><h3>Leis, Documentos e Sítios referenciados neste formulário:</h3> |
611 | 611 | <ul> | ... | ... |
WebContent/WEB-INF/jsp/relatorio/relatorioImprimir.jsp
... | ... | @@ -181,10 +181,7 @@ |
181 | 181 | validado?</label> |
182 | 182 | <p> <strong>Resposta: ${checklistQtnList }</strong></p> |
183 | 183 | |
184 | -<label>16) | |
185 | - Caso o órgão realize validações através de pessoas com | |
186 | - deficiência, selecione abaixo quais deficiências são utilizadas | |
187 | - para validações:</label> | |
184 | +<label>16) Caso o órgão realize validações com pessoas com deficiência, selecione abaixo quais pessoas fazem essas validações:</label> | |
188 | 185 | |
189 | 186 | |
190 | 187 | <p><strong> Resposta: <br> | ... | ... |
WebContent/js/acessibilidade.js
... | ... | @@ -75,9 +75,8 @@ $(document).ready(function() { |
75 | 75 | }); |
76 | 76 | |
77 | 77 | |
78 | -$(document).ready(function() { | |
79 | - | |
80 | - $("#nenhuma").click(function(){ | |
78 | +$(document).ready(function() { | |
79 | + $("#nenhuma").on('change', function(){ | |
81 | 80 | if (document.getElementById("nenhuma").checked == true){ |
82 | 81 | document.getElementById("asesWeb").disabled = true; |
83 | 82 | document.getElementById("asesDesktop").disabled = true; |
... | ... | @@ -126,42 +125,41 @@ $(document).ready(function() { |
126 | 125 | document.getElementById("outro").disabled = false; |
127 | 126 | } |
128 | 127 | }); |
129 | - | |
130 | - | |
131 | - }); | |
132 | - | |
128 | +}); | |
133 | 129 | |
134 | -$("#assistiva0").click(function(){ | |
135 | - if (document.getElementById("assistiva0").checked == true){ | |
136 | - document.getElementById("assistiva1").disabled = true; | |
137 | - document.getElementById("assistiva2").disabled = true; | |
138 | - document.getElementById("assistiva3").disabled = true; | |
139 | - document.getElementById("assistiva4").disabled = true; | |
140 | - document.getElementById("assistiva5").disabled = true; | |
141 | - document.getElementById("assistiva6").disabled = true; | |
142 | - document.getElementById("assistiva7").disabled = true; | |
143 | - document.getElementById("assistiva8").disabled = true; | |
130 | +$(document).ready(function() { | |
131 | + $("#assistiva0").on('change', function(){ | |
132 | + if (document.getElementById("assistiva0").checked == true){ | |
133 | + document.getElementById("assistiva1").disabled = true; | |
134 | + document.getElementById("assistiva2").disabled = true; | |
135 | + document.getElementById("assistiva3").disabled = true; | |
136 | + document.getElementById("assistiva4").disabled = true; | |
137 | + document.getElementById("assistiva5").disabled = true; | |
138 | + document.getElementById("assistiva6").disabled = true; | |
139 | + document.getElementById("assistiva7").disabled = true; | |
140 | + document.getElementById("assistiva8").disabled = true; | |
144 | 141 | |
145 | - document.getElementById("assistiva1").checked = false; | |
146 | - document.getElementById("assistiva2").checked = false; | |
147 | - document.getElementById("assistiva3").checked = false; | |
148 | - document.getElementById("assistiva4").checked = false; | |
149 | - document.getElementById("assistiva5").checked = false; | |
150 | - document.getElementById("assistiva6").checked = false; | |
151 | - document.getElementById("assistiva7").checked = false; | |
152 | - document.getElementById("assistiva8").checked = false; | |
142 | + document.getElementById("assistiva1").checked = false; | |
143 | + document.getElementById("assistiva2").checked = false; | |
144 | + document.getElementById("assistiva3").checked = false; | |
145 | + document.getElementById("assistiva4").checked = false; | |
146 | + document.getElementById("assistiva5").checked = false; | |
147 | + document.getElementById("assistiva6").checked = false; | |
148 | + document.getElementById("assistiva7").checked = false; | |
149 | + document.getElementById("assistiva8").checked = false; | |
153 | 150 | |
154 | - }else{ | |
155 | - document.getElementById("assistiva1").disabled = false; | |
156 | - document.getElementById("assistiva2").disabled = false; | |
157 | - document.getElementById("assistiva3").disabled = false; | |
158 | - document.getElementById("assistiva4").disabled = false; | |
159 | - document.getElementById("assistiva5").disabled = false; | |
160 | - document.getElementById("assistiva6").disabled = false; | |
161 | - document.getElementById("assistiva7").disabled = false; | |
162 | - document.getElementById("assistiva8").disabled = false; | |
151 | + }else{ | |
152 | + document.getElementById("assistiva1").disabled = false; | |
153 | + document.getElementById("assistiva2").disabled = false; | |
154 | + document.getElementById("assistiva3").disabled = false; | |
155 | + document.getElementById("assistiva4").disabled = false; | |
156 | + document.getElementById("assistiva5").disabled = false; | |
157 | + document.getElementById("assistiva6").disabled = false; | |
158 | + document.getElementById("assistiva7").disabled = false; | |
159 | + document.getElementById("assistiva8").disabled = false; | |
163 | 160 | |
164 | - } | |
161 | + } | |
162 | + }); | |
165 | 163 | }); |
166 | 164 | |
167 | 165 | ... | ... |