- Home
- Skills
- Frontend & Web Apps
- Frontend UI Polish & WCAG Accessibility Auditor
Works with the AI Agents you already use
Frontend UI Polish & WCAG Accessibility Auditor
by Badung
Audit frontend components for WCAG 2.2 AA compliance, keyboard focus traps, and responsive layout jank.
$3.99
Frontend UI Polish & WCAG Accessibility Auditor
Example session with this skill installed
Audit components/FeedbackForm.tsx for accessibility and layout issues. It has a text input, a submit button, and a close icon.
- Read your context and instructions
- Compiled the frontend ui polish
- Generated the UI component
I have audited components/FeedbackForm.tsx. I found
2 High severity and
1 Medium severity issues related to semantics, focus management, and layout stability.
Audit Findings
| Severity | Axis | Location | Finding |
|---|---|---|---|
| High | SEMANTICS | line 12 | Icon-only close button lacks aria-label or button tag. |
| High | KEYBOARD_FOCUS | line 24 | Submit button uses focus:outline-none without a visible focus state. |
| Medium | VISUAL_CLS | line 8 | Header icon <img> missing width and height attributes. |
Candidate Patches
// components/FeedbackForm.tsx
// Patch 1: Accessible Close Button
- <div onClick={onClose} className="p-2 cursor-pointer">✕</div>
+ <button
+ type="button"
+ onClick={onClose}
+ aria-label="Close feedback form"
+ className="p-2 rounded focus-visible:ring-2 focus-visible:ring-gray-400"
+ >
+ <span aria-hidden="true">✕</span>
+ </button>
// Patch 2: Restore Focus Visibility
- <button className="bg-blue-600 text-white p-2 focus:outline-none">Submit</button>
+ <button className="bg-blue-600 text-white p-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-blue-500">Submit</button>
Next steps
- Apply the button semantics and focus-visible patches to ensure keyboard navigability.
- Add explicit dimensions to the header
imgtag to stabilize the Core Web Vitals (CLS) score. - Run
npx axe-coreon the rendered page to verify the fixes in a browser environment.
FeedbackForm.tsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Frontend developers often ship components that look great but fail accessibility audits, break on mobile viewports, or cause layout shifts. This skill acts as a senior frontend reviewer that inspects your source code to catch WCAG 2.2 AA defects and UX jank before they reach production.
What it does
- WCAG Audit: Scans for missing aria-labels, incorrect heading hierarchies, and non-semantic interactive elements like
divclick handlers. - Keyboard & Focus Check: Detects suppressed focus rings, missing focus traps in modals, and lack of
Escapekey handlers. - Contrast & State Analysis: Identifies hardcoded low-contrast color values and interactive elements missing
disabledoraria-busystates. - Responsive Guardrails: Flags fixed-pixel widths that cause horizontal overflows on mobile and targets smaller than the 24x24px minimum.
- Layout Shift Detection: Pinpoints images and media containers missing aspect ratios or dimensions to prevent Cumulative Layout Shift (CLS).
How it works
- Source Inspection: Use the
ReadorGreptools to provide the skill with specific component files, layouts, or stylesheets. - Analysis: The skill evaluates the code against a 5-axis audit checklist covering semantics, focus, contrast, responsiveness, and visual stability.
- Report Generation: It returns a ranked list of findings with severity levels and exact
file:linecitations. - Patching: Review the provided unified diffs for minimal, safe code corrections that preserve your existing design tokens.
Frameworks & tools
Works with React, Next.js, Vue, Svelte, and vanilla HTML/CSS. Optimized for Tailwind CSS projects and projects using eslint-plugin-jsx-a11y or axe-core.
Why this beats prompting it yourself
Generic prompts often hallucinate CSS rules or suggest over-engineered fixes. This skill is strictly evidence-bound, meaning it only reports what it can see in your actual source files and provides surgical diffs instead of rewriting whole components.
Use cases
- Auditing a new modal or form component for keyboard accessibility before a PR merge.
- Debugging horizontal scroll issues on mobile viewports for complex layouts.
- Reducing CLS scores by finding images missing explicit width/height attributes.
- Ensuring design system primitives meet WCAG AA contrast and target size requirements.
Known limitations
Cannot detect runtime-only DOM states or contrast issues caused by background images/gradients. Local verification commands are provided as suggestions and require manual execution.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Requires
Nothing to install.
Permissions
What's inside
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.