Carousel
Carousel
Ein Carousel zeigt ein paar Panels gleichzeitig. Man bewegt es mit Pfeilen, Punkten oder Wischbewegungen.
Ein echtes Beispiel
Eine Fotogalerie hat Previous- und Next-Buttons und zeigt die Nummer des Bildes. Sie unterstützt Wischgesten und kann das automatische Abspielen pausieren.
Hauptteile
- 01Trigger or task context
- 02Primary control surface
- 03Feedback, focus, and dismissal
Verwenden Sie es, wenn
Verwenden Sie es, wenn Elemente eine Reihenfolge haben, aber nicht genug Platz vorhanden ist, um sie alle anzuzeigen.
Nutze es nicht, wenn
Verstecken Sie niemals wichtige Entscheidungen in einem Karussell oder lassen Sie es zu schnell von selbst bewegen.
In Code verwendeter Name
aria-roledescription="carousel" Vor dem Ausliefern
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 (Carousel). User context: Eine Fotogalerie hat Previous- und Next-Buttons und zeigt die Nummer des Bildes. Sie unterstützt Wischgesten und kann das automatische Abspielen pausieren. Recommended pattern: Carousel (Carousel). Why it fits: Verwenden Sie es, wenn Elemente eine Reihenfolge haben, aber nicht genug Platz vorhanden ist, um sie alle anzuzeigen. Do not use it when: Verstecken Sie niemals wichtige Entscheidungen in einem Karussell oder lassen Sie es zu schnell von selbst bewegen. 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): Es ist offiziell für diese Quelle. Andere Plattformen oder Teams können den Begriff auf andere Weise verwenden. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Diese Anfrage prüfen
Review how Carousel (Carousel) is used now. Definition: Ein Carousel zeigt ein paar Panels gleichzeitig. Man bewegt es mit Pfeilen, Punkten oder Wischbewegungen. 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.