Compare the same prompt with and without the WCAG skill
Generate a simple webpage with the same model and prompt, then compare both previews and run axe-core checks on each result.
Interactive, local-first examples
Compare intentionally flawed examples with improved implementations. Each example explains the user impact and lets you try the change with a pointer or keyboard.
See the skill workflow, AAA evidence matrix, and manual test protocol.
Generate a simple webpage with the same model and prompt, then compare both previews and run axe-core checks on each result.
Click each “Dark theme” button. Both change the appearance, but only the improved button exposes and updates its pressed state.
Before · state missing
ARIA state: missing · Appearance: light
After · state synchronized
Button state: aria-pressed=false · Appearance: light
The before sample is approximately 4.54:1: enough for AA normal text, but below this AAA criterion. The improved sample exceeds 7:1.
Before · AA-level contrast
Update your contact preferences and notification details.
Contrast ratio: approximately 4.54:1After · AAA contrast
Update your contact preferences and notification details.
Contrast ratio: approximately 17.2:1Use Tab to focus both buttons. The before indicator is a thin, low-contrast dotted line. The improved indicator is 3 CSS pixels thick with strong contrast against the page.
Before · insufficient indicator
After · enhanced indicator
The small target is 24 × 24 pixels; the improved target is 48 × 48. Activate either one to see that its hit area works.
Before · 24 × 24
After · 48 × 48
Tab to the first example and press Enter or Space: it receives focus but does not activate. The native button works with both keys.
Before · pointer-only handler
Not activated
After · native button
Not activated
The improved example provides user-selectable foreground and background colors and keeps the text measure to 80 characters or fewer. This illustrates these parts of 1.4.8, not every requirement.
Before · fixed presentation
Readers have no control over the colors or width of this text.
After · user-selectable presentation
Readers can choose a foreground and background combination that works for them.
The text stays left aligned and within a readable line length.
Read each link without its surrounding sentence. The improved link identifies its destination directly.
Before · ambiguous link text
For information about refunds, click More.
After · descriptive link text
Refund policy: This demo policy explains how to request a refund.
For financial, legal, test, or data-changing submissions, users need a way to review, correct, or reverse the action. These controls are simulations and do not submit or charge anything.
Before · immediate action
Sample total: $49.00 per item
No order submitted.
After · review and confirmation
Sample total: $49.00
Review: Sample order · Quantity 1 · Total $49.00
No order submitted.