Guidepup transcript: component/alert.html — dark
Method: virtual screen reader over a DOM snapshot. Not a real VoiceOver, NVDA, or JAWS test.
- Run: 2026-11-24T00-32-17-199Z
- Source: @uswds/uswds 3.14.0 (npm)
- Git revision: 5ae55174a465533f294c999f181da47d514b2d75
- Browser: 156.0.8078.4
- Viewport: 1280x850
- Page: component/alert.html
- State: dark
- Theme: explicit dark or system dark
- Direction: ltr
Phrases
Simulator limitation: jsdom reported 42 unsupported pseudo-element style request(s). CSS-generated content may be omitted.
- document
- link, Skip to main content
- banner
- link, USWDS Futures Lab Independent research and comparison pilot
- USWDS Futures Lab
- Independent research and comparison pilot
- end of link, USWDS Futures Lab Independent research and comparison pilot
- navigation, Primary
- link, Overview
- link, Evaluate
- link, Components, current page
- link, Experiments
- link, Landing demo
- link, Community ideas
- link, Evidence
- link, Methodology
- end of navigation, Primary
- end of banner
- main
- paragraph
- Messaging
- end of paragraph
- heading, Alert, level 1
- paragraph
- Communicate status, warnings and errors with meaning beyond color.
- end of paragraph
- strong
- Baseline:
- end of strong
- USWDS 3.14.0 with authored fixture markup.
- link, Official component guidance
- ·
- link, Official accessibility tests
- link, Evaluate this component
- link, Open forced-colours capture
- region, Purpose
- heading, Purpose, level 2
- paragraph
- Draw attention to a short message that relates to the current task or page without blocking the rest of the interface.
- end of paragraph
- end of region, Purpose
- region, When to use it
- heading, When to use it, level 2
- list
- listitem, level 1, position 1, set size 2
- A short message must stay visible near the task it affects.
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- A warning or error needs an explicit heading and next step.
- end of listitem, level 1, position 2, set size 2
- end of list
- end of region, When to use it
- region, When not to use it
- heading, When not to use it, level 2
- list
- listitem, level 1, position 1, set size 3
- The message is a transient success confirmation; use a status message.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- The content is long-form guidance; use prose or a callout.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- The alert would interrupt a flow that already has an error summary.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, When not to use it
- region, Implementation
- heading, Implementation, level 2
- list
- listitem, level 1, position 1, set size 3
- Choose the alert variant by meaning, not decoration.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- Include a heading that makes sense without the icon or border color.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- Do not add a live region to a static alert; use role=status or role=alert only for the state change that warrants it.
- end of listitem, level 1, position 3, set size 3
- end of list
- paragraph
- link, Read the implementation guide
- end of paragraph
- end of region, Implementation
- region, Keyboard behavior
- heading, Keyboard behavior, level 2
- list
- listitem, level 1, position 1, set size 3
- Static alerts add no tab stops.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- If an alert contains a link or button, that control follows normal keyboard order.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- A live alert must not steal focus.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Keyboard behavior
- region, User preferences
- heading, User preferences, level 2
- list
- listitem, level 1, position 1, set size 2
- Meaning must survive without color, including forced colors.
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- Text must remain readable at 200% and in dark themes.
- end of listitem, level 1, position 2, set size 2
- end of list
- end of region, User preferences
- region, Common implementation mistakes
- heading, Common implementation mistakes, level 2
- list
- listitem, level 1, position 1, set size 3
- Relying on the colored left border to distinguish warning from error.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- Putting an entire error summary inside every inline alert.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- Using role=alert for content that is present on page load.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Common implementation mistakes
- region, How to test it
- heading, How to test it, level 2
- list
- listitem, level 1, position 1, set size 3
- Read each variant without seeing color and confirm the heading carries the meaning.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- Measure text and boundary contrast in every supported theme.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- Test forced colors and zoom.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, How to test it
- region, Known limitations
- heading, Known limitations, level 2
- list
- listitem, level 1, position 1, set size 3
- Dynamic and updated alerts are local demonstrations; announcement behaviour has not been verified with a real screen reader.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- The experimental theme does not yet recolour the upstream alert icon.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- The Arabic state is one direction and language sample; native-language review is outstanding.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Known limitations
- region, Experiments involving this component
- heading, Experiments involving this component, level 2
- article
- paragraph
- Cross-component capability
- Prototype available
- end of paragraph
- heading, Native dark-mode support, level 2
- link, Native dark-mode support
- end of heading, Native dark-mode support, level 2
- paragraph
- A semantic token layer that lets USWDS components respond to system appearance and an explicit user override without replacing upstream components.
- end of paragraph
- paragraph
- Components:
- link, Accordion
- ,
- link, Alert
- ,
- link, Banner
- ,
- link, Form controls
- . Review: accepted.
- end of paragraph
- paragraph
- User preferences: Dark and light appearance, Forced colours, Increased contrast, Reduced motion, Large text, Narrow viewport and reflow, RTL and language, No JavaScript.
- end of paragraph
- paragraph
- Accessibility concerns: Incomplete theme coverage.
- end of paragraph
- paragraph
- Automated evidence: 0 of 0 fixture routes collected (none). Manual test definitions: 26; published evidence records none as completed.
- end of paragraph
- paragraph
- Evidence: No automated evidence in this build.
- end of paragraph
- paragraph
- link, Evaluate
- link, Registered demonstration
- end of paragraph
- end of article
- article
- paragraph
- Alternative implementation
- Prototype available
- end of paragraph
- heading, Logical properties for RTL support, level 2
- link, Logical properties for RTL support
- end of heading, Logical properties for RTL support, level 2
- paragraph
- Replace selected physical left/right styles in the banner and alert with logical properties so right-to-left layouts do not depend on mirrored overrides.
- end of paragraph
- paragraph
- Components:
- link, Banner
- ,
- link, Alert
- . Review: pending.
- end of paragraph
- paragraph
- User preferences: RTL and language, Forced colours, Large text, Narrow viewport and reflow.
- end of paragraph
- paragraph
- Accessibility concerns: Native-language review outstanding.
- end of paragraph
- paragraph
- Automated evidence: 0 of 0 fixture routes collected (none). Manual test definitions: 16; published evidence records none as completed.
- end of paragraph
- paragraph
- Evidence: No automated evidence in this build.
- end of paragraph
- paragraph
- link, Evaluate
- link, Registered demonstration
- end of paragraph
- end of article
- end of region, Experiments involving this component
- region, Fixtures and comparison
- heading, Fixtures and comparison, level 2
- list
- listitem, level 1, position 1, set size 3
- link, Open the evaluation workspace
- (12 registered states)
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- link, Open the baseline fixture independently
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- link, Open the experimental fixture independently
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Fixtures and comparison
- region, Test scenarios
- heading, Test scenarios, level 2
- list
- listitem, level 1, position 1, set size 1
- alert-read: Read alert without relying on color alone (read)
- end of listitem, level 1, position 1, set size 1
- end of list
- end of region, Test scenarios
- region, Evidence
- heading, Evidence, level 2
- paragraph
- No evidence has been collected in this build. Human review is pending.
- end of paragraph
- paragraph
- link, Open the evidence index
- end of paragraph
- end of region, Evidence
- region, Sources and history
- heading, Sources and history, level 2
- list
- listitem, level 1, position 1, set size 2
- link, #5069 Better personalization support
- (closed-not-planned)
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- link, #4407 Support prefers-contrast
- (closed-not-planned)
- end of listitem, level 1, position 2, set size 2
- end of list
- paragraph
- Source lock:
- link, v3.14.0
- . This page describes an independent lab fixture, not an official USWDS example.
- end of paragraph
- end of region, Sources and history
- end of main
- contentinfo
- paragraph
- MIT-licensed comparison code. USWDS and third-party assets keep their own licensing terms. This lab is independent of GSA, USWDS, OGDS, and CivicActions.
- end of paragraph
- paragraph
- link, Methodology, provenance and governance
- ·
- link, Evidence
- ·
- link, Source lock
- end of paragraph
- end of contentinfo
- end of document
Limits
- Guidepup is a simulator over the DOM; CSS-only differences (including dark appearance) are not represented in speech.
- Axe and browser assertions are separate evidence. A transcript difference is not automatically a regression.
- Real assistive-technology testing remains outstanding.