Frontend Accessibility

Provide WCAG-compliant frontend accessibility guidance for components, forms, and navigation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SpacePlushy/portfolio --skill frontend-accessibility-spaceplushy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Frontend Accessibility
Source: https://github.com/SpacePlushy/portfolio/tree/main/.claude/skills/frontend-accessibility
Command: npx skills add https://github.com/SpacePlushy/portfolio --skill frontend-accessibility-spaceplushy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Inaccessible user interfaces exclude users with disabilities and can lead to legal compliance issues. This skill guides AI in building UIs that adhere to WCAG standards, ensuring semantic HTML, ARIA attributes, and keyboard navigation, making your applications usable for everyone.

Core Features & Use Cases

  • Semantic UI Construction: Directs AI to use proper HTML, ARIA attributes, and focus management for interactive elements.
  • WCAG Compliance: Guides AI on ensuring color contrast, keyboard navigation, and screen reader compatibility.
  • Inclusive Design: Ensures AI considers accessibility from component creation to form implementation and navigation.

Quick Start

Ensure the new modal component is fully accessible, including keyboard navigation, ARIA attributes, and proper focus management.

Frequently Asked Questions about Frontend Accessibility

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure my React or Vue components meet WCAG accessibility standards?

WCAG compliance requires semantic HTML, proper ARIA attributes, keyboard navigation, and color contrast. Use correct HTML elements for interactive components, add ARIA roles and live regions where needed, ensure all features work via keyboard, and verify color contrast ratios meet WCAG AA or AAA standards.

What's the best way to implement keyboard navigation and focus management in modals and accordions?

Keyboard navigation requires managing focus within modals, trapping it to prevent users escaping accidentally, and returning focus when closed. For accordions, ensure each header is keyboard-accessible and announce expanded/collapsed state to screen readers using ARIA attributes like aria-expanded.

How do I add alt text and screen reader announcements to make images and forms accessible?

Provide descriptive alt text for all images that conveys meaning without repetition. For forms, associate labels with inputs using proper HTML, add aria-describedby for error messages, and use aria-live regions to announce validation feedback to screen reader users.

Can I use skip links and semantic HTML to improve navigation accessibility?

Skip links let users bypass repetitive content and jump to main content, improving keyboard navigation. Semantic HTML—using nav, main, header, footer, button, and form elements—provides structure screen readers recognize, reducing cognitive load and improving overall accessibility.

What accessibility considerations apply when building Astro, React, Vue, or Svelte components?

All frameworks require semantic HTML, ARIA attributes, and keyboard event handling. Ensure focus management works across client-side routing, test with screen readers, validate color contrast, and include proper labeling. Framework-agnostic principles like semantic structure apply universally.

Why is color contrast important and how do I verify it meets WCAG standards?

Color contrast ensures text is readable for users with low vision or color blindness. WCAG AA requires 4.5:1 contrast for normal text and 3:1 for large text; AAA requires 7:1 and 4.5:1 respectively. Use contrast checker tools to verify ratios during design and development.