accessibility-audit

webflow/webflow-skills · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/webflow/webflow-skills --skill accessibility-audit
0 commentsdiscussion
summary

Comprehensive WCAG 2.1 accessibility audit for Webflow pages with detailed issue detection and actionable fixes.

skill.md

Accessibility Audit

Comprehensive WCAG 2.1 accessibility audit for Webflow pages with detailed issue detection and actionable fixes.

Important Note

ALWAYS use Webflow MCP tools for all operations:

  • Use Webflow MCP's webflow_guide_tool to get best practices before starting
  • Use Webflow MCP's data_sites_tool with action list_sites to identify available sites
  • Use Webflow MCP's data_sites_tool with action get_site to retrieve site details
  • Use Webflow MCP's data_pages_tool with action list_pages to get all pages
  • Use Webflow MCP's element_tool with action get_all_elements to get detailed element information (requires Designer)
  • Use Webflow MCP's element_tool with action add_or_update_attribute to fix accessibility issues (requires Designer)
  • Use Webflow MCP's element_snapshot_tool to get visual previews of elements
  • DO NOT use any other tools or methods for Webflow operations
  • All tool calls must include the required context parameter (15-25 words, third-person perspective)
  • Designer connection required - This skill needs Designer to access element attributes and styles

Instructions

Phase 1: Site & Page Selection

  1. Get site information: Use Webflow MCP's data_sites_tool with action list_sites to identify target site
  2. Ask for page selection:
    • If user provides page ID, use it directly
    • Otherwise, use data_pages_tool with action list_pages to show available pages
    • Let user select which page(s) to audit
  3. Confirm audit scope: Ask user what to check:
    • Full audit (all accessibility checks)
    • Critical issues only (WCAG Level A)
    • Specific categories (forms, buttons, navigation, etc.)

Phase 2: Element Extraction & Analysis

  1. Ensure Designer is connected: Before proceeding, verify Webflow Designer is open and connected
    • If not connected, instruct user to open Designer and connect
    • This is required to access element attributes and styles
  2. Switch to target page: Use de_page_tool with action switch_page to navigate to the page being audited
  3. Extract all elements: Use element_tool with action get_all_elements for detailed analysis
    • Set include_style_properties: true to check focus styles
    • Set include_all_breakpoint_styles: false to minimize data
  4. Parse element data: Identify interactive and content elements:
    • Buttons (Button, LinkBlock with button role)
    • Links (TextLink, Link, LinkBlock)
    • Form inputs (Input, Select, Textarea)
    • Headings (Heading elements with levels)
    • Interactive divs/spans (check for onClick or interactive roles)
    • Images (Image elements) - SKIP for this audit
  5. Extract attributes for each element:
    • ARIA attributes (aria-label, aria-describedby, role, tabIndex)
    • DOM attributes (id, domId, href, type, placeholder)
    • Text content
    • Style properties (outline, border for focus states)
    • Element metadata (canHaveAttributes, tag name)

Phase 3: Accessibility Checks

Critical Issues (Must Fix - WCAG Level A)

  1. Icon-only buttons without labels (WCAG 4.1.2)

    • Find: Button elements with no text content
    • Check: Missing aria-label or aria-labelledby
    • Impact: Screen readers cannot identify button purpose
    • Fix: Add aria-label attribute with descriptive text
  2. Form inputs without labels (WCAG 1.3.1)

    • Find: Input, Select, Textarea elements
    • Check: Missing associated label or aria-label
    • Impact: Users don't know what input is for
    • Fix: Add aria-label or associate with <label> using id
  3. Non-semantic click handlers (WCAG 2.1.1)

    • Find: Div or Span elements (identified by element type)
    • Check: Interactive behavior without proper role/keyboard support
    • Impact: Not keyboard accessible, screen readers miss interactivity
    • Fix: Add role="button", tabIndex="0", suggest using real <button>
  4. Links without destination (WCAG 2.1.1)

    • Find: Link elements with no href attribute
    • Check: Links that only use onClick without href
    • Impact: Not keyboard accessible, breaks browser features
    • Fix: Add proper href or convert to button

Serious Issues (Should Fix - WCAG Level AA)

  1. Focus outline removed without replacement (WCAG 2.4.7)

    • Find: Elements with outline: none style
    • Check: No visible alternative focus indicator
    • Impact: Keyboard users can't see focus
    • Fix: Add visible focus style (border, box-shadow, background change)
  2. Missing keyboard handlers (WCAG 2.1.1)

    • Find: Elements with onClick handlers
    • Check: Missing onKeyDown for Enter/Space keys
    • Impact: Not usable with keyboard alone
    • Fix: Add keyboard event handlers
  3. Touch target too small (WCAG 2.5.5)

    • Find: Clickable elements (buttons, links)
    • Check: Width or height < 44px
    • Impact: Hard to tap on mobile devices
    • Fix: Increase padding or min-width/min-height to 44px

Moderate Issues (Consider Fixing)

  1. Heading hierarchy problems (WCAG 1.3.1)

    • Find: Heading elements (h1-h6)
    • Check: Skipped levels (h1 → h3, skipping h2)
    • Impact: Confusing document structure
    • Fix: Use proper sequential heading levels
  2. Positive tabIndex (WCAG 2.4.3)

    • Find: Elements with tabIndex > 0
    • Check: Disrupts natural tab order
    • Impact: Confusing keyboard navigation
    • Fix: Use tabIndex="0" or "-1" only, let natural DOM order work
  3. Role without required attributes (WCAG 4.1.2)

    • Find: Elements with ARIA roles
    • Check: Missing required ARIA attributes (e.g., role="button" without tabIndex)
    • Impact: Incomplete accessibility semantics
    • Fix: Add required attributes for role

Phase 4: Issue Categorization & Scoring

  1. Categorize all findings:

    • Critical: Must fix (blocks access)
    • Serious: Should fix (significantly impacts usability)
    • Moderate: Consider fixing (improves experience)
  2. Calculate accessibility score (0-100):

    • Start at 100
    • Critical issue: -10 points each
    • Serious issue: -5 points each
    • Moderate issue: -2 points each
    • Minimum score: 0
  3. Generate severity summary:

    • Total issues found
    • Breakdown by severity
    • Most common issue types
    • Pages/sections most affected

Phase 5: Report Generation

  1. Create detailed report with specific format:

    ═══════════════════════════════════════════════════
    ACCESSIBILITY AUDIT: [Page Name]
    ═══════════════════════════════════════════════════
    
    CRITICAL (X issues)
    ───────────────────
    [A11Y] Element: Button "Submit"
      Issue: Button missing accessible name
      Location: Form section, element ID: {component: "abc", element: "xyz"}
      Current: <button><CloseIcon /></button>
      Fix: Add aria-label="Close"
      WCAG: 4.1.2 Name, Role, Value
    
    [A11Y] Element: Input field
      Issue: Form input without label
      Location: Contact form, element ID: {component: "def", element: "uvw"}
      Current: <input type="email" />
      Fix: Add aria-label="Email address" or associate with <label>
      WCAG: 1.3.1 Info and Relationships
    
    SERIOUS (X issues)
    ──────────────────
    [A11Y] Element: Link "Read more"
      Issue: Focus outline removed without visible alternative
      Location: Blog section
      Current: outline: none
      Fix: Add visible focus style (e.g., border: 2px solid blue)
      WCAG: 2.4.7 Focus Visible
    
    MODERATE (X issues)
    ───────────────────
    [A11Y] Element: Heading
      Issue: Heading hierarchy skipped (h1 → h3)
      Location: Article section
      Current: <h3>Subsection</h3> after <h1>Title</h1>
      Fix: Change to <h2> or add intermediate h2
      WCAG: 1.3.1 Info and Relationships
    
    ═══════════════════════════════════════════════════
    SUMMARY
    ───────────────────────────────────────────────────
    Total Issues: X
    - Critical: X issues
    - Serious: X issues
    - Moderate: X issues
    
    Accessibility Score: XX/100
    
    Most Common Issues:
    1. [Issue type] - X occurrences
    2. [Issue type] - X occurrences
    3. [Issue type] - X occurrences
    ═══════════════════════════════════════════════════
    
  2. Provide actionable insights:

    • Prioritized fix list (critical first)
    • Quick wins (easy fixes with big impact)
    • Design pattern recommendations
    • Resources for learning more

Phase 6: Fix Suggestions & Approval (Optional)

  1. Offer to fix issues automatically: Designer is already connected, so offer auto-fixes

  2. Show preview of fixes:

    Which issues would you like to fix?
    
    [1] ✓ Add aria-label to Submit button
        Element: Button in contact form
        Fix: Add aria-label="Submit contact form"
        Safe: Yes (adding attribute only)
    
    [2] ✓ Add aria-label to email input
        Element: Input in contact form
        Fix: Add aria-label="Email address"
        Safe: Yes
    
    [3] ⚠️ Fix heading hierarchy
        Element: h3 in article section
        Fix: Change heading level from h3 to h2
        Safe: May affect visual styling
    
    Type numbers to skip (e.g., "3"), "all" for all, "none" to cancel
    
  3. Apply approved fixes: Use element_tool with action add_or_update_attribute

    • Process in batches
    • Show progress for large fix sets
    • Report success/failure for each
  4. Generate post-fix report:

    • Issues fixed: X
    • Issues remaining: Y
    • New accessibility score: XX/100 (improved from YY/100)

Phase 7: Export & Resources (Optional)

  1. Offer export formats:

    • Markdown (readable documentation)
    • JSON (machine-readable for tracking)
    • CSV (spreadsheet for team review)
  2. Provide resources:

    • WCAG 2.1 quick reference links
    • Webflow accessibility best practices
    • Recommended testing tools (browser extensions, screen readers)

Important Considerations

What This Skill Checks

✅ Button accessibility (labels, roles) ✅ Form input labels and associations ✅ Link semantics and keyboard access ✅ Focus visibility and keyboard navigation ✅ Heading hierarchy and structure ✅ ARIA roles and attributes ✅ Touch target sizes ✅ Interactive element semantics

What This Skill Does NOT Check

❌ Image alt text (use asset-audit skill instead) ❌ Color contrast ratios (requires visual analysis) ❌ Animation/motion preferences ❌ Screen reader testing (needs manual verification) ❌ Content readability (language level, clarity)

Limitations

  • Cannot detect visual-only issues (color contrast, small text)
  • Cannot test actual screen reader behavior
  • Cannot validate content quality or clarity
  • Relies on element attributes and structure only

Examples

Example 1: Full Page Audit

User prompt:

Run an accessibility audit on my homepage

Step 1: Site & Page Selection

🔍 Accessibility Audit: Page Selection

I'll help you audit your homepage for accessibility issues.

First, let me get your site information...

Available sites:
1. Company Website
2. Portfolio Site

Which site? (1/2)

User response: 1

Step 2: Page Selection

Available pages in Company Website:
1. Home (/)
2. About (/about)
3. Contact (/contact)
4. Blog (/blog)

Which page would you like to audit? (1 for Home)

User response: 1

Step 3: Audit Scope

What level of audit would you like?

1. Full audit (all WCAG checks) - Recommended
2. Critical issues only (Level A compliance)
3. Specific categories (buttons, forms, navigation)

Your choice: (1/2/3)

User response: 1

Step 4: Audit Progress

🔄 Running Accessibility Audit...

Progress:
✅ Extracted page content (45 elements)
✅ Analyzing buttons and interactive elements
✅ Checking form inputs and labels
✅ Validating heading hierarchy
✅ Checking keyboard navigation
🔄 Analyzing focus states...

Analysis complete!

Step 5: Report

═══════════════════════════════════════════════════
ACCESSIBILITY AUDIT: Home
═══════════════════════════════════════════════════

CRITICAL (3 issues)
───────────────────
[A11Y] Element: Button (navigation toggle)
  Issue: Icon-only button missing accessible name
  Location: Header navigation
  Element ID: {component: "nav-01", element: "btn-menu"}
  Current: <button><MenuIcon /></button>
  Fix: Add aria-label="Open navigation menu"
  WCAG: 4.1.2 Name, Role, Value

[A11Y] Element: Input (email subscription)
  Issue: Form input without label
  Location: Footer, newsletter signup
  Element ID: {component: "footer-01", element: "email-input"}
  Current: <input type="email" placeholder="Enter email" />
  Fix: Add aria-label="Email address for newsletter"
  WCAG: 1.3.1 Info and Relationships

[A11Y] Element: Div (clickable card)
  Issue: Non-semantic interactive element
  Location: Services section, card 2
  Element ID: {component: "services-01", element: "card-02"}
  Current: <div onClick={...}>Service card</div>
  Fix: Convert to <button> or add role="button" + tabIndex="0"
  WCAG: 2.1.1 Keyboard

SERIOUS (5 issues)
──────────────────
[A11Y] Element: Link "Learn more"
  Issue: Focus outline removed without visible alternative
  Location: Hero section
  Element ID: {component: "hero-01", element: "cta-link"}
  Current: outline: none
  Fix: Add focus style - border: 2px solid #0066cc or box-shadow
  WCAG: 2.4.7 Focus Visible

[A11Y] Element: Button "Subscribe"
  Issue: Touch target too small (30px × 36px)
  Location: Footer newsletter form
  Element ID: {component: "footer-01", element: "submit-btn"}
  Current: Small button
  Fix: Increase padding or set min-height: 44px
  WCAG: 2.5.5 Target Size

[continues with 3 more serious issues...]

MODERATE (4 issues)
───────────────────
[A11Y] Element: Heading "Our Services"
  Issue: Heading hierarchy skipped (h1 → h3)
  Location: Services section
  Element ID: {component: "services-01", element: "heading"}
  Current: <h3>Our Services</h3> follows <h1>Welcome</h1>
  Fix: Change to <h2> to maintain proper hierarchy
  WCAG: 1.3.1 Info and Relationships

[continues with 3 more moderate issues...]

═══════════════════════════════════════════════════
SUMMARY
───────────────────────────────────────────────────
Total Issues: 12
- Critical: 3 issues (must fix)
- Serious: 5 issues (should fix)
- Moderate: 4 issues (consider fixing)

Accessibility Score: 64/100

Most Common Issues:
1. Missing button labels - 2 occurrences
2. Focus styles removed - 3 occurrences
3. Heading hierarchy problems - 2 occurrences

Quick Wins (Easy + High Impact):
✨ Add aria-label to icon buttons (2 min, +20 score points)
✨ Add input labels (5 min, +10 score points)
✨ Add focus styles (10 min, +15 score points)

═══════════════════════════════════════════════════

💡 Next Steps:
1. Fix critical issues first (blocks access for some users)
2. Add visible focus styles for keyboard users
3. Test with keyboard navigation (Tab, Enter, Space keys)
4. Consider testing with screen reader (NVDA/JAWS/VoiceOver)
how to use accessibility-audit

How to use accessibility-audit on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add accessibility-audit
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/webflow/webflow-skills --skill accessibility-audit

The skills CLI fetches accessibility-audit from GitHub repository webflow/webflow-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/accessibility-audit

Reload or restart Cursor to activate accessibility-audit. Access the skill through slash commands (e.g., /accessibility-audit) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.538 reviews
  • Nikhil Chen· Dec 20, 2024

    Registry listing for accessibility-audit matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Isabella Rao· Nov 27, 2024

    accessibility-audit is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Anaya Shah· Nov 11, 2024

    Useful defaults in accessibility-audit — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Isabella Srinivasan· Oct 18, 2024

    Keeps context tight: accessibility-audit is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Nikhil Tandon· Oct 2, 2024

    I recommend accessibility-audit for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Piyush G· Sep 25, 2024

    Registry listing for accessibility-audit matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Dev Rahman· Sep 17, 2024

    Registry listing for accessibility-audit matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Xiao Dixit· Sep 5, 2024

    Useful defaults in accessibility-audit — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Isabella Torres· Aug 24, 2024

    I recommend accessibility-audit for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Shikha Mishra· Aug 16, 2024

    accessibility-audit reduced setup friction for our internal harness; good balance of opinion and flexibility.

showing 1-10 of 38

1 / 4