Alert
アラート
アラートは、キーボードのフォーカスを移動せずに通知される短く重要なメッセージです。ユーザーにすぐに回答を求めるものではありません。
The workspace could not reach the server. Keep editing or retry when the connection returns.
実際の例
バックグラウンド保存中にユーザーがエディターで入力を続けています。アラートは変更が保存されなかったことを伝え、回復方法を表示します。ユーザーが停止して回答を選択する必要がある場合は、代わりにアラートダイアログを使用してください。
主な部分
- 01重要なメッセージ
- 02ライブアナウンス
- 03回復パス
以下の場合に使用します
フォーカスを奪うことなく通知されるべき、重要で時間に敏感なステータスにこの用語を使用します。
以下の場合は使用しないでください
通常の更新、古いメッセージ、またはページロード時に既にあるコンテンツに対してアラートを使用しないでください。
コードで使用する名前
role=alert / aria-live=assertive 出荷前に
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 アラート (Alert)。 User context:バックグラウンド保存中にユーザーがエディターで入力を続けています。アラートは変更が保存されなかったことを伝え、回復方法を表示します。ユーザーが停止して回答を選択する必要がある場合は、代わりにアラートダイアログを使用してください。 Recommended pattern:アラート (Alert)。 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 アラート (Alert) 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.