Frontend Accessibility

Apply WCAG-compliant accessibility to React, Vue, or HTML UI components.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that all users, including those with disabilities, can effectively use the application by guiding the implementation of semantic HTML, keyboard navigation, ARIA attributes, and proper color contrast.

Core Features & Use Cases

  • Semantic HTML: Promotes using appropriate HTML elements for structure and meaning.
  • Keyboard Navigation: Guides on implementing full keyboard control for interactive elements.
  • ARIA Attributes & Contrast: Advises on using ARIA roles and ensuring sufficient color contrast.
  • Use Case: When building a new modal dialog, use this skill to ensure it can be navigated and closed via keyboard, has proper ARIA roles, and maintains focus management for screen reader users.

Quick Start

Using the Frontend Accessibility skill, review the new SignUpForm to ensure all input fields have proper labels, keyboard navigation, and sufficient color contrast.

Frequently Asked Questions about Frontend Accessibility

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

FAQPage Schema
How do I make a React component accessible to screen readers?

Screen reader accessibility requires semantic HTML elements, ARIA roles and labels, and proper heading hierarchy. Use native elements like `<button>` and `<form>`, add `aria-label` or `aria-labelledby` to unlabeled controls, and structure headings logically so assistive technology users navigate predictably.

What color contrast ratio do accessible UIs need to meet?

WCAG-compliant interfaces require a color contrast ratio of at least 4.5:1 between text and background. This ensures readability for users with low vision or color blindness. Test contrast using automated tools or manual verification against WCAG standards.

How do I implement keyboard navigation for interactive components?

Keyboard navigation means all interactive elements—buttons, links, form fields, modals—must be reachable and operable via Tab, Enter, Escape, and arrow keys. Manage focus programmatically, trap focus within modals, and ensure logical tab order so keyboard-only users can access every feature.

Do I need to add alt text to every image in my interface?

Yes, alt text is essential for image accessibility. Provide concise, meaningful descriptions that convey the image's purpose or content so screen reader users understand context. Decorative images should use empty alt attributes to avoid redundant announcements.

Can I use semantic HTML with Vue or do I need special accessibility libraries?

Semantic HTML works with Vue, React, and plain JavaScript. Focus on using proper elements and ARIA attributes in your templates; no special library is required. Vue's reactivity and component structure support accessible patterns when you apply semantic principles consistently.

How do I test whether my UI components are actually accessible?

Test accessibility by navigating with keyboard only, using screen readers like NVDA or JAWS, and running automated checkers for WCAG compliance. Manual testing with assistive technologies is essential—automated tools catch missing labels and contrast issues but cannot verify semantic meaning or user experience.