LiftDesign System
Beta
English 시작하기
  1. Components
  2. Product
  3. Modal

Components / Product

Modal — 접근성

작업을 가로막는 대화상자

Context
Product
콘텐츠
원본 발췌
사용 가능성
implemented
검증
static-only 2026-11-18
기준 revision
Lift 1.2.3 f59637afd452…
원문 언어
KO
modal.md ↗

계약 (a11y-contract.json)

keysTab(trap), Shift+Tab, Escape
ariarole=dialog, aria-modal, aria-labelledby, aria-describedby
notes포커스를 오프너로 복원, body 스크롤 잠금

상태 · 접근성 (사용 지침)

components/overlays/Modal.prompt.md원문 · KO · 번역하지 않았다

1.9.4 상태·접근성 계약

onClose 인라인 함수는 지원된다. 최신 콜백을 참조하고 부모 재렌더는 포커스를 초기화하지 않는다. 최상위 모달만 Tab/Escape를 처리하며 중첩 모달이 닫혀도 남은 모달의 스크롤 잠금은 유지한다.

포커스

Product 공통 포커스 링은 tokens/a11y.css 가 정한다. 이 구현은 data-ds-focus 를 단다.

검증 여부

Lift 원본(구현 · prop 계약 · 사용 지침 · 접근성 계약)을 정적으로 옮겼다. 키보드 · 스크린리더 · 대비의 브라우저 검증은 하지 않았다.

출처