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

semantic-lists

하는 일

이 스킬은 메뉴, 기능 목록, 단계, 용어집처럼 관련된 항목 묶음이 평범한 div로 만들어져 있으면 적절한 목록 마크업으로 바꿉니다. 콘텐츠가 보조 기술에 이해되기를 원하는 웹 제작자를 위한 것입니다.

사용하는 경우

  • ✓페이지에서 관련 항목 묶음이 어떻게 마크업되었는지 검토해 달라고 요청할 때.
  • ✓목록처럼 보이지만 div로 만들어진 메뉴, 단계, 기능 목록이 페이지에 있을 때.
  • ✓용어집이나 FAQ처럼 용어와 정의의 쌍이 올바르게 마크업되어야 할 때.

스킬 링크

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

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

사용 방법

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

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

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

AI에게 요청하는 예시

“제 사이트의 기능 목록과 단계가 일반 div로 만들어져 있습니다. 적절한 목록 요소로 바꿔 주실 수 있나요?”

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

작동 방식

에이전트는 관련 항목 묶음을 찾아, 순서 없는 목록은 ul, 번호가 있는 단계는 ol, 용어와 정의의 쌍은 dl로 감쌉니다. 그 안에 맞는 li, dt, dd 요소를 추가합니다.

기술 내용 (원본 SKILL.md)

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

Use semantic list elements

Screen readers announce list structure and item count—'list with 5 items'—helping users understand content organization. Styled divs provide no context.

Quick Reference

  • Use <ul> for unordered lists (navigation, features, bullets)
  • Use <ol> for ordered sequences (steps, rankings, instructions)
  • Use <dl> for term-definition pairs (glossaries, FAQs)
  • Screen readers announce 'list with X items' for proper lists

Check

Identify groups of related items (navigation menus, product features, steps) and verify they use ul, ol, or dl elements rather than divs or spans styled to look like lists.

Fix

Wrap related items in appropriate list elements: ul for unordered lists, ol for numbered sequences, dl for term-definition pairs. Use li for list items and proper dt/dd for definition lists.

Explain

Explain how screen readers announce 'list with X items' to help users understand content structure, and why styled divs provide no semantic information about grouped content.

Code Review

Review the rendered markup and interactive states that affect Use semantic list elements. 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/semantic-lists

자주 묻는 질문

스크린 리더는 실제 목록을 어떻게 알려 주나요?

스킬은 「항목 5개의 목록」 같은 식으로 알려 주어 사용자가 내용을 이해하게 한다고 설명합니다.

ul 대신 ol은 언제 쓰나요?

순서가 중요한 단계, 순위, 지침에는 ol을, 그 밖의 묶음에는 ul을 쓰라고 설명합니다.

이 변경 후 모양이 달라지나요?

스타일이 div에 의존했다면 달라질 수 있으므로, 변경 후 레이아웃을 확인해야 한다고 설명합니다.

상세 정보

작성자의 원본 설명

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Use semantic list elements. 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
순위
#3013
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬