Логотип Accessibility

Accessibility

Спільнота
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.

Огляд

Видавецьnahid-sparktales
Репозиторійagent-dispatcher
Назва навичкиaccessibility
Зірки
58
Форки
5
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: nahid-sparktales. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Accessibility у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/design/accessibility
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Accessibility в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Accessibility, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Accessibility не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Accessibility у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Accessibility — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Accessibility у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/design/accessibility. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Accessibility?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Accessibility?

Зі скількома забажаєте. У TypingMind ви можете використовувати Accessibility із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Accessibility?

Так. На GitHub цю навичку публікує nahid-sparktales за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇