인터페이스 핵심 A1 · 공식 표준

Modal Dialog

모달 대화상자

모달 창은 정신을 집중하게 해주는 창이에요. 누군가 닫거나 끝낼 때까지 현재 화면을 가로막아요.

당신은 이것을 이렇게 부를 수 있습니다 Modal Dialog모달대화 상자팝업 창

예제를 시도해 보세요

미리보기

모달 대화상자

모달 창은 정신을 집중하게 해주는 창이에요. 누군가 닫거나 끝낼 때까지 현재 화면을 가로막아요.

이 대화상자가 닫힐 때까지 뒤에 있는 콘텐츠는 움직이지 않아요.
저장됨미리보기
모달 대화상자modal-dialog

실제 예시

계정 삭제의 경우, 키보드 포커스는 대화 상자 안에 머무릅니다. 사용자가 취소하면 포커스는 대화 상자를 연 버튼으로 돌아갑니다.

주요 부분

  1. 01트리거
  2. 02Anchored or modal surface
  3. 03Focus boundary
  4. 04Dismiss path

사용할 때

완전한 주의가 필요한 짧은 선택이나 작은 작업에 사용하십시오.

다음 경우에는 사용하지 마세요

한 다이얼로그를 다른 다이얼로그 위에 열지 마세요 또는 일반적이고 저위험 정보에 다이얼로그를 사용하지 마세요.

코드에서 사용된 이름

<dialog> / role="dialog" aria-modal="true"

출시하기 전에

Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states.

복사 가능한 요청

Outcome:Complete the task with 모달 대화상자 (Modal Dialog)。 User context:계정 삭제의 경우, 키보드 포커스는 대화 상자 안에 머무릅니다. 사용자가 취소하면 포커스는 대화 상자를 연 버튼으로 돌아갑니다. Recommended pattern:모달 대화상자 (Modal Dialog)。 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 모달 대화상자 (Modal Dialog) is used now. Definition: 모달 창은 정신을 집중하게 해주는 창이에요. 누군가 닫거나 끝낼 때까지 현재 화면을 가로막아요. Release checks: Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

A1
이 용어는 얼마나 공식적인가요?

공식 표준

이름 붙은 표준이 이 페이지에 적힌 규칙들을 정해요.

이 표준은 나열된 범위만 적용합니다. 시각적 스타일, 제품 결정, 또는 Vibulary 예시는 선택하지 않습니다.

범위
소스가 포함하는 것만:정규 이름、정의、의미론、구현、상호작용、키보드 동작、접근성
문서 상태
생활 기준
선택됨
2026-07-30

증거 출처 및 범위

권위 있는 출처 + 용어 참조 · WHATWG · 생활 기준 HTML Living Standard — The dialog element The dialog element 범위: 정규 이름、정의、의미론、구현 여기 역할: 직접 용어 참조 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · WHATWG · 생활 기준 HTML Living Standard 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · W3C · 추천 항목 Accessible Rich Internet Applications (WAI-ARIA) 1.2 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · W3C WAI · 안정적인 ARIA Authoring Practices Guide 범위: 정규 이름、정의、상호작용、키보드 동작、접근성 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 상호작용, 키보드 동작, 접근성

직접 복사

브라우저가 이것을 복사할 수 없습니다. 아래 요청을 선택하고 직접 복사하세요.