Disclosure
공개
공개 버튼은 관련 섹션을 보여주거나 숨기는 버튼입니다. 또한 해당 섹션이 열려 있는지 소프트웨어에 알려줍니다.
공개
공개 버튼은 관련 섹션을 보여주거나 숨기는 버튼입니다. 또한 해당 섹션이 열려 있는지 소프트웨어에 알려줍니다.
다음과 같은 경우 선택하세요.
사람들이 선택적으로 볼 수 있는 추가 콘텐츠에 사용하세요. 해당 콘텐츠를 숨겨도 주요 작업을 막아서는 안 됩니다.
실제 예시
청구 페이지에서 “수수료 내역 보기”를 클릭하면 세 항목이 표시되고 `aria-expanded`가 `true`로 변경됩니다. 포커스는 버튼에 유지됩니다. JavaScript가 실패하더라도 총액은 보입니다.
주요 부분
- 01토글 버튼
- 02확장된 상태
- 03제어 영역
사용할 때
사람들이 선택적으로 볼 수 있는 추가 콘텐츠에 사용하세요. 해당 콘텐츠를 숨겨도 주요 작업을 막아서는 안 됩니다.
다음 경우에는 사용하지 마세요
HTML을 메뉴나 폼 선택 항목으로 사용하지 마십시오. 필요한 오류나 지침을 그 안에 숨기지 마십시오.
코드에서 사용된 이름
button aria-expanded aria-controls + controlled region 출시하기 전에
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 공개 (Disclosure)。 User context:청구 페이지에서 “수수료 내역 보기”를 클릭하면 세 항목이 표시되고 `aria-expanded`가 `true`로 변경됩니다. 포커스는 버튼에 유지됩니다. JavaScript가 실패하더라도 총액은 보입니다. Recommended pattern:공개 (Disclosure)。 Why it fits:사람들이 선택적으로 볼 수 있는 추가 콘텐츠에 사용하세요. 해당 콘텐츠를 숨겨도 주요 작업을 막아서는 안 됩니다. Do not use it when:HTML을 메뉴나 폼 선택 항목으로 사용하지 마십시오. 필요한 오류나 지침을 그 안에 숨기지 마십시오. 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 공개 (Disclosure) 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.