본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)75k · #3060

touch-targets

하는 일

이 스킬은 터치스크린에서 누를 수 있는 요소가 충분히 큰지 확인합니다. 터치로 쓰기 쉬운 사이트를 원하는 디자이너와 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓닫기나 삭제 같은 아이콘 버튼이 모바일에서 아주 작을 때.
  • ✓모바일 레이아웃에서 링크나 입력 요소가 빽빽하게 붙어 있을 때.
  • ✓접근성 검토에서 권장 크기보다 작은 터치 대상이 지적될 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/touch-targets/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/touch-targets/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“모바일 메뉴의 닫기 버튼이 너무 작아서 누르기 어렵습니다. 크기를 확인해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 패딩을 포함해 상호작용 요소의 크기를 잽니다. 작은 요소를 표시하고, 보이는 크기는 그대로 두면서 누를 수 있는 영역을 넓히는 방법을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Provide sufficient touch target size

Motor disabilities such as essential tremor, Parkinson's disease, hemiplegia, and spasticity make it difficult to tap small targets with precision. A 24×24px icon button with no padding requires a fine-motor action that many users simply cannot perform. Insufficient tap target size is one of the most common barriers for users with mobility impairments on mobile and tablet devices. Even users without disabilities benefit from larger targets, reducing accidental activations.

Quick Reference

  • WCAG 2.2 SC 2.5.5 (AAA): touch targets must be at least 44×44 CSS pixels
  • WCAG 2.2 SC 2.5.8 (AA, new in WCAG 2.2): targets must be at least 24×24 CSS pixels OR have 24px of spacing from other targets
  • Apple HIG recommends 44×44 pt minimum; Google Material Design recommends 48×48 dp minimum
  • Use padding to enlarge the interactive area without changing the visual size
  • Inline text links are exempt from SC 2.5.8

Check

Find all interactive elements: <button>, <a>, <input>, <select>, <textarea>, and elements with click/touch event handlers or role='button'. For each, compute the rendered bounding box size (including padding). Flag elements whose width or height is less than 24px (WCAG 2.2 AA threshold) or less than 44px (AAA / platform guidelines). Also check spacing: elements smaller than 44px should have at least 24px of clear space from adjacent interactive elements.

Fix

To increase touch target size without changing visual appearance: (1) Add padding to the element — e.g., padding: 12px on a button adds 12px to each side of the visual content. (2) Use min-width and min-height to enforce a floor: min-width: 44px; min-height: 44px. (3) For icon-only buttons, use a transparent pseudo-element to extend the hit area: .icon-btn::before { content: ''; position: absolute; inset: -12px; } with position: relative on the button. (4) Ensure adequate spacing between small targets so users do not accidentally activate the wrong element.

Explain

WCAG 2.2 introduced SC 2.5.8 (Target Size, Minimum) at Level AA, requiring touch targets to be at least 24×24 CSS pixels or have 24px of offset spacing from neighboring targets. The older SC 2.5.5 (Target Size) at Level AAA recommends 44×44px. These thresholds are based on average human fingertip size (approximately 10mm) and the precision required for touchscreen interaction. Users with tremors or limited dexterity need larger targets because their touch point can deviate by 20–30px from where they intend. The 44px recommendation aligns with Apple's Human Interface Guidelines and Google's Material Design system.

Code Review

Review the rendered markup and interactive states that affect Provide sufficient touch target size. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/touch-targets

자주 묻는 질문

터치 대상은 얼마나 커야 하나요?

이 스킬은 보통 44 x 44픽셀을 기준으로 들고, WCAG 2.2의 최소 기준으로 24 x 24픽셀을 언급합니다.

보이는 모습을 바꾸지 않고 누르는 영역만 키울 수 있나요?

네. 이 스킬은 패딩을 사용하면 보이는 크기는 같게 두고 누를 수 있는 영역을 넓힐 수 있다고 제안합니다.

본문 안의 텍스트 링크도 같은 크기 기준을 따라야 하나요?

아니요. 이 스킬은 본문 안의 텍스트 링크는 최소 크기 기준에서 제외된다고 설명합니다.

상세 정보

작성자의 원본 설명

Use when applies to all interactive elements on touchscreen interfaces: buttons, links, checkboxes, radio buttons, form inputs, icon buttons, and menu items. Check CSS for min-width, min-height, width, height, and padding on interactive elements. Particularly important for icon-only buttons (close, delete, share) which are often made too small.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#3060
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬