Button
버튼
버튼은 현재 화면에서 무언가를 하게 만들려고 누르는 조종 장치예요.
실제 예시
'임시 저장'을 누르면 사이트가 변경 사항을 저장하고 성공 여부를 알려줍니다.
주요 부분
- 01시각적 레이블
- 02Interaction target
- 03Current state
- 04Keyboard behavior
사용할 때
제출, 생성, 삭제 또는 무엇인가를 켜고 끄는 등 작업에는 버튼을 사용하세요.
다음 경우에는 사용하지 마세요
다른 페이지로 이동하는 데 버튼을 절대 사용하지 마세요. 이를 위해 링크를 사용하세요.
코드에서 사용된 이름
<button> 출시하기 전에
Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery.
Outcome:Complete the task with 버튼 (Button)。 User context:'임시 저장'을 누르면 사이트가 변경 사항을 저장하고 성공 여부를 알려줍니다. Recommended pattern:버튼 (Button)。 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 버튼 (Button) is used now. Definition: 버튼은 현재 화면에서 무언가를 하게 만들려고 누르는 조종 장치예요. Release checks: Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.