Logo Accessibility

Accessibility

Cộng đồng
nahid-sparktales
accessibility

Build and fix interfaces so they meet WCAG 2.2 AA in practice — native semantics, keyboard paths, focus order and visibility, accessible names, contrast, form errors, live regions, target size. Fires while writing or reviewing UI code, when a component is keyboard- or screen-reader-hostile, or when an audit finding has to be turned into a change. Not for proving the result (accessibility-verification), not for viewport layout work (responsive-design), and not a recital of the standard.

Tổng quan

Nhà phát hànhnahid-sparktales
Kho mãagent-dispatcher
Tên kỹ năngaccessibility
Sao
58
Bản fork
5
Tệp đi kèm
1
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ộ.

  • 1 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 nahid-sparktales 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 Accessibility 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/nahid-sparktales/agent-dispatcher/tree/main/skills/design/accessibility
  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/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/design/accessibility .claude/skills/accessibility
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 Accessibility 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 Accessibility 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 Accessibility 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.

Accessibility in practice

Most barriers are created by replacing something the platform already made accessible. The cheapest accessible component is the one you did not rebuild.

When this fires

While building or changing any interactive UI, and when turning an audit finding into a fix. It does not fire to prove a screen is accessible — that is accessibility-verification, and it needs a keyboard and a screen reader, not a code read.

Procedure

  1. Use the native element first. button, a[href], input, label, select, details, dialog, table. Each arrives with a role, keyboard behaviour, focus handling and state reporting you would otherwise have to write and maintain. A div with a click handler has none of it. If the project already has an accessible component for this, reuse that instead.
  2. Get the structure right before the styling. One h1 per view, headings in descending order with none skipped, real landmarks (header, nav, main, footer), lists marked up as lists, a unique page title per route. Screen reader users navigate by these; they are the table of contents, not decoration.
  3. Give every control a name that matches its visible label. Visible text is the name where possible; label[for] for inputs; an aria-label only for controls with no visible text, such as an icon button. When there is visible text, the accessible name must contain it — a button reading "Save" named "Submit form" breaks voice control.
  4. Walk the keyboard path yourself. Tab reaches everything interactive, in DOM order; Enter and Space operate it; Escape closes what opened; focus never gets stuck. Do not use positive tabindex — fix the DOM order instead. Composite widgets (menus, tabs, grids) take one Tab stop and move internally with arrow keys.
  5. Keep focus visible and unobscured. Never delete an outline without shipping a replacement. Style :focus-visible so it survives sticky headers, overflow clipping and dark backgrounds, and check that a sticky bar or cookie banner does not cover the focused element.
  6. Move focus deliberately when the view changes. Opening a dialog moves focus into it and traps it there; closing returns focus to the element that opened it; a client-side route change moves focus to the new heading or main region. Focus left behind on a removed node goes to body, and the user loses their place silently.
  7. Choose colours that carry the contrast. 4.5:1 for body text, 3:1 for large text and for the boundaries of controls, focus rings and meaningful graphics. Check hover, active, selected and error states too, and text sitting over images or gradients. Never let colour alone carry meaning — pair it with text, an icon or a pattern.
  8. Make forms explain themselves programmatically. Associate the error with its field (aria-describedby), mark the field invalid (aria-invalid), and write error text that says what is wrong and how to fix it. Use autocomplete tokens on personal-data fields. Do not make people re-enter information they already gave you in the same flow, and do not block paste in password or one-time-code fields.
  9. Announce what changes without a page load. A status message needs a live region that already exists in the DOM before it updates — aria-live="polite" for status, role="alert" for errors. Announce once, keep it short, and do not wire a live region to something that updates constantly.
  10. Respect the user's settings. Honour prefers-reduced-motion by removing movement, not by speeding it up. Respect prefers-color-scheme and prefers-reduced-transparency where the design uses them. Never disable zoom in the viewport meta tag.
  11. Cover the WCAG 2.2 additions that bite hardest. Any drag interaction needs a single-pointer alternative (click or button). Interactive targets are at least 24×24 CSS px unless spaced or inline in a sentence. Help links stay in the same relative place across pages.
  12. Add ARIA last, and as little as possible. No ARIA beats wrong ARIA: an incorrect role silently overrides the real one. Never put aria-hidden on anything focusable, and never invent role/state combinations — copy an established pattern and keep its keyboard contract intact.
  13. Stop and ask before changing shared surfaces. A contrast fix that alters a brand token, or a markup change inside a shared design-system component, affects screens you are not looking at. Propose the change with the reason; do not push it through on your own authority.

Checklist

  • Every interactive element is a native control or reuses an existing accessible component
  • Heading order and landmarks make sense read alone, with no skipped levels
  • Every control has a name, and it contains the visible label text
  • Tab reaches everything, in a sensible order, with no trap and no positive tabindex
  • Focus is always visible and never covered by sticky or overlaying chrome
  • Dialog and route changes move focus, and closing returns it
  • Text and control boundaries meet contrast in every state, including over imagery
  • Errors are associated with their fields and readable without colour
  • Dynamic messages land in a live region that existed beforehand
  • Reduced motion honoured; zoom not disabled
  • Drag interactions have a click alternative; targets are 24×24 CSS px or spaced
  • ARIA added only where a native element could not do the job

Failure handling

  • The component is a third-party widget you cannot change — say so, record the specific barrier, and look for a documented accessible mode or a replacement. Do not paper over it with ARIA that describes behaviour the widget does not have.
  • The fix needs a design decision (a token fails contrast, a layout has no room for a 24px target) — name the conflict and the options, and let the design owner choose. Do not quietly ship a visual change to satisfy a checker.
  • A pattern has no obvious accessible form — look up the established pattern for it rather than inventing roles. If the project pins a component library, check that library's current accessibility API before assuming what it supports.
  • A checker passes but the interaction still feels wrong — trust the interaction. Automated rules cannot see whether a name is meaningful or an order is logical.

Evidence to report

Name the elements changed and why: which control became a button, which name was added, where focus now moves, which token changed and its measured ratio before and after. State plainly that these are implementation changes — they are unverified until someone drives the keyboard and a screen reader. Hand the claim to accessibility-verification; do not call it conformant here.

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

Build and fix interfaces so they meet WCAG 2.2 AA in practice — native semantics, keyboard paths, focus order and visibility, accessible names, contrast, form errors, live regions, target size. Fires while writing or reviewing UI code, when a component is keyboard- or screen-reader-hostile, or when an audit finding has to be turned into a change. Not for proving the result (accessibility-verification), not for viewport layout work (responsive-design), and not a recital of the standard.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/design/accessibility. 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 Accessibility?

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

Có. Kỹ năng này được nahid-sparktales 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 👇