# A11Y Security Generator

> Generates Selenium Java wrappers for axe-core accessibility testing and OWASP UI/API security checks.

- Skill: `shreyasbh02/a11y-security-generator` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add shreyasbh02/a11y-security-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/shreyasbh02/a11y-security-generator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: ShreyasBh02 (https://skillmd.com/u/shreyasbh02)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/shreyasbh02/a11y-security-generator

---

# Accessibility & Security Test Generator

Shift-left your QA workflow by embedding Accessibility (a11y) and Security testing directly into UI/API tests.

## Instructions
1. Understand the user's component or endpoint.
2. **Accessibility (a11y)**: Generate Java Selenium code integrating `axe-core-selenium` (`com.deque.html.axe-core:selenium`).
   - Output code showing `AxeBuilder` usage.
   - Assert on WCAG violations.
3. **Security (OWASP)**: Generate common negative UI/API test vectors for the OWASP Top 10:
   - SQL Injection (e.g., `' OR 1=1--`).
   - XSS Payloads (e.g., `<script>alert('xss')</script>`).
   - Missing authentication/authorization checks.
4. Provide the updated full Java test class covering these aspects alongside clear instructions for pom.xml/gradle dependencies.

