Error State
エラーステート
エラー状態は、アクションやページが失敗した場合に表示されたままになります。具体的な問題を説明し、安全に回復する方法を提供します。
Your local edits are safe. Check the connection and try the sync again.
実際の例
フォームには誤った口座番号があり、サービスもタイムアウトします。フィールドは番号を直す方法を示し、サービスエラーはすべての入力を保持し、「再試行」を提供します。ユーザーを非難したり作業を削除することは回復ではありません。
主な部分
- 01特定の障害
- 02影響を受ける文脈
- 03回復アクション
以下の場合に使用します
失敗がタスクをブロックする場合、ユーザーに明確な理由や回復方法が必要なときに、この用語を使用してください。
以下の場合は使用しないでください
入力、権限、ネットワーク、およびサーバーの問題で必要な修正が異なる場合に、1つの曖昧なエラーを使用しないでください。
コードで使用する名前
failure type → preserved context + recovery 出荷前に
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 エラーステート (Error State)。 User context:フォームには誤った口座番号があり、サービスもタイムアウトします。フィールドは番号を直す方法を示し、サービスエラーはすべての入力を保持し、「再試行」を提供します。ユーザーを非難したり作業を削除することは回復ではありません。 Recommended pattern:エラーステート (Error State)。 Why it fits:失敗がタスクをブロックする場合、ユーザーに明確な理由や回復方法が必要なときに、この用語を使用してください。 Do not use it when:入力、権限、ネットワーク、およびサーバーの問題で必要な修正が異なる場合に、1つの曖昧なエラーを使用しないでください。 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 エラーステート (Error State) 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.