Landing-page comparison
One service page, USWDS vs the OGDS hybrid
Same content, same viewport, same interactions. The left pane is pinned USWDS 3.14.0. The right pane uses USWDS 3.14.0 plus OGDS Elements beta.2 for the components OGDS covers.
Full width stacks the panes at the container width. Open either page independently for true viewport and assistive-technology testing.
The iframes are independent documents. The comparison shell does not mirror keyboard input. The left and right pages share a content hash; only the renderer changes.
What to compare
- Banner prominence and how much explanatory content it reveals.
- Header hierarchy, menu behavior, and search placement.
- Accordion control, panel boundary, and keyboard behavior.
- Which parts of the page are unchanged because OGDS has no equivalent.
What OGDS covers on this page
| Area | OGDS implementation | Status | Note |
|---|---|---|---|
| Banner | ogds-banner | OGDS alternate | OGDS banner with custom slots for the demo text. |
| Header and navigation | ogds-header + ogds-primary-nav | OGDS alternate | OGDS header shell with primary nav and a consumer-owned search slot. |
| Hero | USWDS only | USWDS — unchanged | No OGDS equivalent used; USWDS remains on both sides. |
| Alert | USWDS only | USWDS fallback — not built in beta.2 | ogds-alert source exists, but beta.2 does not export a built alert module. |
| Cards | USWDS only | USWDS — unchanged | No OGDS equivalent used; USWDS remains on both sides. |
| Accordion | ogds-accordion | OGDS alternate | OGDS wrapper around native details/summary. |
| Prose | USWDS only | USWDS — unchanged | No OGDS equivalent used; USWDS remains on both sides. |
| Footer | USWDS only | USWDS — unchanged | No OGDS footer in beta.2; USWDS remains on both sides. |
What is not being claimed
This is not a complete OGDS page, not a prediction of every OGDS state, and not a WCAG conformance statement. The right pane is a hybrid. Components with no OGDS equivalent remain USWDS and are listed as unchanged.
OGDS components use shadow DOM. The Guidepup transcript covers the slotted light-DOM text, not the shadow-tree roles or internal states; browser tests, axe observations, and screenshots are the primary evidence for this page.
How the hybrid is composed
Both pages are generated from one content model. The right page adds the OGDS token CSS and bundled web components, then replaces only the covered components. The remaining USWDS markup is unchanged so a difference is attributable to the OGDS layers, not unrelated content edits.
When OGDS names, versions, or component APIs change, update the pinned adapter and the component matrix; the left USWDS pane and the comparison shell stay the same.