Accessibility Inclusive Design 标志

Accessibility Inclusive Design

社区
phazurlabs
accessibility-inclusive-design

WCAG 2.2 compliance, ARIA authoring patterns, screen reader and keyboard navigation, color contrast, and cognitive/neurodiversity accommodations. Use when auditing accessibility, fixing a11y violations, choosing ARIA roles, checking contrast ratios, or designing for ADHD, dyslexia, autism, or motor impairment.

概览

发布者phazurlabs
代码仓库sumi
技能名称accessibility-inclusive-design
星标数
58
复刻数
11
附带文件
2
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 phazurlabs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Accessibility Inclusive Design AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/phazurlabs/sumi/tree/main/skills/accessibility-inclusive-design
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/phazurlabs/sumi.git /tmp/sumi
mkdir -p .claude/skills
cp -r /tmp/sumi/skills/accessibility-inclusive-design .claude/skills/accessibility-inclusive-design
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Accessibility Inclusive Design,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Accessibility Inclusive Design。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Accessibility Inclusive Design 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Accessibility & Inclusive Design — Universal Access Framework

Accessibility Philosophy

"The power of the web is in its universality. Access by everyone regardless of disability is an essential aspect." — Tim Berners-Lee

Accessibility is not a feature to be added at the end — it is a foundational design constraint that must inform every decision from the first wireframe. Inclusive design does not mean designing for edge cases; it means designing for the full spectrum of human ability, which benefits everyone. Curb cuts help wheelchair users and parents with strollers; captions help deaf users and people in noisy environments.

The Inclusive Design Spectrum (Microsoft)

Disability exists on a spectrum of permanent, temporary, and situational:

  • Permanent: One arm → Temporary: Arm injury → Situational: Holding a baby
  • Permanent: Blind → Temporary: Eye infection → Situational: Distracted driver
  • Permanent: Deaf → Temporary: Ear infection → Situational: Loud restaurant

Designing for permanent disability creates solutions that help everyone.

WCAG 2.2 Compliance Framework

The Four Principles (POUR)

1. Perceivable — Information must be presentable in ways all users can perceive

  • Provide text alternatives for non-text content (images, icons, charts).
  • Provide captions and transcripts for audio/video.
  • Create content that can be presented in different ways without losing meaning.
  • Make it easy to see and hear content (contrast, resize, spacing).

2. Operable — Interface components must be operable by all users

  • Make all functionality accessible via keyboard alone.
  • Give users enough time to read and use content.
  • Do not design content that causes seizures or physical reactions.
  • Provide clear navigation and wayfinding mechanisms.
  • Support input modalities beyond keyboard (voice, pointer, touch).

3. Understandable — Information and operation must be understandable

  • Keep text readable and understandable at the target audience level.
  • Ensure content appears and operates in predictable ways.
  • Help users avoid and correct mistakes.

4. Robust — Content must be robust enough for diverse user agents and assistive tech

  • Maximize compatibility with current and future assistive technologies.
  • Use valid, semantic HTML as the foundation.
  • Ensure programmatic name, role, and value for all UI components.

WCAG Conformance Levels

  • Level A: Minimum accessibility — baseline legal requirement.
  • Level AA: Standard target — required by most laws (ADA, EN 301 549, EAA).
  • Level AAA: Enhanced accessibility — aspirational, target for critical public services.

Key WCAG 2.2 Success Criteria

New in 2.2:

  • 2.4.11 Focus Not Obscured (Minimum): Focused element not fully hidden by other content.
  • 2.4.12 Focus Not Obscured (Enhanced): Focused element fully visible.
  • 2.4.13 Focus Appearance: Focus indicators are sufficiently visible (size and contrast).
  • 2.5.7 Dragging Movements: Provide a single-pointer alternative for drag operations.
  • 2.5.8 Target Size (Minimum): 24×24 CSS pixels minimum for interactive elements.
  • 3.2.6 Consistent Help: Place help mechanisms in consistent locations across pages.
  • 3.3.7 Redundant Entry: Do not ask users to re-enter previously provided information.
  • 3.3.8 Accessible Authentication (Minimum): No cognitive function tests for login.
  • 3.3.9 Accessible Authentication (Enhanced): No object/image recognition for login.

Semantic HTML Foundation

Critical Semantic Elements

  • Use <nav> for navigation regions, <main> for primary content, <aside> for complementary content.
  • Use heading hierarchy (<h1>–<h6>) that reflects document structure — never skip levels.
  • Use <button> for actions and <a> for navigation — never use <div> for interactive elements.
  • Use <table> with proper <thead>, <th>, and scope attributes for data tables.
  • Use <form>, <fieldset>, <legend>, and <label> for form structure.
  • Use <ul>/<ol> for lists — screen readers announce list length and position.
  • Use landmark roles implicitly through semantic HTML (preferred) or explicitly via ARIA.

ARIA Patterns (When HTML Is Not Enough)

Core ARIA Rules:

  1. If native HTML can achieve the behavior, use it instead of ARIA.
  2. Do not change native semantics unless absolutely necessary.
  3. All interactive ARIA controls must be keyboard operable.
  4. Do not use role="presentation" or aria-hidden="true" on focusable elements.
  5. All interactive elements must have an accessible name.

Common ARIA Widget Patterns:

  • Tabs: role="tablist", role="tab", role="tabpanel" with arrow key navigation.
  • Modal dialog: role="dialog", aria-modal="true", trap focus within dialog.
  • Combobox/Autocomplete: role="combobox", aria-expanded, aria-activedescendant.
  • Menu: role="menu", role="menuitem" with arrow key navigation.
  • Tree view: role="tree", role="treeitem" with expand/collapse and arrow keys.
  • Live regions: aria-live="polite" for non-urgent updates, "assertive" for critical alerts.

Keyboard Navigation

Tab Order and Focus Management

  • Tab order must follow visual layout and logical reading order.
  • Use tabindex="0" to add non-native elements to tab order (when semantic HTML is not possible).
  • Use tabindex="-1" for programmatic focus management (not in tab order but focusable via JavaScript).
  • Never use tabindex values greater than 0 — they create unpredictable tab order.

Focus Indicator Design

  • Focus rings must be visible on all interactive elements — never apply outline: none without a replacement.
  • Minimum focus indicator: 2px solid outline with 3:1 contrast ratio against adjacent colors.
  • WCAG 2.2 enhanced: focus indicator area at least as large as a 2px perimeter, 3:1 contrast.
  • Use focus-visible to show focus rings on keyboard navigation only (hide on mouse click).

Keyboard Interaction Patterns

  • Enter/Space: Activate buttons and links.
  • Arrow keys: Navigate within composite widgets (tabs, menus, radio groups, trees).
  • Escape: Close modals, popovers, dropdowns.
  • Home/End: Jump to first/last item in lists.
  • Tab: Move between independent interactive elements.

Screen Reader Optimization

Content Strategies

  • Write meaningful alt text: describe the information the image conveys, not the image itself.
  • Decorative images: use alt="" (empty, not omitted) or role="presentation".
  • Complex images (charts, diagrams): provide detailed text description in context.
  • Link text must be descriptive out of context — avoid "click here" and "read more."
  • Use aria-label or aria-labelledby when visible text is insufficient.
  • Use aria-describedby for supplementary descriptions (error messages, help text).

Dynamic Content

  • Announce dynamic changes with aria-live regions — do not assume users see visual changes.
  • Single-page apps: manage focus on route changes — move focus to new content heading.
  • Loading states: announce with aria-busy="true" and announce completion.
  • Toast/notification: use role="status" (polite) or role="alert" (assertive).

Motor and Cognitive Accommodations

Motor Accessibility

  • Touch targets: minimum 44x44pt (iOS), 48x48dp (Android), 24x24 CSS px (WCAG 2.2 minimum).
  • Provide alternatives to complex gestures (drag-and-drop, multi-finger).
  • Support system-level accessibility features (sticky keys, switch access, voice control).
  • Avoid time-limited interactions or provide ability to extend time limits.

Cognitive Accessibility

  • Use clear, simple language at the appropriate reading level.
  • Provide consistent navigation and layout across the application.
  • Break complex tasks into smaller, manageable steps.
  • Avoid unexpected changes in context (auto-playing media, unexpected navigation).
  • Provide clear error messages with specific correction instructions.
  • Support pause, stop, or hide for any auto-updating content.

Neurodiversity Accommodations

  • Reduced motion: Respect prefers-reduced-motion media query — disable animations or substitute with opacity/instant transitions.
  • High contrast: Support forced-colors / prefers-contrast: more for users who need maximum contrast.
  • Reading preferences: Allow font size adjustment, line spacing customization, and typeface choice where possible.
  • Attention considerations: Minimize distracting animations, auto-playing content, and notification frequency.
  • Predictability: Maintain consistent behavior, clear labeling, and reduced cognitive surprises to support ADHD and autism spectrum users.

Testing Methodology

Automated Testing (Find ~30% of Issues)

  • Run axe-core, Lighthouse, or WAVE for automated scanning.
  • Integrate ESLint with jsx-a11y plugin for development-time catches.
  • Configure CI/CD pipelines to fail builds on critical accessibility violations.

Manual Testing (Find ~70% of Issues)

  • Keyboard-only navigation: Tab through entire flows without a mouse.
  • Screen reader testing: Test with VoiceOver (macOS/iOS), NVDA/JAWS (Windows), TalkBack (Android).
  • Zoom testing: Verify at 200% and 400% browser zoom — no content loss or overlap.
  • Color testing: Check with color blindness simulators and contrast checkers.

User Testing with Disabled Users

  • Include people with disabilities in usability testing (minimum one per study).
  • Test with actual assistive technology users — simulating disability is insufficient.
  • Compensate participants fairly for their time and expertise.

WCAG 3.0 Preview and Preparation

The W3C is developing the next major version of accessibility guidelines, now named "W3C Accessibility Guidelines" (WAG 3.0) — dropping "Web Content" from the title to reflect expanded scope beyond web to apps, documents, XR, embedded systems, and emerging technologies.

Key Changes from WCAG 2.x

New Conformance Model: Bronze/Silver/Gold WCAG 3.0 replaces the A/AA/AAA conformance levels with a Bronze/Silver/Gold system. Bronze represents the minimum acceptable accessibility standard. Silver adds enhanced support. Gold represents best-in-class accessibility across all dimensions.

Outcome-Based Scoring (0-4) Instead of binary pass/fail per success criterion, WCAG 3.0 uses a 0-4 scoring system per outcome: 0 = Very Poor, 1 = Poor, 2 = Fair, 3 = Good, 4 = Excellent. Scores are weighted by impact and aggregated to determine conformance level. This granular scoring recognizes that accessibility exists on a spectrum rather than a binary state.

174 Outcomes Framework The September 2025 working draft defines 174 outcomes organized by functional categories. These outcomes are more specific and measurable than WCAG 2.x success criteria, making evaluation more consistent across auditors.

Expanded Scope WCAG 3.0 covers web content, native applications, documents, XR/immersive environments, embedded systems, and emerging technologies including AI-driven interfaces. Any digital experience falls within scope.

Timeline and Migration Strategy

The W3C targets April 2026 for the next major draft milestone, with the full recommendation expected later in the decade. WCAG 2.2 remains the current legal standard. Migration strategy:

  1. Continue targeting WCAG 2.2 Level AA as the compliance baseline.
  2. Monitor WCAG 3.0 working drafts for directional changes.
  3. Adopt the outcome-oriented mindset now — evaluate accessibility as a spectrum, not binary compliance.
  4. Expand accessibility testing to cover native apps, documents, and non-web surfaces proactively.
  5. When WCAG 3.0 stabilizes, plan a formal gap analysis and migration timeline.

Routing

For conformance work — the WCAG 2.2 checklist organised by POUR, the full ARIA role and state reference, widget patterns, focus management in SPAs, skip links and landmarks, live regions, form accessibility, and the image alt-text decision tree: read references/wcag-aria-patterns.md.

For cognitive and neurodivergent accommodation — ADHD, autism, dyslexia, learning disabilities, anxiety, memory impairment, motor and dexterity load, and the preference media queries that implement them: read references/neurodiversity-accommodations.md.

Cross-Referencing

  • For color contrast and visual design, reference ui-visual-design-system.
  • For mobile accessibility specifics, reference mobile-ux-design.
  • For motion and reduced-motion handling, reference interaction-motion-design.
  • For ethical considerations, reference ux-ethics-content-strategy.
  • For AI feature accessibility, reference agentic-ai-generative-ux.
  • For measuring accessibility outcomes, reference ux-metrics-measurement.

v3.0 Cross-References

The v3.0 upgrade introduces accessible component implementations, cognitive accessibility foundations, internationalization considerations, and WCAG 3.0 tracking updates.

WCAG 3.0 Progress Update

The WCAG 3.0 Preview and Preparation section above reflects the September 2025 working draft. The W3C targets an April 2026 milestone draft that is expected to refine the 174 outcomes framework, finalize the Bronze/Silver/Gold scoring methodology, and introduce updated guidance for AI-generated content accessibility. Monitor W3C working group publications for the April 2026 update, which may introduce significant changes to the conformance model and outcome definitions.

Accessible Component Implementations — component-patterns-code

The component-patterns-code skill provides production-ready React and SwiftUI component cookbooks where every component includes complete accessibility implementation. Coverage includes: ARIA patterns for tabs, modals, comboboxes, menus, and tree views (implementing the patterns described in the ARIA Patterns section above); keyboard navigation with full key binding maps for each component; focus management for single-page application route transitions, modal trap/restore, and composite widget arrow-key navigation; and screen reader testing annotations documenting expected VoiceOver/NVDA/TalkBack behavior. Each component cookbook entry serves as a reference implementation of the accessibility requirements defined in this skill.

Cognitive Accessibility Foundations — cognitive-psychology-ux

The cognitive-psychology-ux skill provides the scientific research underlying the Cognitive Accessibility section above. Covers attention models (selective, sustained, divided), working memory capacity and its implications for interface complexity, processing speed variation across age and ability, and cognitive load measurement techniques. This scientific foundation enables more precise cognitive accessibility decisions — for example, understanding why progressive disclosure reduces cognitive load, or how chunking information aligns with working memory constraints. Particularly valuable for designing for neurodiversity (ADHD, autism spectrum, cognitive decline).

Internationalized Accessibility — cross-cultural-i18n-ux

The cross-cultural-i18n-ux skill covers accessibility considerations in internationalized interfaces. Includes: RTL (right-to-left) layout mirroring and its impact on focus order, screen reader reading direction, and gesture semantics; CJK (Chinese, Japanese, Korean) typography accessibility including character spacing, line-breaking rules, and input method accessibility; and cross-cultural considerations for color semantics, icon interpretation, and error message localization. Essential when accessibility requirements intersect with multi-language, multi-script deployments.

Key Sources

  • W3C WCAG 2.2 Specification
  • W3C WCAG 3.0 Working Draft (September 2025; superseded by the March 2026 draft -- verify current status at w3.org/TR/wcag-3.0/ before citing specifics)
  • WAI-ARIA Authoring Practices Guide 1.2
  • WebAIM articles and testing tools
  • Microsoft Inclusive Design Toolkit
  • NNG Group accessibility research
  • Deque: WCAG 3.0 analysis (174 outcomes)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Accessibility Inclusive Design AI 技能有什么作用?

WCAG 2.2 compliance, ARIA authoring patterns, screen reader and keyboard navigation, color contrast, and cognitive/neurodiversity accommodations. Use when auditing accessibility, fixing a11y violations, choosing ARIA roles, checking contrast ratios, or designing for ADHD, dyslexia, autism, or motor impairment.

为什么在 TypingMind 中使用 Accessibility Inclusive Design?

因为您只需安装一次,就能搭配任何模型使用。Accessibility Inclusive Design 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Accessibility Inclusive Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/phazurlabs/sumi/tree/main/skills/accessibility-inclusive-design。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Accessibility Inclusive Design?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Accessibility Inclusive Design 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Accessibility Inclusive Design 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Accessibility Inclusive Design AI 技能免费吗?

是的。phazurlabs 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇