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

tabs-accessibility

하는 일

이 스킬은 웹 페이지의 탭 위젯을 확인하고, 올바른 역할과 상태, 키보드 동작이 있는지 봅니다. 웹사이트에 탭 영역을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓탭이 있는 페이지를 키보드로 사용할 수 없을 때.
  • ✓탭 마크업에 tablist, tab, tabpanel 역할이 없을 때.
  • ✓스크린 리더 사용자를 위한 새 탭 컴포넌트를 만들어야 할 때.

스킬 링크

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

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

사용 방법

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

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

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

Make tabs keyboard navigable

Incorrectly implemented tabs trap keyboard users or leave screen reader users unable to understand the relationship between tabs and their content.

Quick Reference

  • Use tablist, tab, and tabpanel roles
  • Only one tab in the tab order at a time (roving tabindex)
  • Arrow keys navigate between tabs, Tab moves to panel
  • Connect tabs to panels with aria-controls/aria-labelledby

Check

Verify tabs use tablist/tab/tabpanel roles, aria-selected state, and arrow key navigation between tabs.

Fix

Implement tabs with role='tablist', role='tab', role='tabpanel', aria-selected, and proper keyboard interaction patterns.

Explain

Explain the ARIA tabs design pattern and how proper implementation ensures keyboard and screen reader accessibility.

Code Review

Review templates, server-rendered HTML, and shared components that output markup related to Make tabs keyboard navigable. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.


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

Rule page: https://frontendchecklist.io/rules/html/tabs-accessibility

자주 묻는 질문

탭은 어떤 키에 반응해야 하나요?

이 스킬은 화살표 키로 탭 사이를 이동하고, Tab 키로 패널 안으로 초점을 옮긴다고 설명합니다.

로빙 tabindex란 무엇인가요?

한 번에 하나의 탭만 탭 순서에 들어가도록 하는 방식입니다. 그래서 사용자가 모든 탭을 Tab 키로 지나갈 필요가 없습니다.

탭을 어떤 방식으로 만들었는지에 따라 달라지나요?

이 스킬은 브라우저가 보여 주는 최종 HTML을 확인하므로, 탭을 어떤 도구로 만들었든 적용됩니다.

상세 정보

작성자의 원본 설명

Use when reviewing templates, rendered HTML, or shared components related to Make tabs keyboard navigable. Validate the final browser-facing markup, not just the source framework abstraction.

repo: thedaviddias/Front-End-Checklist

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬