Accessible accordion FAQ that expands on click
One task across 30 published runs. Inspect the scores and outputs together, with each run's execution method shown.
- Task
- UI-0002
- Domain
- UI components
- Difficulty
- medium
Leading published run: claude-opus-4-8 (low reasoning) at 100.0% composite. Lowest: claude-haiku-4-5 at 0.0%. 30 published runs shown on this task.
How this task was evaluated
Results are ordered by this task's published score. API runs use one prompt and one completion; agent runs use a coding harness with tools and iteration. Inspect the execution method when comparing results.
Objective scores use the benchmark's execution checks. Judge scores use a vision panel's fixed rubric; the published score leaves out a model's own family. Missing values are labelled rather than treated as zero.
Read the brief
Build a self-contained FAQ accordion as a single HTML file (`index.html`) that renders with no build step and no network calls (inline all CSS and JS). Requirements: - at least three FAQ items, each with a question header and an answer panel, - each header is a real button exposing accessible state with aria-expanded, starting collapsed (aria-expanded="false") with its panel hidden, - clicking a header expands that item: its aria-expanded flips to "true" and its answer panel becomes visible; clicking again collapses it. Use plain, readable, accessible markup. No external fonts or scripts.