2024/02/19 웹접근성 : 헤더와 풋터의 버튼은 활성화되게/ checked 소스에 노출 안되게 수정, 테이블 레이블 수정

This commit is contained in:
kmg 2024-02-19 17:15:04 +09:00
parent a266ac1a71
commit 69c11ce95e

View File

@ -1076,17 +1076,30 @@ function _chkChasiTime(p_this){
//240219 웹접근성 조치로 인한 disabeld가 아닌 다른 방법 사용 //240219 웹접근성 조치로 인한 disabeld가 아닌 다른 방법 사용
$("input[type='text']").prop('readonly', true); $("input[type='text']").prop('readonly', true);
$("button").attr("onclick", "return false;"); //$("button").attr("onclick", "return false;");
$("select").on("mousedown", function(e) { $(".btnType05").attr("onclick", "return false;");
$(".btnType01").attr("onclick", "return false;");
$(".table_del").attr("onclick", "return false;");
//$("select").on("mousedown", function(e) {
// e.preventDefault();
//});
//$("select").on("keydown", function(e) {
// if (e.keyCode != 9) { // 탭키만 작동 가능
// e.preventDefault();
// }
//});
$(".selType1").on("mousedown", function(e) {
e.preventDefault(); e.preventDefault();
}); });
$("select").on("keydown", function(e) { $(".selType1").on("keydown", function(e) {
if (e.keyCode != 9) { // 탭키만 작동 가능 if (e.keyCode != 9) { // 탭키만 작동 가능
e.preventDefault(); e.preventDefault();
} }
}); });
$("input[type='radio']").each(function(idx,itm){ $("input[type='radio']").each(function(idx,itm){
$(this).prop('checked', false); $(this).prop('checked', false);
$(this).attr("onclick", "return false;");
$(this).removeAttr("checked");
}); });
$("input[type='radio']").prop("chekced", false); $("input[type='radio']").prop("chekced", false);
$("input[type='checkbox']").on("click", function(e) { $("input[type='checkbox']").on("click", function(e) {
@ -1095,7 +1108,9 @@ function _chkChasiTime(p_this){
$("button").removeAttr("data-tooltip"); $("button").removeAttr("data-tooltip");
$("[readonly]").attr("title","비활성화됨"); $("[readonly]").attr("title","비활성화됨");
$("[onclick='return false;']").attr("title","비활성화됨"); $("[onclick='return false;']").attr("title","비활성화됨");
$("input,select").attr("title","비활성화됨"); //$("input,select").attr("title","비활성화됨");
$("input").attr("title","비활성화됨");
$(".selType1").attr("title","비활성화됨");
$(".time_set_btn").remove(); $(".time_set_btn").remove();
}else{ }else{
@ -1931,7 +1946,7 @@ function _chkChasiTime(p_this){
</td> </td>
<td> <td>
<label for="sel1" class="label">학생/선생님 선택</label> <label for="sel1" class="label">점심시간 포함여부 선택</label>
<ve:select codeId="VE0010" name="divCd" id="sel1" styleClass="selType1"/> <ve:select codeId="VE0010" name="divCd" id="sel1" styleClass="selType1"/>
</td> </td>
<!-- <!--