インターフェース さらに詳細 A1 · 公式標準

Alert Dialog

アラートダイアログ

アラートダイアログは、緊急の選択のためのモーダルダイアログです。続行する前に、ユーザーは結果を理解する必要があります。

例を試してみる
そう呼ぶかもしれません Alert Dialog確認ダイアログ警告ダイアログ

例を試してみる

アラートダイアログrole="alertdialog"
Auroraプロジェクトを削除しますか?

これにより、3つの環境、18のリリース、および変更履歴が永久に削除されます。元に戻すことはできません。

↩ 閉じた後、キーボードフォーカスは開くボタンに戻ります。

実際の例

ゴミ箱を永久に空にする前に、ダイアログは失われる内容を説明します。安全なキャンセルの選択肢も提供されます。

主な部分

  1. 01トリガー
  2. 02Anchored or modal surface
  3. 03Focus boundary
  4. 04Dismiss path

以下の場合に使用します

破壊的または取り消せない選択、もしくは即座に重大な結果を伴う選択にはこれを使用してください。

以下の場合は使用しないでください

元に戻せる無害な操作で、何度も確認を求めることは決してしないこと。

コードで使用する名前

role="alertdialog"

出荷前に

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 アラートダイアログ (Alert Dialog)。 User context:ゴミ箱を永久に空にする前に、ダイアログは失われる内容を説明します。安全なキャンセルの選択肢も提供されます。 Recommended pattern:アラートダイアログ (Alert 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 アラートダイアログ (Alert 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

証拠の情報源と範囲

権威のある情報源 + 用語参照 · W3C · 推奨事項 Accessible Rich Internet Applications (WAI-ARIA) 1.2 — alertdialog role alertdialog role 範囲: 正式名、定義、セマンティクス、実装 ここでの役割: 直接用語参照 ソースの範囲: 正式名, 定義, セマンティクス, 実装 権威のある情報源 · W3C · 推奨事項 Accessible Rich Internet Applications (WAI-ARIA) 1.2 範囲: 正式名、定義、セマンティクス、実装 ここでの役割: 指定された範囲内の権威 ソースの範囲: 正式名, 定義, セマンティクス, 実装 権威のある情報源 · W3C WAI · 安定 ARIA Authoring Practices Guide 範囲: 正式名、定義、相互作用、キーボードの動作、アクセシビリティ ここでの役割: 指定された範囲内の権威 ソースの範囲: 正式名, 定義, 相互作用, キーボードの動作, アクセシビリティ

自分でコピーする

ブラウザはこれをコピーできませんでした。下のリクエストを選択して自分でコピーしてください。