frontend-accessibility

aj-geddes/useful-ai-prompts · updated Apr 8, 2026

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill frontend-accessibility
0 commentsdiscussion
summary

Build accessible web applications following WCAG guidelines with semantic HTML, ARIA attributes, keyboard navigation, and screen reader support for inclusive user experiences.

skill.md

Frontend Accessibility

Table of Contents

Overview

Build accessible web applications following WCAG guidelines with semantic HTML, ARIA attributes, keyboard navigation, and screen reader support for inclusive user experiences.

When to Use

  • Compliance with accessibility standards
  • Inclusive design requirements
  • Screen reader support
  • Keyboard navigation
  • Color contrast issues

Quick Start

Minimal working example:

<!-- Good semantic structure -->
<nav aria-label="Main navigation">
  <ul>
    <li><a href="/">Home</a></li>
    <li><a href="/about">About</a></li>
    <li><a href="/contact">Contact</a></li>
  </ul>
</nav>

<main>
  <article>
    <header>
      <h1>Article Title</h1>
      <time datetime="2024-01-15">January 15, 2024</time>
    </header>
    <p>Article content...</p>
  </article>

  <aside aria-label="Related articles">
    <h2>Related Articles</h2>
    <ul>
      <li><a href="/article1">Article 1</a></li>
      <li><a href="/article2">Article 2</a></li>
    </ul>
  </aside>
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

Guide Contents
Semantic HTML and ARIA Semantic HTML and ARIA
Keyboard Navigation Keyboard Navigation
Color Contrast and Visual Accessibility Color Contrast and Visual Accessibility
Screen Reader Announcements Screen Reader Announcements
Accessibility Testing Accessibility Testing

Best Practices

✅ DO

  • Follow established patterns and conventions
  • Write clean, maintainable code
  • Add appropriate documentation
  • Test thoroughly before deploying

❌ DON'T

  • Skip testing or validation
  • Ignore error handling
  • Hard-code configuration values

Discussion

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

Ratings

4.862 reviews
  • Min Reddy· Dec 24, 2024

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

  • Diego Abebe· Dec 20, 2024

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

  • Jin Zhang· Nov 27, 2024

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

  • Sakshi Patil· Nov 15, 2024

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

  • Noor Robinson· Nov 15, 2024

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

  • Henry Gupta· Nov 15, 2024

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

  • Mia Yang· Nov 11, 2024

    We added frontend-accessibility from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Diego Liu· Oct 18, 2024

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

  • Chaitanya Patil· Oct 6, 2024

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

  • Noor Mensah· Oct 6, 2024

    We added frontend-accessibility from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 62

1 / 7