Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    ARIA Attributes Review and Fixer for HTML and React

    by Saizul Amin

    1

    Lint and refactor WAI-ARIA markup to fix screen reader errors and enforce native semantic HTML replacements.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    ARIA Attributes Review and Fixer for HTML and React

    ARIA Attributes Review and Fixer for HTML and React

    Example session with this skill installed

    Run the ARIA Attributes Review and Fixer for HTML and React skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the aria attributes review

    Here is what the ARIA Attributes Review and Fixer for HTML and React skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    aria-review: <stdin> - 0 high, 0 medium, 1 low, 0 info
      LOW    role.redundant (line 1 ul): <ul> already has role "list"; role="list" is redundant
             fix: remove the role attribute
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Bad ARIA implementation is often worse than no ARIA at all. This skill provides a deterministic linting engine to identify broken accessibility patterns in rendered HTML and provides refactoring paths to fix them. It detects common failures that automated tools like Lighthouse often miss, such as focusable elements trapped inside hidden containers or interactive roles that lack keyboard support.

    What it does

    • Detects broken references identifying aria-labelledby or aria-controls pointing to missing IDs.
    • Validates ARIA values flagging incorrect states like aria-expanded="yes" instead of boolean strings.
    • Identifies focus traps finding aria-hidden="true" placed on focusable elements or the document body.
    • Flag redundant roles spotting unnecessary attributes like role="button" on native <button> elements.
    • Enforces required states ensuring role="checkbox" has aria-checked and role="tab" has the correct parent.
    • Suggests native replacements applying the five rules of ARIA to swap div hacks for native semantic HTML.

    How it works

    1. Input rendered HTML from DevTools, Storybook, or SSR output to ensure the skill analyzes the actual DOM.
    2. Execute the linter using the aria_lint.py script to categorize findings by severity (High, Medium, Low).
    3. Prioritize fixes starting with critical focus and visibility errors before moving to syntax and redundancy.
    4. Refactor markup following the "Native First" rule to replace ARIA-heavy containers with semantic tags.

    Frameworks & tools

    The core engine is a Python 3.8 script with no external dependencies, designed for offline use. It works with any web framework (React, Vue, Angular, Svelte) provided it is fed the rendered HTML output.

    Why this beats prompting it yourself

    Generic LLM prompts often miss the nuance of the five rules of ARIA or fail to catch subtle ID reference mismatches across a large file. This skill uses a deterministic script to find the errors and an expert system to provide the correct semantic HTML replacement.

    Use cases

    • Auditing custom design system components like accordions, tabs, and modals.
    • Resolving "clickable" or "unlabeled" announcements in screen reader testing.
    • Reviewing SSR or Storybook output for hidden accessibility regressions.
    • Refactoring legacy div soups into modern, accessible semantic HTML.

    Known limitations

    Does not audit general WCAG issues like alt text or color contrast. Cannot fix keyboard behavior in JavaScript; it only identifies where focus management is required.


    Open source: saizul/accessibility-a11y-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.

    Does not audit non-ARIA accessibility (alt text, contrast, headings). Analyzes static HTML only; runtime state changes must be captured as separate files for review.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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.

    Frequently Asked Questions

    Aria Review specifically focuses on structural accessibility and WAI-ARIA implementation. It identifies complex issues like focus traps and broken ID references that generic tools often overlook, providing direct refactoring paths to native semantic HTML.

    This skill works with any AI agent that supports Python execution. Simply provide your rendered HTML to the agent, and it will use the included script to perform a deterministic audit and suggest fixes.

    You will receive the proprietary Python linting engine, a set of specialized agent instructions for interpreting results, and a guide on how to integrate the skill into your development workflow.

    Yes, the core auditing engine is a standalone Python 3.8 script with no external dependencies, allowing you to run audits in offline environments or secure local development setups.

    Aria Review specializes in HTML structure and ARIA attributes; it does not audit CSS-based issues like color contrast or JavaScript-heavy functionality like keyboard event listeners.

    Aria Review is effective for any framework (React, Vue, etc.) as long as you provide the rendered HTML output. This ensures the skill analyzes what a screen reader actually sees rather than just the source component code.

    New in Prompt & Skill Engineering