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

th-has-data-cells

하는 일

이 스킬은 표 머리글이 설명하는 데이터 셀과 맞는지 확인합니다. 웹사이트의 데이터 표를 만드는 개발자와 편집자를 위한 스킬입니다.

사용하는 경우

  • ✓머리글 셀 아래나 옆에 데이터가 없는 표가 있을 때.
  • ✓스크린 리더 사용자에게 불필요한 소음이 되는 빈 머리글이 있을 때.
  • ✓표를 편집한 뒤 구조가 깨졌을 수 있는 표를 검토할 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/th-has-data-cells/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/th-has-data-cells/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에서 그대로 가져왔습니다.

Ensure table headers associate with data cells

Orphaned headers without data cells can confuse users of assistive technology and indicate a broken table structure.

Quick Reference

  • Every <th> must be associated with one or more <td> cells
  • Avoid empty headers that don't describe any data
  • Remove unnecessary headers to reduce screen reader noise

Check

Verify that all <th> elements are correctly associated with data cells.

Fix

Remove empty headers or ensure they are correctly mapped to data cells.

Explain

Explain why every header must have associated data to maintain an accessible table structure.

Code Review

Review the rendered markup and interactive states that affect Ensure table headers associate with data cells. 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/th-has-data-cells

자주 묻는 질문

빈 머리글이 왜 문제인가요?

스크린 리더 사용자는 머리글을 듣지만 그에 맞는 데이터를 찾지 못해 표가 혼란스러워집니다.

데이터가 없는 머리글은 어떻게 해야 하나요?

이 스킬은 머리글을 제거하거나, 설명하는 셀에 맞게 고치라고 제안합니다.

표의 겉모습에 관한 내용인가요?

아니요. 보조 기술이 읽는 구조에 관한 내용입니다.

상세 정보

작성자의 원본 설명

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure table headers associate with data cells. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬