From 162001135fad53805e41b34efe5838b097f05de3 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 22 Apr 2013 16:57:59 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=ED=86=B5:=20alt=20=EA=B0=92=EB=A7=8C?= =?UTF-8?q?=20=EA=B0=96=EB=8A=94=20=EA=B7=B8=EB=9E=98=ED=94=BD=20=EB=A7=81?= =?UTF-8?q?=ED=81=AC=20=EB=A7=88=EC=9A=B0=EC=8A=A4=20=EC=98=A4=EB=B2=84?= =?UTF-8?q?=EC=8B=9C=20title=20=EA=B0=92=20=EB=B6=80=EC=97=AC,=20=EB=A7=88?= =?UTF-8?q?=EC=9A=B0=EC=8A=A4=EC=95=84=EC=9B=83=EC=8B=9C=20title=20?= =?UTF-8?q?=EA=B0=92=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/js/common.js b/js/common.js index bdec9ce55..a8a61eac8 100644 --- a/js/common.js +++ b/js/common.js @@ -383,6 +383,19 @@ var win_poll = function(href) { new_win.focus(); } +/** + * 스크린리더 미사용자를 위한 스크립트 - 지운아빠 2013-04-22 + * alt 값만 갖는 그래픽 링크에 마우스오버 시 title 값 부여, 마우스아웃 시 title 값 제거 + **/ +$(function() { + $('a img').mouseover(function() { + $a_img_title = $(this).attr('alt'); + $(this).attr('title', $a_img_title); + }).mouseout(function() { + $(this).attr('title', ''); + }); +}); + /** * 텍스트 리사이즈 **/