frontend-design

Guide semantic HTML, ARIA usage, and accessible styling for WCAG 2.1 AA compliance.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/bbohhu-prog/waxs --skill frontend-design-bbohhu-prog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-design
Source: https://github.com/bbohhu-prog/waxs/tree/main/.claude/skills/frontend-design
Command: npx skills add https://github.com/bbohhu-prog/waxs --skill frontend-design-bbohhu-prog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

前端界面设计辅助工具,帮助开发团队在设计、实现和评审阶段快速应用无障碍原则,确保界面能够被所有用户轻松访问与使用。

Core Features & Use Cases

  • 提供语义化 HTML5 布局建议、ARIA 使用规范、对比度检查和焦点管理指导,帮助构建符合 WCAG 的界面。
  • 生成无障碍友好的组件骨架(React/Vue)及其无障碍属性标注,便于快速原型迭代。
  • 进行样式审查与响应式设计建议,覆盖颜色对比、焦点样式和无障碍可用性评估。

Quick Start

请为一个无障碍友好的前端页面生成完整的 HTML、CSS 结构和 ARIA 说明。

Frequently Asked Questions about frontend-design

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

FAQPage Schema
How do I make my frontend components comply with WCAG 2.1 AA standards?

To make frontend components comply with WCAG 2.1 AA standards, apply semantic HTML5, proper ARIA attributes, and accessible styling. This ensures keyboard operability, sufficient color contrast, and visible focus states for all users.

What is the best way to add ARIA roles to semantic HTML for accessibility?

Adding ARIA roles to semantic HTML requires matching attributes to specific component behaviors. Generate accessible component skeletons with correct ARIA labeling to ensure screen readers accurately interpret interactive elements and page structure.

Can I use this approach to check color contrast and focus visibility in responsive design?

Yes, you can use this approach to check color contrast and focus visibility in responsive design. Conduct style reviews and responsive adaptation assessments to evaluate accessible usability across different viewport sizes and interaction states.

How do I generate an accessible React or Vue component skeleton?

To generate an accessible React or Vue component skeleton, specify the UI element and request an accessibility-friendly prototype. The output includes the structural code along with necessary ARIA property annotations for rapid iteration.

When do I need to perform an accessibility style review for frontend pages?

You need to perform an accessibility style review during new page creation, component development, or style reviews. This process identifies color contrast issues, missing focus styles, and keyboard operability barriers before deploying your interface.