Hamburger Menu
ハンバーガーメニュー
3本の線があるメニューボタンだよ。表示するスペースがないとき、サイトのメインのナビゲーションを開くよ。
実際の例
狭いショップページでは、ラベル付きのメニューボタンがカテゴリ、アカウント、ヘルプを開く。ドロワーはフォーカスを内部に保持する。
主な部分
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
以下の場合に使用します
重要な目的地を常に見えるようにした後、小さい画面で使用します。
以下の場合は使用しないでください
広い画面でナビゲーションを全部隠さないでください。アイコンにはアクセシブルな名前と展開状態も必要です。
コードで使用する名前
button aria-controls aria-expanded + nav 出荷前に
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 ハンバーガーメニュー (Hamburger Menu)。 User context:狭いショップページでは、ラベル付きのメニューボタンがカテゴリ、アカウント、ヘルプを開く。ドロワーはフォーカスを内部に保持する。 Recommended pattern:ハンバーガーメニュー (Hamburger 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 ハンバーガーメニュー (Hamburger Menu) is used now. Definition: 3本の線があるメニューボタンだよ。表示するスペースがないとき、サイトのメインのナビゲーションを開くよ。 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.