Back to Top
맨 위로
맨 위로는 긴 페이지에서 쓰는 빠른 단추예요. 누르면 화면과 포커스를 처음으로 돌려줘요.
실제 예시
감사 열을 수백 개 읽은 뒤, 분석가는 버튼을 눌러 필터 제목으로 돌아가.
주요 부분
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
사용할 때
상위 메뉴나 필터로 돌아가려면 많은 스크롤이 필요할 때 사용하십시오.
다음 경우에는 사용하지 마세요
콘텐츠를 덮거나 초점을 이동할 때 목적지를 명시하지 마세요. 짧은 페이지에서는 숨기세요.
코드에서 사용된 이름
scrollTo({ top: 0 }) + focus management 출시하기 전에
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 맨 위로 (Back to Top)。 User context:감사 열을 수백 개 읽은 뒤, 분석가는 버튼을 눌러 필터 제목으로 돌아가. Recommended pattern:맨 위로 (Back to Top)。 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):하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
이 요청을 확인하세요
Review how 맨 위로 (Back to Top) is used now. Definition: 맨 위로는 긴 페이지에서 쓰는 빠른 단추예요. 누르면 화면과 포커스를 처음으로 돌려줘요. 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.