Logo Ai A11y Toolkit

Ai A11y Toolkit

Cộng đồng
danarandall
ai-a11y-toolkit

WCAG 2.2 Level AA rules for designing and building digital experiences. Load this before generating, editing, or reviewing any user interface: screens and components in Figma, HTML and CSS, React or other component frameworks, Figma Make apps, and generated copy or alt text. Also load it when asked about contrast ratios, focus behavior, keyboard operation, alt text, heading structure, target size, reduced motion, form errors, live regions, reflow at 200 percent zoom, or whether a design system makes a product accessible.

Tổng quan

Nhà phát hànhdanarandall
Kho mãai-a11y-toolkit
Tên kỹ năngai-a11y-toolkit
Sao
3
Bản fork
0
Tệp đi kèm
13
Giấy phépCC-BY-4.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 13 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được danarandall công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ai A11y Toolkit trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/danarandall/ai-a11y-toolkit/tree/main/skills/ai-a11y-toolkit
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/danarandall/ai-a11y-toolkit.git /tmp/ai-a11y-toolkit
mkdir -p .claude/skills
cp -r /tmp/ai-a11y-toolkit/skills/ai-a11y-toolkit .claude/skills/ai-a11y-toolkit
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ai A11y Toolkit trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ai A11y Toolkit ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ai A11y Toolkit với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

AI A11y Toolkit

WCAG 2.2 Level AA rules for humans and AI agents building digital experiences.

Written by Dana Randall. Licensed CC BY 4.0, free to use commercially, adapt, and redistribute, with attribution. Current release and feedback: https://danarandall.com/ai-a11y-toolkit

How to use this skill

Apply the non-negotiables below to everything you produce. They are short because they are always on.

Then load the reference for the work in front of you. Do not load all of them.

Working onLoad
Screens, components, or a design file in Figmareferences/design.md
Choosing or checking colorsreferences/color.md
Animation, video, carousels, target size, zoom, reflowreferences/motion-media-targets.md
Images, icons, charts, illustrationsreferences/alt-text.md
Copy, labels, error text, generated contentreferences/content-and-language.md
HTML and CSSreferences/html-css.md
React or another component frameworkreferences/react.md
Testing, scanning, deciding whether it is donereferences/testing.md
Looking up a specific success criterionreferences/wcag-reference.md
Debugging a defect you just producedreferences/failure-patterns.md
Starting a project and setting its contextreferences/project-configuration.md

Before generating any interface code, load references/agent-directives.md. It is the full always and never list in directive form, and it is longer and more specific than the summary below.

The non-negotiables

These thirteen rules prevent most real-world accessibility failures. They apply to every role, every framework, every deliverable.

  1. Semantics before ARIA. Use the native HTML element that already has the right role and behavior. <button>, <a href>, <input>, <select>, <nav>, <table>. Only reach for ARIA when no native element exists. The first rule of ARIA is not to use ARIA.
  2. Everything works with a keyboard alone. Every interactive element is reachable by Tab, operable by Enter or Space, and escapable. No keyboard traps. (2.1.1, 2.1.2)
  3. Focus is always visible. Never remove focus indicators. Never write outline: none without a replacement of equal or better visibility. Focus must not be hidden behind sticky headers, footers, or overlays. (2.4.7, 2.4.11)
  4. Every control has an accessible name. Icon-only buttons, form fields, links, and inputs all need programmatic names. A visible <label> is preferred. If the control has visible text, the accessible name must include that text. (4.1.2, 3.3.2, 2.5.3)
  5. Every non-decorative image has meaningful, informative alt text. Decorative images get alt="". Never leave alt off entirely. Never use a filename, an internal SKU, or a color code. (1.1.1)
  6. Text contrast is at least 4.5:1. Large text, meaning 24px regular or 18.66px bold and above, may go to 3:1. UI components, icons, borders, focus rings, and chart elements need 3:1. (1.4.3, 1.4.11)
  7. Color is never the only signal. Errors, states, required fields, availability, chart series, and links inside text blocks all need a second cue: text, icon, underline, shape, or pattern. (1.4.1)
  8. Heading structure is logical and unskipped. One <h1> per page, descending order, no levels used for visual size. (1.3.1, 2.4.6)
  9. Text reflows at 200% zoom and 320px CSS width with nothing cut off, truncated, or covered. No fixed pixel heights on text containers, no sticky element covering content at large text sizes. (1.4.4, 1.4.10, 1.4.12)
  10. Motion is user-controlled by default. Honor prefers-reduced-motion automatically. Anything that auto-plays, auto-advances, moves, or scrolls for more than five seconds needs a persistent pause, stop, or hide control. Nothing flashes more than three times per second. (2.2.2, 2.3.1)
  11. Errors are identified in text, next to the field, and describe the fix. Not just a red border. Associate the message programmatically with the input. (3.3.1, 3.3.3)
  12. Interactive targets are at least 44x44 CSS pixels. 24x24 is the WCAG AA floor and only passes with adequate spacing. 44x44 is the house standard because it is what actually works for tremor, low vision, switch access, and one-handed mobile use. (2.5.8)
  13. Dynamic changes are announced. Validation, filter results, cart totals, toasts, and loading states need a live region or focus management. Silent updates do not exist for screen reader users. (4.1.3)

Working in Figma

A design file settles fewer criteria than most people expect. Measured against WCAG 2.2 A and AA, a Figma design kit determines 3 of 55 criteria, influences 14, and cannot affect the remaining 38. At Level A specifically it determines none of the 31.

The three it settles are text contrast, non-text contrast, and target size. Those are exactly the three worth getting right in the file, because they are cheap to fix in design and expensive to fix later.

This is a statement about a static file, not about design as a practice. Reading order, focus order, heading levels, error copy, alternative text, and state design are all decided during design work and then implemented in code. Deciding them early is what prevents rework. Annotate them in the file so they survive handoff. references/design.md covers how.

Never state or imply that using a design system makes a product accessible. It settles a small number of criteria and leaves the rest open.

Verification

Report what you implemented and what still needs human and screen reader testing. references/testing.md has the loop.

Never assert that generated output is accessible or compliant. Never suppress, ignore, or baseline a finding to make a scan pass. Automated checks find a minority of real barriers, so a clean scan is a starting point rather than a result.

When a request conflicts with these rules

Say so, name the criterion, and offer the closest option that satisfies it. Choose the more conservative, more semantic option when uncertain. Flag the ambiguity rather than guessing.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ai A11y Toolkit làm được gì?

WCAG 2.2 Level AA rules for designing and building digital experiences. Load this before generating, editing, or reviewing any user interface: screens and components in Figma, HTML and CSS, React or other component frameworks, Figma Make apps, and generated copy or alt text. Also load it when asked about contrast ratios, focus behavior, keyboard operation, alt text, heading structure, target size, reduced motion, form errors, live regions, reflow at 200 percent zoom, or whether a design system makes a product accessible.

Vì sao nên dùng Ai A11y Toolkit trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ai A11y Toolkit là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ai A11y Toolkit trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/danarandall/ai-a11y-toolkit/tree/main/skills/ai-a11y-toolkit. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ai A11y Toolkit?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ai A11y Toolkit với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ai A11y Toolkit với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ai A11y Toolkit có miễn phí không?

Có. Kỹ năng này được danarandall phát hành trên GitHub theo giấy phép CC-BY-4.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇