Logo Aria Patterns

Aria Patterns

Tổ chức
weAAAre
aria-patterns

Expert knowledge base for building accessible UI components with awareness of real-world assistive technology (AT) support gaps. Goes beyond the WAI-ARIA spec to provide actual AT compatibility data from a11ysupport.io, known screen reader quirks, proven workarounds, and the critical gotchas that emerge when ARIA meets real users on real devices. Use this skill whenever the user is building, reviewing, fixing, or testing an interactive UI component for accessibility — especially when they need to know what actually works across screen readers, not just what the spec says should work. Trigger on mentions of "ARIA", "a11y", "accessibility", "screen reader", "keyboard navigation", "WAI-ARIA", "APG patterns", "AT support", "assistive technology", "aria-modal", "tooltip role", "combobox", "menu pattern", "switch role", or any question about whether an ARIA feature actually works in practice. Also trigger when the user mentions specific screen readers (JAWS, NVDA, VoiceOver, TalkBack, Narrator) or asks about cross-browser/cross-AT compatibility for accessible components.

Tổng quan

Nhà phát hànhweAAAre
Kho mãa11y-agents-kit
Tên kỹ năngaria-patterns
Sao
35
Bản fork
6
Tệp đi kèm
12
Giấy phépMIT
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ộ.

  • 12 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 weAAAre 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 Aria Patterns 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/weAAAre/a11y-agents-kit/tree/main/skills/aria-patterns
  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/weAAAre/a11y-agents-kit.git /tmp/a11y-agents-kit
mkdir -p .claude/skills
cp -r /tmp/a11y-agents-kit/skills/aria-patterns .claude/skills/aria-patterns
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 Aria Patterns 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 Aria Patterns 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 Aria Patterns 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.

ARIA Accessible Component Patterns

This skill provides deep, practical knowledge about accessible UI component patterns based on the WAI-ARIA Authoring Practices Guide (APG).

Why this skill exists

LLMs already know the ARIA spec reasonably well. What they often get wrong is the gap between spec and reality:

  • role="tooltip" has 3/33 MUST support on a11ysupport.io — it's essentially dead
  • aria-modal="true" is not supported by TalkBack, Narrator, or Orca — your modal isn't actually modal
  • aria-autocomplete has 11/55 MUST support — screen readers mostly ignore it
  • aria-errormessage has ~20% MUST support — designed for form errors but AT ignores it; use aria-describedby instead
  • aria-relevant is completely broken for ANY non-default value — "additions" alone has 0/11 full support (NVDA ZERO on all browsers — stops announcing entirely); "text" alone also 0/11 (Narrator, VoiceOver iOS/macOS = none); "removals" 2/11 (VoiceOver only); the default "additions text" is the ONLY value that works (11/11)
  • aria-controls navigation works only in JAWS — other screen readers don't expose it
  • role="menu" is for application commands, not site navigation — this is the #1 ARIA misuse
  • aria-busy="true" is supposed to suppress live region updates but only JAWS supports it — every other screen reader ignores it
  • aria-live="assertive" does NOT interrupt in JAWS — the most-used desktop screen reader queues it instead
  • aria-details has 7/11 MUST support — VoiceOver (macOS + iOS), Narrator, and TalkBack completely ignore it; use aria-describedby as primary link to descriptions
  • aria-activedescendant is completely unsupported for combobox on VoiceOver macOS/Safari — it works for menus but combobox options are invisible; use DOM focus (roving tabindex) instead
  • aria-current has ZERO support on Narrator and Orca — the attribute recommended for breadcrumbs, step indicators, and nav is invisible to Windows built-in and Linux screen readers; dynamic state changes only announced by NVDA and VoiceOver iOS
  • aria-pressed="mixed" has near-zero support — only JAWS (Chrome/Firefox) and VoiceOver macOS convey the tri-state; NVDA, Narrator, Orca, TalkBack, VoiceOver iOS all ignore it
  • aria-sort dynamic changes are announced by only NVDA+Firefox (1/11 combos) — when a user clicks a column header to change sort direction, JAWS, Narrator, VoiceOver (all platforms), Orca, and TalkBack are all silent; Orca and TalkBack can't even read static ascending/descending values
  • aria-colcount="-1" (unknown column count) is broken in ALL screen readers (0/11) — every AT ignores the spec's MUST NOT and announces its own calculated count, misleading users; VoiceOver (macOS + iOS) and TalkBack don't support aria-colcount at all
  • aria-flowto has 10/44 MUST support (23%) — only JAWS supports alternate reading order navigation; NVDA, VoiceOver, TalkBack, Narrator, and Orca completely ignore it, making it useless for defining multi-column or complex layout reading paths
  • aria-level above 6 has ZERO support in JAWS (all browsers) and TalkBack — only 4/11 combos fully support heading levels >6; JAWS announces "heading" with no level number; restructure headings to stay within 1–6 or encode depth context in the accessible name

This skill provides the AT support reality data that prevents developers from shipping components that work in theory but fail for real screen reader users.

How to use this skill

  1. Read the reference file for the pattern the user needs
  2. Always check references/at-support-gotchas.md for cross-cutting AT support issues — this file contains the most critical knowledge that other sources miss
  3. Check references/live-regions.md whenever the user's component involves dynamic content updates, notifications, or status messages — live region behavior is deeply unintuitive
  4. Check references/form-validation.md whenever the user is implementing form validation, error handling, or required field patterns — aria-errormessage is deceptively broken
  5. Adapt to the user's context (framework, building vs auditing, testing)

When the user asks about a pattern, prioritize AT support reality over idealized spec behavior. If a feature has known support gaps, say so explicitly and provide workarounds.

Available patterns

PatternReference fileKey AT insight
Accordionreferences/accordion.mdWell-supported; heading structure is the critical factor
Checkboxreferences/checkbox.mdNative recommended; tri-state has nuanced AT behavior
Comboboxreferences/combobox.mdaria-autocomplete is nearly unsupported — use live regions
Dialog (Modal)references/dialog.mdaria-modal fails in 3+ screen readers — use inert or native <dialog>
Menu and Menubarreferences/menu.mdNOT for site navigation — only for app-style commands
Switchreferences/switch.mdFalls back to "checkbox" in many screen readers
Tabsreferences/tabs.mdAutomatic activation recommended; Tab key goes to panel, NOT next tab
Tooltipreferences/tooltip.mdrole="tooltip" is essentially dead — rely on aria-describedby/aria-labelledby

Cross-cutting reference

ReferenceFileContent
AT Support Gotchasreferences/at-support-gotchas.mdCritical ARIA features with broken AT support, workarounds, and testing recommendations
Live Regionsreferences/live-regions.mdaria-busy broken everywhere except JAWS, assertive doesn't interrupt in JAWS, DOM-first rule, debouncing
Form Validationreferences/form-validation.mdaria-errormessage barely works — use aria-describedby; group/radiogroup mobile gaps; DOM-first rule for alerts

Reference file structure

Each reference file follows the same structure:

  1. Identity — what makes a component this pattern (and what doesn't), with a comparison table against similar patterns
  2. Variants — behavioral differences between sub-types
  3. Anatomy & markup — required HTML structure and ARIA attributes, with code for both native and custom implementations
  4. Keyboard interaction — every key the component must respond to, organized as required vs. optional
  5. State management — how ARIA states change in response to user interaction, with state transition rules
  6. Screen reader expectations — what semantic information must be conveyed, acknowledging differences across screen readers
  7. Implementation guide — practical guidance for building the component correctly, with native-first approach
  8. Common mistakes — frequent accessibility failures and how to fix them
  9. Acceptance criteria — concise, verifiable checklist for auditing, organized by severity

General principles

Prefer native HTML (First Rule of ARIA)

Use native HTML elements whenever they provide the needed semantics. A <button> is always preferable to a <div role="button">. Only reach for ARIA when no native element can achieve the result.

Spec vs reality

The ARIA spec defines what SHOULD happen. Real AT support determines what DOES happen. When this skill flags a support gap, take it seriously — millions of users depend on screen readers that may not implement the spec correctly. Always provide fallbacks for features with known gaps.

Screen reader announcements are semantic, not verbatim

When this skill describes what a screen reader should announce, it refers to the semantic information that must be conveyed — not the exact words. NVDA, JAWS, VoiceOver, and TalkBack each phrase things differently, but the underlying meaning must be present.

Severity levels

  • Critical — Failure makes the component unusable for AT users. Must be resolved.
  • Major — Failure significantly degrades the experience. Should be resolved.
  • Minor — Usability inconvenience. Resolve when possible.

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 Aria Patterns làm được gì?

Expert knowledge base for building accessible UI components with awareness of real-world assistive technology (AT) support gaps. Goes beyond the WAI-ARIA spec to provide actual AT compatibility data from a11ysupport.io, known screen reader quirks, proven workarounds, and the critical gotchas that emerge when ARIA meets real users on real devices. Use this skill whenever the user is building, reviewing, fixing, or testing an interactive UI component for accessibility — especially when they need to know what actually works across screen readers, not just what the spec says should work. Trigge...

Vì sao nên dùng Aria Patterns 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. Aria Patterns 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 Aria Patterns trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/weAAAre/a11y-agents-kit/tree/main/skills/aria-patterns. 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 Aria Patterns?

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 Aria Patterns 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 Aria Patterns 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 Aria Patterns có miễn phí không?

Có. Kỹ năng này được weAAAre phát hành trên GitHub theo giấy phép MIT. 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 👇