accessibility-standards

Implement WCAG 2.1 AA accessibility standards in Vue 3 applications.

1|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/alongor666/daylyreport --skill accessibility-standards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: accessibility-standards
Source: https://github.com/alongor666/daylyreport/tree/main/.claude/skills/accessibility-standards
Command: npx skills add https://github.com/alongor666/daylyreport --skill accessibility-standards

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidelines for implementing WCAG 2.1 AA accessibility standards in Vue 3 applications. It ensures that the vehicle insurance data platform is usable by people with diverse abilities, enhancing inclusivity and compliance.

Core Features & Use Cases

  • Keyboard Navigation: Details proper tab order, skip links, and keyboard event handling for full keyboard operability.
  • ARIA Labels: Guides on using ARIA attributes for buttons, forms, live regions, and dialogs to provide semantic meaning for assistive technologies.
  • Color Contrast: Explains WCAG 2.1 AA requirements for text and large text, and suggests improvements for platform colors.
  • Focus Indicators: Emphasizes visible focus states and proper focus management for keyboard users.
  • Screen Reader Support: Provides best practices for image alt text, chart accessibility, and loading announcements.
  • Use Case: A developer needs to ensure a new modal component is accessible. This skill guides them to add role="dialog", aria-labelledby, aria-describedby, aria-modal="true", and manage focus within the modal.

Quick Start

Ensure the 'FilterPanel.vue' component is fully keyboard navigable and provides appropriate ARIA labels for its controls.

Frequently Asked Questions about accessibility-standards

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

FAQPage Schema
How do I make Vue 3 components keyboard navigable?

Keyboard navigation in Vue 3 requires proper tab order management, skip links, and keyboard event handlers. Set `tabindex` attributes, manage focus programmatically with `ref`, handle `keydown` events for Enter and Escape, and ensure all interactive elements are reachable without a mouse to meet WCAG 2.1 AA operability standards.

What ARIA labels do I need for accessible Vue 3 forms and dialogs?

Use `aria-label`, `aria-labelledby`, and `aria-describedby` to associate form inputs with labels. For dialogs, add `role="dialog"`, `aria-modal="true"`, and `aria-labelledby` to the heading. These ARIA attributes provide semantic meaning for screen readers and assistive technologies to announce form purpose and structure.

How do I check color contrast in Vue 3 components for WCAG compliance?

WCAG 2.1 AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Test your component colors using contrast checking tools, adjust CSS variables or Tailwind classes, and validate across text, backgrounds, and interactive states to ensure readability for users with low vision.

Can I add screen reader support to Vue 3 charts and images?

Yes. Provide descriptive `alt` text for images, use `aria-label` for charts, and add `role="img"` when appropriate. For dynamic content updates, implement `aria-live="polite"` or `aria-live="assertive"` regions to announce loading states, data changes, and results to assistive technology users.

What's the best way to manage focus in Vue 3 modals and drawers?

Focus management for modals requires trapping focus within the dialog, returning focus to the trigger element on close, and providing visible focus indicators on all interactive elements. Use Vue refs to programmatically set `focus()`, listen for Escape key to close, and prevent focus from escaping outside the modal.

Do I need to update existing Vue 3 components for WCAG 2.1 AA compliance?

Yes, WCAG 2.1 AA compliance requires auditing existing components for keyboard navigation, ARIA labels, color contrast, and focus management. Incrementally add semantic HTML, skip links, visible focus states, and screen reader announcements to ensure your entire application meets accessibility standards for all users.