Accordion
Accordion
Ein Akkordeon stapelt Bereiche. Ihre Überschriften können den eigenen Inhalt öffnen oder schließen.
Accordion
Ein Akkordeon stapelt Bereiche. Ihre Überschriften können den eigenen Inhalt öffnen oder schließen.
Wähle es, wenn
Verwenden Sie es für optionale Abschnitte, die jeweils eine klare, separate Überschrift haben.
Ein echtes Beispiel
Ein FAQ zeigt erst die Fragen. Man kann eine Antwort öffnen, ohne die Seite zu verlassen.
Hauptteile
- 01Trigger or task context
- 02Primary control surface
- 03Feedback, focus, and dismissal
Verwenden Sie es, wenn
Verwenden Sie es für optionale Abschnitte, die jeweils eine klare, separate Überschrift haben.
Nutze es nicht, wenn
Verstecken Sie niemals kurze, wesentliche Informationen nur, um die Seite ordentlich aussehen zu lassen.
In Code verwendeter Name
<details><summary> 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 Accordion (Accordion). User context: Ein FAQ zeigt erst die Fragen. Man kann eine Antwort öffnen, ohne die Seite zu verlassen. Recommended pattern: Accordion (Accordion). Why it fits: Verwenden Sie es für optionale Abschnitte, die jeweils eine klare, separate Überschrift haben. Do not use it when: Verstecken Sie niemals kurze, wesentliche Informationen nur, um die Seite ordentlich aussehen zu lassen. 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 Accordion (Accordion) is used now. Definition: Ein Akkordeon stapelt Bereiche. Ihre Überschriften können den eigenen Inhalt öffnen oder schließen. 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.