Логотип Accessibility

Accessibility

Спільнота
flitzrrr
accessibility

WCAG conformance, BFSG compliance, semantic HTML, ARIA, keyboard navigation, contrast, forms, and assistive technologies. Defines binding rules for accessible web interfaces per WCAG 2.1 AA.

Огляд

Видавецьflitzrrr
Репозиторійfrontend-design-skills
Назва навичкиaccessibility
Зірки
9
Форки
2
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

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

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

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

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

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

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

    Опубліковано на GitHub користувачем flitzrrr. Перегляньте вихідний вміст перед установленням.

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

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

1

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

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/flitzrrr/frontend-design-skills.git /tmp/frontend-design-skills
mkdir -p .claude/skills
cp -r /tmp/frontend-design-skills/skills-src/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

Accessible web interfaces are mandatory -- legally, ethically, and commercially.

Scope

Use this skill when: You are auditing HTML structure and semantics, setting ARIA attributes, implementing keyboard navigation, checking contrasts, designing accessible forms, making media accessible, ensuring BFSG compliance, or auditing existing interfaces for accessibility.

Principles

1. Accessibility Is a Baseline Requirement -- Not a Special Feature

Accessible design benefits EVERYONE. Situational limitations (sunlight, noisy environments, one hand occupied) affect everyone.

2. From the Start -- Not Retrofitted

Retrofitting is 10x more expensive and 10x worse. Accessibility belongs in every phase: concept, design, development, testing.

3. The Four POUR Principles Are Mandatory

Perceivable, Operable, Understandable, Robust.

4. Technology and Design Must Work Together

Not just a developer concern (HTML) and not just a design concern (contrast). Both disciplines in sync.

5. Legal Obligation (BFSG Effective June 28, 2025)

The German Accessibility Reinforcement Act (BFSG) requires many companies to provide digital accessibility. It is not optional.

Rules

Semantic HTML

  • DO: Use native elements for their purpose: <button> for actions, <a> for navigation, <nav>, <main>, <article>.
  • DO: Maintain a logical heading hierarchy: exactly one <h1> per page. Do not skip levels.
  • DO: Use landmark elements: <header>, <nav>, <main>, <aside>, <footer>.
  • DON'T: Use <div> or <span> for interactive elements. <div onclick> is NOT a button.
  • DON'T: Misuse headings for styling.

ARIA Attributes

  • DO: Use ARIA only when no native HTML element fulfills the purpose.
  • DO: Add aria-label to interactive elements without visible text (icon buttons).
  • DO: Use aria-live="polite" for dynamic content (toast notifications).
  • DO: Use role="alert" for error messages.
  • DON'T: Overload elements with ARIA. Redundant ARIA does harm.
  • DON'T: Set aria-hidden="true" on visible, interactive elements.

Keyboard Navigation

  • DO: Make ALL interactive elements reachable via keyboard (Tab, Enter, Space, Escape, Arrow keys).
  • DO: Provide a visible focus indicator: min. 3:1 contrast, 2-3px outline.
  • DO: Implement focus trap in modals.
  • DO: Include a skip-to-content link as the first focusable element.
  • DO: Ensure tab order matches the visual reading order. Use tabindex only with values 0 or -1.
  • DON'T: Use tabindex > 0 (breaks natural order).
  • DON'T: Set outline: none without an adequate replacement.

Contrast & Colors

  • DO: Normal text: min. 4.5:1 (WCAG AA).
  • DO: Large text (>= 24px / >= 18.66px bold): min. 3:1.
  • DO: UI components: min. 3:1.
  • DO: NEVER use color as the only signal. Always provide a second signal: text, icon, pattern.
  • DO: Test for color vision deficiency (Chrome DevTools > Rendering > Emulate vision deficiencies).
  • DON'T: Rely on red-green distinctions for critical information (8% of male users affected).

Images & Media

  • DO: Informative images: descriptive alt text (content, not appearance).
  • DO: Decorative images: alt="" (empty alt text).
  • DO: Videos with captions. Audio with transcripts.
  • DO: Make animations pausable. Respect prefers-reduced-motion in CSS.
  • DON'T: Use flashing content (> 3 flashes/second can trigger seizures).

Forms

  • DO: Associate every field with a visible <label> via for/id.
  • DO: Required fields: text + aria-required="true".
  • DO: Error messages directly at the field + aria-describedby.
  • DO: Use autocomplete attributes on standard fields.
  • DON'T: Use placeholder as a label replacement.
  • DON'T: Use CAPTCHAs without an accessible alternative.

Responsive & Touch

  • DO: Touch targets min. 44x44px (WCAG), preferably 48x48px.
  • DO: Spacing between targets min. 8px.
  • DO: Support zoom up to 200% without loss of functionality.
  • DON'T: Block zooming (user-scalable=no, maximum-scale=1).

Motion & Animation

  • DO: Respect prefers-reduced-motion. Reduce or remove animations.
  • DO: Make automatic motion (carousels, videos) pausable.
  • DON'T: Use parallax or large motion effects without a prefers-reduced-motion fallback.

Detailed pattern descriptions and code examples: see references/patterns.md

Patterns

Skip Navigation

First focusable link: "Skip to content." Visually hidden, visible on focus. Links to <main>.

Accessible Modal

role="dialog" + aria-modal="true" + aria-labelledby. Focus trap. Escape closes. Focus returns to the trigger.

Error Summary

Error summary at the top of the form with links to affected fields. role="alert". Additionally inline errors.

Accessible Accordion

<button> as trigger with aria-expanded. Content with aria-labelledby. Arrow keys for navigation.

Anti-Patterns

Div Soup

Everything built from <div> and <span>. Solution: Use native HTML elements.

Invisible Focus Indicator

outline: none without replacement. Solution: Visible focus styles with min. 3:1 contrast.

Placeholder as Label

Fields without <label>. Solution: Always use a visible label. Placeholder only as supplementary.

Auto-Playing Media

Autoplay with sound. Solution: Start only on user action. Autoplay only muted with pause option.

ARIA Overload

role="button" on a <button>. Solution: Prefer native HTML. ARIA only as a last resort.

Zoom Blocking

maximum-scale=1 in the viewport meta tag. Solution: Viewport without zoom restrictions.

Checklist

Structure & Semantics

  • Exactly one <h1> per page?
  • Heading hierarchy without gaps?
  • Landmark elements present?
  • Skip-to-content link present?
  • No interactive <div> / <span> elements?

Contrast & Colors

  • Normal text min. 4.5:1?
  • Large text min. 3:1?
  • UI components min. 3:1?
  • Color never used as the only signal?
  • Color vision deficiency tested?

Keyboard & Interaction

  • Everything reachable via keyboard?
  • Visible focus indicator?
  • Focus trap in modals?
  • Tab order = visual order?
  • No tabindex > 0?

Images & Media

  • Informative images with alt text?
  • Decorative images with alt=""?
  • Videos with captions?
  • prefers-reduced-motion respected?

Forms

  • Every field with a visible <label>?
  • Required fields marked + aria-required?
  • Inline errors with aria-describedby?
  • No placeholder as label?

Mobile & Responsive

  • Touch targets min. 44x44px?
  • Zoom up to 200% possible?

Legal

  • BFSG relevance assessed?
  • WCAG 2.1 AA as the minimum standard?
  • Accessibility statement present?

Cross-References

  • ui-design -- Accessible UI components and states
  • web-typography -- Readable font sizes and contrast requirements
  • color-theory -- WCAG contrast requirements, color vision deficiency
  • usability -- Overlap between accessibility and usability
  • responsive-design -- Touch targets, zoom, mobile screen readers
  • navigation-design -- Keyboard navigation, skip links, landmarks

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

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

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

Що робить навичка ШІ Accessibility?

WCAG conformance, BFSG compliance, semantic HTML, ARIA, keyboard navigation, contrast, forms, and assistive technologies. Defines binding rules for accessible web interfaces per WCAG 2.1 AA.

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

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

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

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

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

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

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

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Accessibility — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

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

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

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

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

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

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

Усі

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

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