Tree View
트리 뷰
Tree view는 단계가 있는 목록이야. 부모 줄을 열거나 닫아서 안에 있는 자식 항목을 봐.
Product
- 연구
- 프로토타입
- 제작
실제 예시
파일 브라우저가 src를 열어 컴포넌트를 보여줘요. 키보드 포커스는 선택된 줄에 그대로 머물러요.
주요 부분
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
사용할 때
레벨에 명확한 의미가 있을 때, 컴팩트한 탐색이나 선택에 사용하세요.
다음 경우에는 사용하지 마세요
단계가 몇 개 없거나 단계가 자주 바뀔 때는 피하세요. 페이지를 나누는 게 더 이해하기 쉬울 수 있어요.
코드에서 사용된 이름
role="tree" / role="treeitem" 출시하기 전에
Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states.
Outcome:Complete the task with 트리 뷰 (Tree View)。 User context:파일 브라우저가 src를 열어 컴포넌트를 보여줘요. 키보드 포커스는 선택된 줄에 그대로 머물러요. Recommended pattern:트리 뷰 (Tree View)。 Why it fits:레벨에 명확한 의미가 있을 때, 컴팩트한 탐색이나 선택에 사용하세요. Do not use it when:단계가 몇 개 없거나 단계가 자주 바뀔 때는 피하세요. 페이지를 나누는 게 더 이해하기 쉬울 수 있어요. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary):이 표준은 나열된 범위만 적용합니다. 시각적 스타일, 제품 결정, 또는 Vibulary 예시는 선택하지 않습니다. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
이 요청을 확인하세요
Review how 트리 뷰 (Tree View) is used now. Definition: Tree view는 단계가 있는 목록이야. 부모 줄을 열거나 닫아서 안에 있는 자식 항목을 봐. Release checks: Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.