From f2fe09baf63c96c009dd7348a34d2032b993433e Mon Sep 17 00:00:00 2001 From: suksa <40312432+suksa@users.noreply.github.com> Date: Mon, 20 Dec 2021 20:00:32 +0900 Subject: Description error for tabindex default value [fix] Modify the description of the tabindex default value. --- files/ko/web/html/global_attributes/tabindex/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ko/web') diff --git a/files/ko/web/html/global_attributes/tabindex/index.html b/files/ko/web/html/global_attributes/tabindex/index.html index dcd200cfd7..79e16e4755 100644 --- a/files/ko/web/html/global_attributes/tabindex/index.html +++ b/files/ko/web/html/global_attributes/tabindex/index.html @@ -24,7 +24,7 @@ translation_of: Web/HTML/Global_attributes/tabindex
참고: 음의 값은 특정 이벤트에만 나타나는 요소에 유용합니다. 사용자는 키보드를 계속 눌러도 접근할 수 없으나, 스크립트에서는 {{domxref("HTMLOrForeignElement.focus", "focus()")}} 메서드를 호출해 포커스를 부여할 수 있기 때문입니다.
-tabindex="0"
은 기본값으로, 연속 키보드 탐색으로 요소에 접근할 수 있으며 문서 소스 코드의 순서에 따른다는 것을 나타냅니다. 양의 정숫값을 가진 요소가 존재할 경우 순서는 그 이후가 됩니다.tabindex="0"
이 기본값이고, 비 대화형 콘텐츠는 tabindex="-1"
이 기본값입니다. 연속 키보드 탐색으로 요소에 접근할 수 있으며 문서 소스 코드의 순서에 따른다는 것을 나타냅니다. 양의 정숫값을 가진 요소가 존재할 경우 순서는 그 이후가 됩니다.tabindex="4"
인 요소는 tabindex="5"
와 tabindex="0"
인 요소 이전에, 그러나 tabindex="3"
인 요소 이후에 접근할 수 있습니다. 다수의 요소가 하나의 값을 공유할 경우 그 안에서 문서 소스 코드의 순서를 따릅니다. 최댓값은 32767
입니다.
0보다 큰 tabindex
값을 피하세요. 접근성 보조기술 사용자의 페이지 탐색과 조작에 방해될 수 있습니다. 대신, 문서의 요소 순서를 논리적인 순서대로 배치하세요.