Carousel
カルーセル
カルーセルは、一度に1つかいくつかのパネルを見せるよ。人は矢印やドット、またはスワイプで動かせるんだ。
実際の例
フォトギャラリーには、「戻る」と「次へ」ボタンがあって、スライド番号が表示されるよ。スワイプにも対応していて、自動再生を止めることもできるよ。
主な部分
- 01Trigger or task context
- 02Primary control surface
- 03Feedback, focus, and dismissal
以下の場合に使用します
アイテムに順序があるが、すべてを表示する十分なスペースがない場合に使用してください。
以下の場合は使用しないでください
重要な選択肢をカルーセル内に隠したり、自動で速く動かしてはいけません。
コードで使用する名前
aria-roledescription="carousel" 出荷前に
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 カルーセル (Carousel)。 User context:フォトギャラリーには、「戻る」と「次へ」ボタンがあって、スライド番号が表示されるよ。スワイプにも対応していて、自動再生を止めることもできるよ。 Recommended pattern:カルーセル (Carousel)。 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 カルーセル (Carousel) is used now. Definition: カルーセルは、一度に1つかいくつかのパネルを見せるよ。人は矢印やドット、またはスワイプで動かせるんだ。 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.