Dropdown Menu
ドロップダウンメニュー
ドロップダウンメニューは、ボタンから開き、ボタンの横に表示される短命のコマンドメニューです。その通常のセマンティックパターンは、メニューボタンとメニューの組み合わせです。
実際の例
アクションボタンは、PDFのエクスポート、複製、移動のコマンドを開き、メニューが開いているかどうかを表示します。Escapeキーはメニューを閉じ、フォーカスをボタンに戻します。1つのフォーム値を選択するセレクトはドロップダウンメニューではありません。
主な部分
- 01アンカーボタン
- 02展開状態
- 03コマンドメニュー
以下の場合に使用します
メニュー-ボタンパターンとして名前を付けた後、ボタンに固定されたコマンドリストにはこの用語を使用します。
以下の場合は使用しないでください
select、コンボボックス、ディスクロージャー、ポップオーバー、またはツールチップの一般名としてdropdownを使用しないでください。
コードで使用する名前
button[aria-haspopup=menu] → 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 ドロップダウンメニュー (Dropdown Menu)。 User context:アクションボタンは、PDFのエクスポート、複製、移動のコマンドを開き、メニューが開いているかどうかを表示します。Escapeキーはメニューを閉じ、フォーカスをボタンに戻します。1つのフォーム値を選択するセレクトはドロップダウンメニューではありません。 Recommended pattern:ドロップダウンメニュー (Dropdown Menu)。 Why it fits:メニュー-ボタンパターンとして名前を付けた後、ボタンに固定されたコマンドリストにはこの用語を使用します。 Do not use it when:select、コンボボックス、ディスクロージャー、ポップオーバー、またはツールチップの一般名としてdropdownを使用しないでください。 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 ドロップダウンメニュー (Dropdown 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.