USWDS Futures LabIndependent research and comparison pilot

Evaluation workspace

Accordion

Expand and collapse supporting information without losing keyboard access.

Experiment: Native dark-mode support — A semantic token layer that lets USWDS components respond to system appearance and an explicit user override without replacing upstream components.

Baseline: USWDS 3.14.0 (pinned npm distribution). Experiment: lab-authored prototype; not official USWDS or OGDS.

Current state: Both collapsed. Status: prototype.

This page is fully interactive with JavaScript. Without it, use the direct fixture links below. Automated checks are observations, not WCAG conformance.

Component guidance Experiment details Official USWDS guidance Official accessibility tests
The interactive evaluation workspace requires JavaScript. The explanations, direct fixture links, evidence summary, and manual test instructions remain usable. Use the component directory, the baseline fixture, or the experimental fixture directly. Automated and manual evidence are separate from this preview.

Preview

Live preview requires JavaScript. The direct fixture links below open the baseline and experiment independently.

Baseline: USWDS 3.14.0 Open independently
Experiment: lab prototype Open independently

Iframes are independent documents. The workspace does not mirror keyboard input between panes.

Fixture conditions change the components under test. Evaluation tool settings change only this page. Values are validated against a fixed list; unknown values fall back and are reported.

What to evaluate

Pane layout (side-by-side only)
50% baseline / 50% experiment

Both panes share the available width by default and reflow at their rendered width. Use the slider to give one pane more room. The fixed viewport setting applies only to Fit and Actual sizing.

Fixture conditions (the components under test)

These controls change the fixture only. They do not change this page. Dark and contrast fixture CSS are authored approximations of the experiment, not browser or operating-system emulation.

Rendering source

Forced colours and increased contrast are browser-level conditions. They are only available as matched Playwright captures, never as CSS approximations in the live preview.

Evaluation tool display (this page only)

Stored only in this browser under uswds-lab-prefs. Fixtures ignore stored tool settings; they use the fixture conditions above.

Testing presets (not substitutes for testing with people)

Open baseline independently Open experiment independently

Keyboard focus inspector

Start the inspector, then press Tab inside either live pane. It reports the focused element's role, accessible name, and state without changing focus. It cannot inspect a captured screenshot or a real screen reader.

Baseline
Inspector not started.
Experiment
Inspector not started.

Evidence and known limits

Loading evidence…

Cost and stability

Byte, request, and DOM changes are hard budgets. Timing measurements are warnings: local CI timing is noisy and is not a field Web Vitals score. The performance run uses a new browser context per iteration, a 1280 × 850 viewport, light colour scheme, and 4× CPU throttling.

Performance evidence loads from the current run when JavaScript is available.

Manual accessibility tests

These tests require a person. Results are stored only in this browser and are never submitted automatically. Guidepup transcripts support investigation but do not count as NVDA, JAWS, or VoiceOver testing.

No manual results recorded in this browser.

Save and share this evaluation

The URL carries every validated condition, so a colleague can reproduce the same configuration. Saved presets stay in this browser.

Preset action