インターフェース コア B · 公式のガイダンス プラットフォーム: ウェブ

Menu

メニュー

コマンドメニューは、特別なキーボードフォーカスルールを持つ一連のアクションまたは選択肢です。通常、ボタンや他のコマンド領域から開きます。

例を試してみる
そう呼ぶかもしれません Menuメニュー

例を試してみる

実際の例

メニューには「名前を変更」「複製」「アーカイブ」が含まれます。フォーカスは最初の項目から始まり、矢印キーで移動でき、Enter で操作を実行し、Escape でフォーカスを戻します。通常のウェブサイトリンクは、通常のリンクキーボード動作を維持するべきです。

主な部分

  1. 01メニューコンテナ
  2. 02メニュー項目
  3. 03ロービングフォーカス

以下の場合に使用します

メニュー型のキーボード動作を必要とするアプリコマンドの小さなグループには、この用語を使用します。

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

通常のリンクリスト、セレクトコントロール、または表示非表示のコンテンツに role=menu を追加しないでください。

コードで使用する名前

role=menu → role=menuitem

出荷前に

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 メニュー (Menu)。 User context:メニューには「名前を変更」「複製」「アーカイブ」が含まれます。フォーカスは最初の項目から始まり、矢印キーで移動でき、Enter で操作を実行し、Escape でフォーカスを戻します。通常のウェブサイトリンクは、通常のリンクキーボード動作を維持するべきです。 Recommended pattern:メニュー (Menu)。 Why it fits:メニュー型のキーボード動作を必要とするアプリコマンドの小さなグループには、この用語を使用します。 Do not use it when:通常のリンクリスト、セレクトコントロール、または表示非表示のコンテンツに role=menu を追加しないでください。 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 メニュー (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.

B
この用語はどれくらい公式か?

公式のガイダンス

指定されたプラットフォーム、フレームワーク、プロジェクト、または専門グループには、この用語に関する公式ガイドがあります。

その情報源にとって公式です。他のプラットフォームやチームはその用語を別の方法で使用する場合があります。

範囲
ソースがカバーするもののみ:正式名、定義、相互作用、キーボードの動作、アクセシビリティ
ドキュメントステータス
安定
チェックオン
2026-07-30

証拠の情報源と範囲

権威のある情報源 + 用語参照 · W3C WAI · 安定 Menu and Menubar Pattern 範囲: 正式名、定義、相互作用、キーボードの動作、アクセシビリティ ここでの役割: 直接用語参照 ソースの範囲: 正式名, 定義, 相互作用, キーボードの動作, アクセシビリティ

自分でコピーする

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