Test results
Pick a model to see how accessible its components are, with the accessibility skill off and on.
Claude Opus 5.5
Skill version 2.3
| Measure | Skill off | Skill on |
|---|---|---|
| Failed acceptance criteria | 32 | 1 |
| of which WCAG | 15 | 0 |
| of which Best practice | 17 | 1 |
| Total cost (US dollars) | $7.63 | $23.92 |
| Input tokens | 509,721 | 8.3 million |
| Output tokens | 304,043 | 680,930 |
Accordion
Results, totals across all generations
Cost in USD
Failed acceptance criteria
- Skill off
- 0 fails
- WCAG
- 0 fails
- Best practice
- 0 fails
- Skill on
- 0 fails
- WCAG
- 0 fails
- Best practice
- 0 fails
Total cost
- Skill off
- $0.30
- Skill on
- $0.99
Efficiency, average per generation
Input tokens include cache reads.
Input tokens
- Skill off
- 6,237 tokens
- Skill on
- 130,900 tokens
Output tokens
- Skill off
- 3,884 tokens
- Skill on
- 8,433 tokens
Turns
- Skill off
- 2 turns
- Skill on
- 7 turns
Time
- Skill off
- 28 seconds
- Skill on
- 69 seconds
Cost
- Skill off
- $0.10
- Skill on
- $0.33
Prompt given to the model
Build a Frequently Asked Questions section in a single self-contained HTML file (inline CSS and JS, no build step, no external libraries). It has three questions, each shown as a clickable heading; clicking a heading shows or hides that question's answer. All three answers are hidden when the page first loads.
Use these exact questions and answers:
1. Question: "How do I reset my password?" Answer: "Select Forgotten password on the sign-in page and follow the link we email you."
2. Question: "Can I change my delivery address after ordering?" Answer: "Yes, until the order is dispatched. Edit it under Orders in your account."
3. Question: "Do you ship internationally?" Answer: "We ship to the UK, Ireland, and the EU. Other regions are coming soon."
Output the complete code in one HTML code block.
Generated code
Show
Showing 16 of 16 criteria
Semantic markup7 criteria
- The accordion header's role of button is included in the accessibility tree.WCAG 4.1.2AutomatedSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- The accordion header's accessible name is included in the accessibility tree.WCAG 4.1.2AutomatedSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- The accordion header's label has a role of heading in the accessibility tree.WCAG 1.3.1AutomatedSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- The accordion header's expanded or collapsed state is included in the accessibility tree.WCAG 4.1.2AutomatedSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- The accordion header's button has aria-controls set to the ID of the element containing the accordion panel content.WCAG 1.3.1AutomatedSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- When the accordion is collapsed, the content in the accordion panel is removed from the accessibility API.WCAG 1.3.2AutomatedSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- The content in the accordion panel comes directly after the accordion header in the accessibility tree.WCAG 1.3.2BrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Keyboard6 criteria
- The accordion header is focusable using a keyboard.WCAG 2.1.1BrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- The accordion header has a focus style when it receives focus using a keyboard.WCAG 2.4.7BrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- The keyboard focus style still renders in forced-colours mode (e.g. Windows High Contrast Mode).Best practiceBrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- When focus is on a collapsed accordion header, pressing Enter expands the panel and all its content is included in the accessibility API.WCAG 1.3.2BrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- When focus is on an expanded accordion header, pressing Enter collapses the panel and all its content is removed from the accessibility API.WCAG 1.3.2BrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- When the accordion header is activated, focus stays on the accordion header.WCAG 2.4.3BrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Visual design2 criteria
- All text meets the minimum contrast ratio of 4.5:1 against the background colours, or 3:1 for large-scale text.WCAG 1.4.3AutomatedSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
- If the accordion header uses a custom focus style, the focus indicator has a contrast ratio of at least 3:1 against its background colours.WCAG 1.4.11BrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Adaptive UI1 criterion
- The accordion content can be viewed at smaller screen widths (320px) without loss of content or functionality, and without requiring horizontal scrolling.WCAG 1.4.10BrowserSkill off
3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
Skill on3/3 passed
- Generation 1: Pass
- Generation 2: Pass
- Generation 3: Pass
