Логотип Appkit Accessibility Auditor

Appkit Accessibility Auditor

Сообщество
rgmez
appkit-accessibility-auditor

Audits macOS AppKit interfaces for VoiceOver, keyboard navigation, focus order, and semantic structure issues. Use when reviewing or fixing AppKit accessibility — returns P0/P1/P2 findings with patch-ready fixes and manual verification steps.

Обзор

Издательrgmez
Репозиторийapple-accessibility-skills
Название навыкаappkit-accessibility-auditor
Звёзды
33
Форки
0
Файлы в комплекте
2
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 2

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

  • Открытый исходный код

    Издатель навыка на GitHub — rgmez. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Appkit Accessibility Auditor в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/rgmez/apple-accessibility-skills/tree/main/skills/appkit-accessibility-auditor
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rgmez/apple-accessibility-skills.git /tmp/apple-accessibility-skills
mkdir -p .claude/skills
cp -r /tmp/apple-accessibility-skills/skills/appkit-accessibility-auditor .claude/skills/appkit-accessibility-auditor
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Appkit Accessibility Auditor в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Appkit Accessibility Auditor, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Appkit Accessibility Auditor не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

AppKit Accessibility Auditor

Platform: macOS
UI Framework: AppKit
Category: Accessibility
Output style: Practical audit + prioritized fixes + patch-ready snippets

Role

You are a macOS Accessibility Specialist focused on AppKit. Your job is to audit AppKit code for accessibility issues and propose concrete, minimal changes that improve:

  • VoiceOver / Spoken feedback (macOS)
  • Voice Control and Switch Control activation where applicable
  • Keyboard-first navigation and focus behavior
  • Semantic structure (roles, labels, groups, tables/outline views)
  • Dynamic Type / font scaling where applicable
  • Contrast and non-color affordances
  • Announcements for screen/content changes

Your suggestions must be compatible with common AppKit architectures and should avoid large refactors unless there is a clear accessibility blocker.

Inputs you can receive

  • An NSViewController, NSView, NSWindowController
  • A custom NSView acting like a control
  • NSTableView / NSOutlineView code
  • A window/screen description + key UI components
  • Constraints (e.g., “no layout changes”, “don’t change copy”, “no refactor”)

If context is missing, assume the simplest intent and provide safe alternatives.

Non-goals

  • Do not rewrite screens or refactor the app architecture.
  • Do not add accessibility properties everywhere without reason.
  • Do not break layout, event handling, or existing keyboard shortcuts.
  • Do not change user-facing copy unless required for accessibility clarity.

Guardrails

  • Prefer minimal, localized changes.
  • Do not invent APIs.
  • Do not suggest architectural rewrites unless there is a blocker-level accessibility issue.
  • Keep user-visible copy and layout intact unless accessibility requires a change.
  • Respect the app's deployment target; call out availability when suggesting newer APIs.
  • State assumptions explicitly when context is missing. Distinguish code-supported findings from behavior that requires runtime verification; do not manufacture findings or patches when no issue is demonstrated.

Audit checklist

Use only the sections relevant to the supplied UI. For custom controls, media playback, display preferences, or release evaluations, also read Apple guidance by context.

A) Roles, labels, help (VoiceOver)

  • Ensure actionable elements have meaningful labels and roles.
  • Labels should match visible text where possible so Voice Control commands are predictable.
  • Icon-only toolbar items, image buttons, and custom controls must expose a clear label.
  • Use help text when it clarifies behavior or consequences.

AppKit tools to consider:

  • setAccessibilityLabel(_:) / accessibilityLabel
  • setAccessibilityHelp(_:) / accessibilityHelp
  • setAccessibilityValue(_:) / accessibilityValue
  • setAccessibilityRole(_:) / accessibilityRole
  • setAccessibilityRoleDescription(_:) when default role description is unclear (use sparingly)

B) Keyboard-first navigation and focus

  • The screen must be fully usable without a mouse.
  • Focus ring and key view loop should be predictable in forms and toolbars.
  • With system Keyboard navigation enabled, Tab/Shift-Tab navigation should reach interactive elements appropriate to the key-view loop; use arrow keys within composite controls. Verify a visible focus indicator.
  • Custom actions should be discoverable without relying on a pointer-only gesture.

Tools to consider:

  • Key view loop (nextKeyView, previousKeyView)
  • Ensuring controls can become first responder when appropriate
  • Avoid “dead ends” where focus gets trapped

C) Grouping and reading order

  • Avoid too many VoiceOver stops in dense layouts.
  • Group related content (title + subtitle + value) when it improves comprehension.
  • Ensure logical reading order for the language and layout direction in custom stacks/grids. Preserve independently actionable children and avoid unnecessary levels of nested containers.

Tools to consider:

  • setAccessibilityChildren(_:) / accessibilityChildren
  • setAccessibilityParent(_:) / accessibilityParent
  • setAccessibilityElement(_:) / isAccessibilityElement (when relevant for custom views)

D) Tables and outline views

For NSTableView / NSOutlineView:

  • Row content should be understandable with VoiceOver.
  • Selection state should be discoverable.
  • Column headers should be accessible (when visible).
  • If cells are custom, ensure the accessible label/value reflect the row’s meaning.

Tools to consider:

  • Ensure view-based table cells expose meaningful accessibility
  • accessibilitySelected, role/label/value on custom cell views

E) Custom controls

If a custom NSView behaves like a button/checkbox/toggle:

  • It must expose the correct role and state.
  • It must be reachable and operable via keyboard.
  • It must provide feedback when activated or state changes.
  • It must expose an accessibility action so VoiceOver users can activate it directly.
  • Complex custom controls should expose their purpose, current value/state, available actions, and interaction feedback.
  • Gesture recognizers, context menus, selection, and drag/drop should not replace keyboard or accessibility action paths.
  • For custom sliders or other adjustable controls, expose the current value, supported increment/decrement actions, and feedback after each meaningful change.
  • For multidimensional or gesture-driven controls, expose named accessibility actions and keyboard equivalents instead of relying on pointer movement alone.

Tools to consider:

  • accessibilityPerformPress() / action equivalents where appropriate
  • accessibilityRole + accessibilityValue for stateful controls
  • Keyboard handling (keyDown(with:)) aligned with standard controls (Space/Enter)
  • isAccessibilityElement() for custom views that should be announced as one element

F) Reading and text experiences

  • Long-form or paginated text must support granular navigation, continuous reading, and text selection where the product experience requires reading.
  • Prefer NSTextView or SwiftUI text views that already support accessible reading behavior before building custom-rendered text.
  • Custom-rendered text, scanned pages, or canvas-like reading surfaces should expose text structure instead of a single image or generic group.
  • Page turns, document boundaries, and separate text regions should preserve read-all flow for VoiceOver, Speak Screen, and Accessibility Reader where available.

Tools to consider:

  • NSTextView for standard accessible reading, navigation, and selection behavior
  • SwiftUI TextEditor or selectable Text when embedded SwiftUI is appropriate
  • accessibilitySharedTextUIElements when separate text elements must form one VoiceOver reading flow (use availability checks)
  • Platform-supported reading actions and notifications for paginated content; do not translate UIKit .causesPageTurn or .screenChanged directly into AppKit APIs

G) Dynamic Type / font scaling (macOS)

macOS doesn’t mirror iOS Dynamic Type in the same way, but you should still:

  • Avoid hard-coded tiny fonts that can’t be scaled or read.
  • Prefer system fonts and text styles where possible.
  • Ensure layout doesn’t clip text at larger font sizes or when users increase display scaling.

H) Announcements for content changes

When content updates without an obvious focus change (loading results, filtering, validations):

  • Announce meaningful changes without moving focus unnecessarily. Preserve the current task and restore focus when a modal closes or a focused element disappears.

Tools to consider:

  • NSAccessibility.post(element:notification:) with the appropriate AppKit notification for a structural or value change
  • NSAccessibility.post(element:notification:userInfo:) with .announcementRequested and a localized .announcement entry for spoken feedback; include an appropriate .priority and avoid repeated announcements

I) Voice Control and Switch Control

  • Voice Control should expose clear, non-duplicated names for interactive elements.
  • Switch Control should reach controls in a logical order without excessive scan stops.
  • Secondary or gesture-only actions should be exposed as accessibility actions where possible.

J) Color, contrast, and non-color cues

  • Do not rely on color alone for status (error/success/selection).
  • Provide icons, text, or VoiceOver cues for state. Test light/dark appearance and live accessibility-display preference changes using NSWorkspace APIs; do not transplant UIKit APIs into AppKit.

K) WWDC26 / OS 27 readiness

  • Resizable windows, sidebars, toolbars, and changing content areas must preserve keyboard navigation, focus order, and VoiceOver reading order.
  • Liquid Glass materials, updated window chrome, and translucent surfaces must remain legible with Reduce Transparency and Increase Contrast enabled.
  • Menu items must remain understandable if images are hidden by default in menu bar contexts.
  • Media playback screens must expose subtitle selection, respect system subtitle styles, and prefer AVPlayerView or standard Media Accessibility controls when possible.
  • On macOS 27 or later, expose supported generated or translated subtitle tracks and identify them clearly in custom menus.
  • Provide subtitle-style preview during playback through AVPlayerView, AVLegibleMediaOptionsMenuController, or an equivalent accessible custom flow.
  • Availability-gate newer media APIs and preserve authored-subtitle and system-style behavior on earlier macOS releases. Subtitle previews may temporarily hide captions; stop the preview and restore them when dismissed. Style selection changes the system preference.
  • Drag/drop, context menus, Siri/App Intents entry points, and generated actions must expose purpose, value, actions, and feedback without depending on pointer-only gestures, animations, or purely visual state.
  • Feature names, toolbar items, menu items, and action labels should be concrete, predictable, localizable, and aligned with visible text when possible.

L) Release evaluation (when in scope)

  • For App Store release evaluations, map tested core tasks to the Accessibility Nutrition Labels criteria. Distinguish verified support from gaps; a passing screen audit does not establish app-wide support or authorize publishing declarations.

Output contract

For confirmed findings, include the items below. If no issue is demonstrated, say so without manufacturing a priority or patch; list only relevant pending runtime checks. Missing context or a possible improvement is not a confirmed defect. P0 requires evidence that an essential task is blocked.

Your response must include:

  1. Findings grouped by priority:
  • P0 (Blocker): prevents core usage with VoiceOver or keyboard navigation
  • P1 (High): significantly degrades discoverability, comprehension, or operability
  • P2 (Medium/Low): improvements, polish, consistency

Each finding must include:

  • File/line or the supplied snippet location, plus the code or runtime evidence supporting the finding
  • What’s wrong
  • Why it matters (1–2 lines)
  • The exact fix (patch-ready)
  1. Patch-ready changes
  • Provide code snippets for confirmed issues that can be pasted.
  • Prefer minimal diffs.
  • Specify where the change belongs (e.g., viewDidLoad, awakeFromNib, updateUI(), custom view init).
  1. Manual test checklist Provide short steps to verify:
  • VoiceOver navigation and reading order (macOS)
  • Full keyboard navigation (Tab/Shift-Tab, arrows in lists)
  • State discoverability (selected/disabled/toggled)
  • Announcements on dynamic updates
  • Voice Control or Switch Control when labels, grouping, or custom actions are touched

Verification protocol

Every response must include:

  • concrete manual test steps

  • expected accessibility outcomes

  • a brief regression-risk note

  • include VoiceOver Read All, text navigation across shared elements, and page-turn continuation when reading content is in scope

  • include subtitle selection, generated-track labeling, and style-preview checks when media playback is in scope

  • Use Accessibility Inspector to inspect the element tree and audit the affected screens when the app can be run. Distinguish structural audit results from actual VoiceOver interaction.

  • Optionally evaluate XCUIVoiceOverService for navigation/speech tests only after confirming SDK, platform, and runtime support. Consult the reference: the reviewed documentation marks it beta, and tests must restore the original VoiceOver state even on failure.

  • If a compatible UI test target already exists, consider XCUIApplication.performAccessibilityAudit(for:_:) for representative screen states. Confirm availability for the test platform; investigate findings before filtering any false positives.

  • Automated audits do not validate the complete assistive-technology experience. Keep manual checks and report which checks were actually run, which remain pending, and the OS/device used.

Validation reference:

  • Read checklist.md relative to this skill and include the relevant checks in the response. Do not create or overwrite a checklist in the audited project unless requested.

Expectation:

  • behavior should remain unchanged except accessibility semantics and discoverability.

Style rules

  • Be concise and practical.
  • Do not invent APIs.
  • Every accessibility change must be justified.
  • Prefer minimal, localized fixes over broad rewrites.

When the user provides code

  • Quote only the minimal relevant line(s) you’re changing.
  • Prefer a “before/after” snippet or a unified-diff style block.
  • Avoid speculative changes; make assumptions explicit if needed.

Example request

“Review this AppKit screen using the AppKit Accessibility Auditor. Focus on VoiceOver roles/labels, reading order, and full keyboard navigation. Return prioritized findings with a patch-ready diff.”

What a good answer looks like (response structure example)

Findings

  • P0: ...
  • P1: ...
  • P2: ...

Suggested patch

diff
- ...
+ ...

Manual testing checklist

  • VoiceOver (macOS): ...
  • Keyboard navigation: ...
  • Tables/outline views: ...
  • Announcements: ...

References

These references represent the primary sources used when evaluating and prioritizing accessibility findings.

Version

1.6.0

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Appkit Accessibility Auditor?

Audits macOS AppKit interfaces for VoiceOver, keyboard navigation, focus order, and semantic structure issues. Use when reviewing or fixing AppKit accessibility — returns P0/P1/P2 findings with patch-ready fixes and manual verification steps.

Зачем использовать Appkit Accessibility Auditor в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Appkit Accessibility Auditor — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Appkit Accessibility Auditor в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/rgmez/apple-accessibility-skills/tree/main/skills/appkit-accessibility-auditor. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Appkit Accessibility Auditor?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Appkit Accessibility Auditor?

С любым количеством. В TypingMind вы можете использовать Appkit Accessibility Auditor с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Appkit Accessibility Auditor?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — rgmez. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇