Context Menu
コンテキストメニュー
コンテキストメニューは、それを開いたオブジェクトや領域のコマンドを表示します。通常、右クリックまたはコンテキストメニューキーで開きます。
実際の例
ユーザーは1つのレポートを選択し、右クリックまたはキーボードで[名前を変更]、[複製]、[アーカイブ]を開きます。Escキーでメニューを閉じ、フォーカスをレポートに戻します。危険な操作は依然として明確な言葉と、リスクに見合った確認が必要です。
主な部分
- 01呼び出しコンテキスト
- 02オブジェクト固有のコマンド
- 03フォーカス返却
以下の場合に使用します
選択されている、または指されているオブジェクトに依存する追加コマンドにこの用語を使用します。
以下の場合は使用しないでください
メインまたは必須の操作をコンテキストメニューの中だけに隠してはいけない。
コードで使用する名前
context trigger → object-specific role=menu 出荷前に
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 コンテキストメニュー (Context Menu)。 User context:ユーザーは1つのレポートを選択し、右クリックまたはキーボードで[名前を変更]、[複製]、[アーカイブ]を開きます。Escキーでメニューを閉じ、フォーカスをレポートに戻します。危険な操作は依然として明確な言葉と、リスクに見合った確認が必要です。 Recommended pattern:コンテキストメニュー (Context Menu)。 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 コンテキストメニュー (Context Menu) 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.