mcpField
F
frontend-accessibility

frontend-accessibility

github.com/aj-geddesDesign & UI373601 installsUpdated 34w ago
Repository

About frontend-accessibility

A skill for building accessible web applications with semantic HTML, ARIA, keyboard navigation, and screen reader support. It is intended for developers addressing WCAG guidance and inclusive design needs.

Key features

  1. 01Semantic HTML and ARIA
  2. 02Keyboard navigation
  3. 03Color contrast guidance
  4. 04Screen reader announcements
  5. 05Accessibility testing

Use cases

  1. 01Address accessibility standards in a web application
  2. 02Support screen reader users
  3. 03Improve keyboard navigation
  4. 04Investigate color contrast issues

Install

Copy the command and run it in a terminal.

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

After installing, type/frontend-accessibilityin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
accessibility-testing.md
color-contrast-and-visual-accessibility.md
keyboard-navigation.md
screen-reader-announcements.md
semantic-html-and-aria.md
templates/
component-template.tsx

Details

From the project README

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:

GuideContents
Semantic HTML and ARIASemantic HTML and ARIA
Keyboard NavigationKeyboard Navigation
Color Contrast and Visual AccessibilityColor Contrast and Visual Accessibility
Screen Reader AnnouncementsScreen Reader Announcements
Accessibility TestingAccessibility 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

Comments

Markdown supported