Skip to content
Back to skills

Uxd A11y Test Gen

ASecurity

Generate persistent accessibility tests using a project's existing framework and test tools. Use when adding semantic, keyboard, focus, or automated-scan coverage for native, custom, or PatternFly components.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 23, 2026
designgotestingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned November 23, 2026

npx -y skills add rh-uxd/ai-helpers --skill uxd-a11y-test-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Uxd A11y Test Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Uxd A11y Test Gen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rh-uxd-uxd-a11y-test-gen/badge)](https://www.skillsdirectory.com/skills/rh-uxd-uxd-a11y-test-gen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: uxd-a11y-test-gen
description: Generate persistent accessibility tests using a project's existing framework and test tools. Use when adding semantic, keyboard, focus, or automated-scan coverage for native, custom, or PatternFly components.
version: 0.1.0
audience: "UI developers and test authors"
inputs: "Component or module source, project test setup, and optional aria, keyboard, focus, or axe priority"
outputs: "Runnable test changes, actual execution results, and coverage gaps"
---

Generate tests for the requested behavior using real component rendering. Do not silently fix application code, install dependencies, or replace the project's testing stack.

## References

- [Test capabilities](../../references/test-capabilities.md) — select the installed runner/environment and avoid unsupported coverage claims.
- [Test recipes](../../references/test-recipes.md) — load only the relevant runner section; adapt to actual source, imports, setup, and version.
- [Names and semantics](../../references/names-and-semantics.md) and [ARIA relationships](../../references/aria-states-and-relationships.md) — choose applicable semantic assertions.
- [Forms and updates](../../references/forms-and-updates.md) — load for field states, help/errors, and dynamic content.
- [Keyboard patterns](../../references/keyboard-patterns.md) and [navigation](../../references/keyboard-navigation.md) — load for activation, traversal, and transitions.
- [Modal expectations](../../references/modal-dialog.md) — load only for dialog lifecycle/boundaries.
- [Scanning](../../references/runtime-scanning.md) — load when an axe integration is available; preserve states, exclusions, and incomplete results.
- [PF responsibilities](../../references/patternfly-source.md) — load only for PF; verify installed APIs and provider-versus-consumer ownership.
- [Reporting](../../references/reporting.md) — preserve evidence, classification, and gaps in the result.

## Method

1. **Inspect before generating.** Read the target and relevant imports/wrappers. Inspect nearest package/lockfile, runner config, setup, and adjacent tests. Determine framework, actual DOM/browser environment, installed APIs, and whether this is library-author or consumer code.
2. **Select coverage.** Honor requested priorities, then map applicable names/states/relationships, activation, focus, and scan scenarios to available capabilities. Do not generate irrelevant ARIA assertions for every component or require redundant consumer attributes.
3. **Write focused tests.** Follow project naming/query/setup conventions; extend existing tests when appropriate. Otherwise use a dedicated a11y test filename. Prefer one file per selected runner, normally at most two per component; do not split needlessly or violate existing organization. Assert outcomes and transitions, not copied implementation details.
4. **Execute supported checks.** Run the relevant tests with the project's supported command. Verify actual imports, matchers, async rendering, and keyboard APIs. Keep known application failures visible; do not weaken assertions or suppress rules just to pass. If execution is unavailable, say so and distinguish generated from executed coverage.
5. **Summarize.** List changed test files and category/runner/test counts, actual command/results, remaining source/browser/visual/AT gaps, and actionable follow-up. A passing test suite is not overall accessibility conformance.

If no usable test setup exists, give a framework-appropriate setup recommendation and clearly conditional example; do not create knowingly unrunnable test files or install tools without authorization. Ask only for missing information that blocks a meaningful runnable test.

Files in this skill

  • SKILL.md3.7 KB
  • eval/cases/cypress-api-boundary/annotations.yaml293 B
  • eval/cases/cypress-api-boundary/input.yaml404 B
  • eval/cases/cypress-dismissal-false-pass/annotations.yaml488 B
  • eval/cases/cypress-dismissal-false-pass/input.yaml720 B
  • eval/cases/mixed-stack/annotations.yaml505 B
  • eval/cases/mixed-stack/input.yaml524 B
  • eval/cases/native-and-relationships/annotations.yaml276 B
  • eval/cases/native-and-relationships/input.yaml458 B
  • eval/cases/no-test-setup/annotations.yaml464 B
  • eval/cases/no-test-setup/input.yaml347 B
  • eval/cases/web-component-browser/annotations.yaml300 B
  • eval/cases/web-component-browser/input.yaml357 B
  • eval/eval.yaml1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.