Skip to content

simonplmak-cloud/wcag-aaa-web-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The content of this README.md is written for a human audience on GitHub. The SKILL.md file contains the instructions for the Manus agent.

WCAG 2.2 AAA Web Design Toolkit: An AI Skill for Accessible Enterprise Web Apps

License: MIT WCAG 2.2 AAA Compliant PRs Welcome

A framework-agnostic toolkit and AI agent skill for building enterprise-grade, corporate/formal web applications that meet the highest level of web accessibility, WCAG 2.2 Level AAA.

This repository provides a comprehensive, production-ready system grounded in industry best practices from Nielsen Norman Group, IBM Carbon Design System, and OWASP. It includes a formal design system, responsive HTML/CSS templates, ARIA patterns, a modular JavaScript template, security guidance, and robust validation scripts.

Social Preview Image

What is This? A Toolkit for Humans and AI

Achieving WCAG 2.2 AAA compliance is notoriously difficult. This toolkit aims to provide a complete, practical, and well-documented starting point for developers tasked with building highly accessible, corporate web applications. It is designed to be framework-agnostic, using standard HTML, CSS custom properties, and modular JavaScript that can be adapted to any technology stack.

More importantly, this is also an AI agent skill. As AI coding assistants increasingly build our websites, they often produce inaccessible code. This toolkit is structured to be used by an AI agent to autonomously generate a fully compliant website, ensuring the automated web is inclusive by default.

Getting Started

For Developers

  1. Clone or download this repository.
  2. Copy the templates/ directory into your project's source folder.
  3. Consult the references/ directory for in-depth guidance on design patterns, security, and accessibility.
  4. Use the scripts/ to validate your work.

For AI Agents

This repository is designed to be used as a skill by an AI agent like Manus. The SKILL.md file provides the agent with a 7-step workflow to autonomously build a compliant web application. To use this as an AI skill, follow these steps:

  1. Load the Skill: Make the wcag-aaa-web-design directory available to your AI agent. In Manus, this is done by placing it in the /home/ubuntu/skills/ directory.

  2. Provide a High-Level Prompt: Give the agent a high-level goal that triggers the skill's description. The skill's description in SKILL.md is:

    "Create corporate/formal, device-sensitive web applications compliant with WCAG 2.2 AAA standards. Use for building highly accessible websites and web apps that require strict adherence to accessibility, a formal tone, and responsive design for at least three device sizes. This skill provides a complete workflow, design system, component templates, and validation scripts."

  3. Agent Execution: The agent will read SKILL.md and follow the 7-step workflow, using the provided templates and references to build the application. The agent will:

    • Copy the templates.
    • Consult the design system and security references.
    • Implement navigation, content structure, and interactive components.
    • Run the validation scripts to audit its own work.

Example Prompt:

"Build a 3-page corporate website for a financial consulting firm. The site must be highly accessible and meet WCAG 2.2 AAA standards. It needs a formal, professional design and must be responsive for mobile, tablet, and desktop. The pages are Home, About Us, and Contact Us."

This prompt contains the keywords that will activate the skill and guide the agent through the structured development process.

The 7-Step Workflow for Building Accessible Web Apps

This toolkit is built around a 7-step workflow to guide development from foundation to final audit:

  1. Foundation & Theming: Set up the project and apply the corporate visual style using tokens.css.
  2. Security Configuration: Harden the application using the guidance in security-error-handling.md.
  3. Information Architecture & Navigation: Define the application structure using the patterns in navigation-patterns.md.
  4. Content & Structure: Build pages with semantic HTML and proper heading hierarchy using base.html.
  5. Data Presentation & Application States: Design for data-heavy screens and non-ideal states (loading, empty, error).
  6. Interactive Components & Forms: Build accessible interactive elements with proper security using ARIA patterns.
  7. Validation & Auditing: Use the provided scripts and checklists to confirm compliance.

Resources Included

Directory Purpose
scripts/ Automated validation scripts for contrast checking (check_contrast.py) and full WCAG 2.2 AAA audits (validate_accessibility.sh).
references/ 11 in-depth guides covering the entire system: security, UX patterns, ARIA, forms, data presentation, navigation, design system, and a full WCAG checklist.
templates/ 11 production-ready, framework-agnostic templates: a secure HTML5 boilerplate, modular JavaScript, responsive CSS, design tokens, and accessible components (header, footer, data table, sidebar, empty states).

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

An open-source WCAG 2.2 AAA accessible design system and AI agent skill for building enterprise web applications. Includes a full component library, templates, and validation scripts for corporate/formal web apps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors