접근성 수정
This commit is contained in:
parent
a47f1ab061
commit
87867dfe3f
@ -18,6 +18,19 @@ $(document).ready(function() {
|
||||
var unreadNotiCnt = $(".noti-btn span.count").text();
|
||||
gfn_myAlert(unreadNotiCnt);
|
||||
|
||||
// 접근성
|
||||
$("#searchHeaderButton").focus(function(){
|
||||
$('.skip-nav').show();
|
||||
$('.skip-nav a:nth-of-type(1)').focus();
|
||||
});
|
||||
$('.skip-nav a:nth-of-type(4)').focusout(function(){
|
||||
$('.skip-nav').hide();
|
||||
});
|
||||
$(".skip-nav a").keydown(function (e) {
|
||||
if (e.keyCode == 13) {
|
||||
$('.skip-nav').hide();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@ -87,20 +100,6 @@ function fn_listPops(typeDivCd) {
|
||||
$("#listPops_" + typeDivCd).show();
|
||||
|
||||
}
|
||||
|
||||
// 접근성
|
||||
$("#searchHeaderButton").focus(function(){
|
||||
$('.skip-nav').show();
|
||||
$('.skip-nav a:nth-of-type(1)').focus();
|
||||
});
|
||||
$('.skip-nav a:nth-of-type(4)').focusout(function(){
|
||||
$('.skip-nav').hide();
|
||||
});
|
||||
$(".skip-nav a").keydown(function (e) {
|
||||
if (e.keyCode == 13) {
|
||||
$('.skip-nav').hide();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- 섹션1 -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user