Apple ui accessibility workflow
Skill gaelic-ghost/socket/plugins/apple-dev-skills/skills/apple-ui-accessibility-workflow
The Source for macOS Agent Workflows
npx -y skills add gaelic-ghost/socket --skill apple-ui-accessibility-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Guide Apple UI accessibility implementation and review for SwiftUI-first code, with UIKit and AppKit bridge guidance plus explicit verification expectations and testing handoffs. Use when the user wants help making Apple UI accessible, reviewing accessibility semantics, shaping the accessibility tree, or planning Apple-platform accessibility verification without collapsing the work into generic design review or Xcode test execution.
SKILL.md
8.4 KB, as published. Nobody here has run it
Apple UI Accessibility Workflow
Purpose
Provide a docs-first workflow for Apple UI accessibility implementation and review. Keep the first version SwiftUI-first while still covering the UIKit and AppKit bridge surface when SwiftUI code wraps platform-native views or when an accessibility behavior only makes sense in those underlying frameworks.
It is not the Apple-docs router, not the SwiftUI app-structure workflow, and not the Xcode execution workflow.
When To Use
- Use this skill when the user wants help making a SwiftUI view, control, list, form, chart, or composite UI more accessible.
- Use this skill when the user wants help reviewing Apple UI semantics such as labels, values, hints, roles, traits, actions, headings, or grouping behavior.
- Use this skill when the user wants help deciding whether the default accessibility tree is sufficient or whether a view needs explicit accessibility modifiers.
- Use this skill when the user wants help shaping the accessibility tree with
accessibilityElement(children:),accessibilityChildren,accessibilityRepresentation, hiding rules, or synthetic accessibility content. - Use this skill when the user wants help understanding where SwiftUI accessibility stops and UIKit or AppKit accessibility responsibilities begin.
- Use this skill when the user wants accessibility-specific verification expectations for VoiceOver, focus order, Dynamic Type, contrast, reduced motion, or related Apple platform settings.
- Recommend
explore-apple-swift-docswhen the user primarily needs Apple or Swift documentation lookup rather than accessibility guidance. - Recommend
xcode-testing-workflowwhen the work becomes XCUITest execution, simulator or device automation,.xctestplanconfiguration, or runtime UI verification. - Recommend
swiftui-app-architecture-workflowwhen the question is really about SwiftUI app structure, scene ownership, command ownership, or general data flow rather than accessibility semantics.
Single-Path Workflow
- Classify the request:
- SwiftUI implementation
- SwiftUI review
- UIKit/AppKit bridge guidance
- accessibility verification planning
- Apply the Apple docs gate before recommending changes:
- read the relevant Apple accessibility documentation first
- state the documented behavior being relied on before giving accessibility guidance
- if Apple docs and the current code disagree, stop and surface that conflict
- if no relevant Apple docs can be found, say that explicitly before proceeding
- Choose the accessibility surface:
- default semantics are already sufficient
- explicit description is needed
- explicit traits or actions are needed
- accessibility tree reshaping is needed
- UIKit/AppKit bridge work is needed
- Check the anti-patterns before finalizing guidance:
- accessibility identifiers treated as if they solve user-facing accessibility
- labels that redundantly repeat surrounding visible context
- meaningful content hidden from accessibility without a replacement
- custom controls that look interactive but do not expose the right role or action
- visual order that does not produce a sane assistive-technology reading order
- verification claims made without a runtime or manual accessibility pass
- Return one recommendation path with:
- the documented Apple behavior being relied on
- the chosen accessibility surface
- any SwiftUI versus UIKit/AppKit bridge warning when relevant
- one verification expectation
- one handoff when the next honest step is docs lookup, Xcode testing, or broader SwiftUI architecture work
Inputs
request: optional free-text task description used to classify the accessibility question.scope: optional explicit scope such asswiftui-semantics,tree-shaping,bridge-guidance,review, orverification.platform_context: optional platform emphasis such asios,ipados,macos,watchos,tvos, ormixed-apple.framework_context: optional explicit framework emphasis such asswiftui,uikit,appkit, orswiftui-with-bridge.- Defaults:
- docs-first guidance always applies
- SwiftUI is the primary path in the first version
- UIKit and AppKit stay in scope when they materially affect accessibility behavior or representable-wrapper correctness
Outputs
statussuccess: the request belongs to this workflow and an accessibility recommendation is readyhandoff: the request belongs to another skill after accessibility-aware classificationblocked: the request lacks enough context to recommend an accessibility change honestly
path_typeprimary: the recommendation comes from a directly supported accessibility pathfallback: the recommendation depends on limited framework or platform context because the request shape is underspecified
output- resolved request class
- chosen accessibility surface
- documented Apple behavior relied on
- bridge findings when relevant
- verification expectation
- recommended skill when handing off
- one concise next step
Guards and Stop Conditions
- Do not treat accessibility identifiers as the same thing as user-facing accessibility semantics.
- Do not recommend accessibility modifiers that simply restate visible content unless the explicit semantic override is actually needed.
- Do not hide meaningful content from accessibility without documenting what replaces that information.
- Do not silently absorb XCUITest execution, simulator control, or
.xctestplanwork that belongs toxcode-testing-workflow. - Do not silently absorb broader SwiftUI app-structure work that belongs to
swiftui-app-architecture-workflow. - Stop with
blockedwhen the request is too vague to tell whether the problem is semantic content, tree shape, bridge behavior, or verification follow-through.
Fallbacks and Handoffs
- Prefer explicit scope and framework context when the user provides them.
- Fall back to request-text inference when the platform or framework shape is unclear.
- Recommend
explore-apple-swift-docswhen the real need is broader Apple or Swift docs lookup. - Recommend
xcode-testing-workflowwhen the next honest step is runtime UI verification, XCUITest mechanics, simulator or device flow, XCUI interruption handling, screenshots, or.xctestplanorchestration. - Recommend
swiftui-app-architecture-workflowwhen the next honest step is app, scene, command, focus, environment, or dependency-flow architecture rather than accessibility semantics. - Recommend
arkit-spatial-sensing-workfloworarkit-face-body-tracking-workflowfor ARKit sensing while keeping labels, alternatives, motion, audio/haptic cues, and nonvisual interaction with this accessibility workflow.
Customization
Use references/customization-flow.md.
scripts/customization_config.py exists to preserve the repo-wide customization-file contract, but the first version of this skill defines no runtime-enforced knobs.
Keep the first release focused on the decision model, the documented accessibility boundary, and explicit verification expectations. If future iterations add a real deterministic need for runtime knobs, document them explicitly before letting runtime behavior depend on them.
References
Workflow References
references/swiftui-accessibility-semantics.mdreferences/swiftui-accessibility-tree-shaping.mdreferences/framework-bridging-uikit-appkit.mdreferences/worked-swiftui-accessibility-examples.mdreferences/verification-expectations.mdreferences/common-accessibility-anti-patterns.mdreferences/customization-flow.md
Support References
- Recommend
explore-apple-swift-docswhen the user needs direct Apple-docs lookup instead of accessibility guidance. - Recommend
references/snippets/apple-xcode-project-core.mdwhen the user needs reusable Apple-project baseline policy rather than a one-off accessibility recommendation.
Script Inventory
scripts/customization_config.py