Frontend Accessibility

Review frontend UI code for HTML semantics, ARIA, keyboard navigation, and contrast.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/t-strings/tdom-path --skill frontend-accessibility-t-strings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Frontend Accessibility
Source: https://github.com/t-strings/tdom-path/tree/main/.claude/skills/frontend-accessibility
Command: npx skills add https://github.com/t-strings/tdom-path --skill frontend-accessibility-t-strings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides Claude Code with guidance on frontend accessibility, ensuring UI is usable by people with diverse abilities.

Core Features & Use Cases

  • WCAG Alignment: Follow accessibility best practices in markup and interactions.
  • Semantic HTML: Prioritize meaningful elements for screen readers.
  • Use Case: Review a component's markup to improve keyboard navigation and contrast.

Quick Start

Apply Frontend Accessibility guidelines to a sample component’s markup.

Frequently Asked Questions about Frontend Accessibility

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

FAQPage Schema
How do I improve keyboard navigation and screen reader support in my HTML components?

Keyboard navigation and screen reader support are core accessibility features. Use semantic HTML elements, implement proper focus management with keyboard handlers, add ARIA attributes where semantic HTML is insufficient, and ensure all interactive elements are reachable via Tab key. This Skill guides you through these practices in code reviews and component development.

What does WCAG compliance mean for frontend code, and how do I meet it?

WCAG compliance means meeting Web Content Accessibility Guidelines standards for usable, perceivable interfaces. Frontend accessibility compliance requires semantic HTML markup, sufficient color contrast ratios, keyboard accessibility, skip links, focus indicators, and responsive behavior. This Skill helps you address these requirements systematically in your UI code.

How do I audit a component's accessibility during code review?

Review components for semantic HTML usage, ARIA attribute correctness, keyboard navigation flow, focus management, color contrast levels, and responsive design behavior. This Skill provides structured guidance for identifying accessibility gaps in markup and interactions during design-to-implementation workflows.

What's the difference between semantic HTML and ARIA attributes in accessibility?

Semantic HTML provides native meaning to screen readers and browsers—use it first for headings, buttons, lists, and landmarks. ARIA attributes enhance or clarify semantics when native elements cannot express the intended role or state. This Skill teaches when to use each and how to avoid redundant or incorrect ARIA usage.

Do I need accessibility testing tools to implement WCAG compliance?

While automated tools detect contrast and missing attributes, this Skill focuses on accessibility principles in your code itself—semantic markup, keyboard support, and proper ARIA usage. Automated tools are helpful but cannot replace manual testing with screen readers and keyboard navigation to verify genuine usability.

Can I make a component accessible without changing its visual design?

Yes. Accessibility is primarily a markup and interaction layer—semantic HTML, ARIA, keyboard handlers, and focus indicators can be added without altering visual appearance. This Skill helps you maintain design intent while meeting functional accessibility requirements for diverse user abilities.