Scrim
スクリム
スクリムは、ポップアップの後ろにある、少しだけ暗い透明の幕です。これがあることで下のページは見えなくなり、ポップアップが際立ちます。
::backdrop実際の例
モーダルが開くと、スクリーンが暗くなり、ダイアログが簡単に目立つようになります。
主な部分
- 01Trigger or task context
- 02Primary control surface
- 03Feedback, focus, and dismissal
以下の場合に使用します
ページをブロックする必要がある場合、モーダル、シート、またはナビゲーションドロワーの背後で使用します。
以下の場合は使用しないでください
スクリムだけに頼ってはいけません。キーボードフォーカスとモーダルの挙動も管理する必要があります。
コードで使用する名前
::backdrop 出荷前に
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 スクリム (Scrim)。 User context:モーダルが開くと、スクリーンが暗くなり、ダイアログが簡単に目立つようになります。 Recommended pattern:スクリム (Scrim)。 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 スクリム (Scrim) 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.