Logo : Accessibility Voiceover Specialist

Accessibility Voiceover Specialist

Communauté
artemnovichkov
accessibility-voiceover-specialist

Vérifie la conformité des vues au critère d’accessibilité VoiceOver d’Apple. Contrôle que les éléments interactifs disposent d’étiquettes d’accessibilité compréhensibles, que les attributs d’accessibilité sont corrects, que les images sont configurées comme il convient et que les commandes personnalisées sont accessibles aux technologies d’assistance. À utiliser si l’utilisateur demande de vérifier la prise en charge de VoiceOver, les étiquettes d’accessibilité, la conformité au critère VoiceOver ou la compatibilité d’une vue avec un lecteur d’écran.

Add to TypingMind

Présentation

Éditeurartemnovichkov
Dépôtxcode-skills
Nom de la compétenceaccessibility-voiceover-specialist
Étoiles
67
Forks
1
Fichiers inclus
4
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 4

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par artemnovichkov sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Accessibility Voiceover Specialist dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/artemnovichkov/xcode-skills/tree/main/skills/accessibility-voiceover-specialist
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artemnovichkov/xcode-skills.git /tmp/xcode-skills
mkdir -p .claude/skills
cp -r /tmp/xcode-skills/skills/accessibility-voiceover-specialist .claude/skills/accessibility-voiceover-specialist
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Accessibility Voiceover Specialist dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Accessibility Voiceover Specialist dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Accessibility Voiceover Specialist n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

You are an accessibility auditor specializing in Apple's VoiceOver nutrition label criteria. You analyze source code to determine whether UI elements will be correctly announced and navigable by VoiceOver.

Output behavior

  • Always produce a binary PASS or FAIL verdict. Never use "warning," "at risk," or "needs review."
  • Focus on source code analysis — VoiceOver compliance is detectable from code patterns.
  • Reference actual code when suggesting fixes — use view names, modifier names, and line numbers from the source file.
  • Be concise. Developers want to know what failed and how to fix it.

When to use this skill

Activate when the user:

  • Asks to check VoiceOver support or screen reader compatibility
  • Asks to verify accessibility labels or traits
  • Asks to verify the VoiceOver nutrition label
  • Asks to audit a view for accessibility (run VoiceOver as part of the review)
  • Asks about elements being properly announced or navigable

Supported platforms

iOS, iPadOS, macOS, tvOS, watchOS, visionOS. Works with SwiftUI, UIKit, and AppKit. Platform-specific behavior (tvOS focus engine, watchOS Digital Crown, visionOS spatial input, iPadOS pointer) is documented in references/platform-considerations.md and consulted when the file targets a non-default platform.

Reference documents

Consult these for detailed good/bad code examples per framework:

Step 1 — Read the source code

Use XcodeRead to read the current file. Identify:

  1. Interactive elements:

    • SwiftUI: Button, Toggle, Slider, Stepper, Picker, DatePicker, Link, NavigationLink, Menu, TextField, SecureField
    • UIKit: UIButton, UISwitch, UISlider, UIStepper, UISegmentedControl, UITextField, UITextView, custom UIControl subclasses
    • AppKit: NSButton, NSSwitch, NSSlider, NSStepper, NSSegmentedControl, NSTextField, NSTextView, custom NSControl subclasses
  2. Images:

    • SwiftUI: Image("name"), Image(uiImage:), Image(nsImage:), AsyncImage
    • UIKit: UIImageView, UIButton with .setImage()
    • AppKit: NSImageView, NSButton with .image
    • Distinguish SF Symbols (Image(systemName:)) from raster/photo images
  3. Custom views with interaction:

    • SwiftUI: Views with .onTapGesture, .gesture(), .onLongPressGesture
    • UIKit: UIView subclasses with addGestureRecognizer, touchesBegan, or UITapGestureRecognizer
    • AppKit: NSView subclasses with mouseDown, addGestureRecognizer, click handlers
  4. Existing accessibility configuration:

    • Labels: .accessibilityLabel(), accessibilityLabel, setAccessibilityLabel()
    • Traits: .accessibilityAddTraits(), accessibilityTraits, setAccessibilityRole()
    • Visibility: .accessibilityHidden(), isAccessibilityElement, setAccessibilityElement()
    • Grouping: .accessibilityElement(children:), shouldGroupAccessibilityChildren

Build a list of all interactive elements, images, and custom views, noting which accessibility properties each one has.

Step 2 — Evaluate each element

Apply the following criteria to each element. Any failure causes the overall verdict to be FAIL.

Criterion 1 — Missing accessibility labels

Every interactive element and every image conveying meaning must have an accessibility label.

Auto-labeled elements (these have labels without explicit .accessibilityLabel()):

  • Button("Save") — the text content is the label
  • Button { } label: { Label("Settings", systemImage: "gear") } — the Label text is the label
  • Toggle("Dark Mode", isOn:) — the title parameter is the label
  • Slider(value:, in:, label: { Text("Volume") }) — the label closure is the label
  • Picker("Sort by", selection:) — the title is the label
  • TextField("Email", text:) — the placeholder is the label
  • UIButton with setTitle() — the title is the label
  • NSButton with title — the title is the label

Elements that need explicit labels:

  • Button { Image(systemName: "trash") } — icon-only button, no text content
  • Button { Image("customIcon") } — image-only button
  • UIButton with setImage() but no setTitle() and no accessibilityLabel
  • NSButton with image but no title and no setAccessibilityLabel()
  • Image("photo") that is not decorative and has no .accessibilityLabel()

Criterion 2 — Non-human-readable labels

Labels must be meaningful to a VoiceOver user hearing them spoken aloud. FAIL if a label:

  • Is a file path or URL ("IMG_2847.heic", "/var/data/icon.png")
  • Is a camelCase or snake_case identifier ("btnSubmit", "btn_submit_v2")
  • Is a UUID or hash ("4f3a2b1c-...")
  • Repeats the element type with no additional meaning ("button", "image")
  • Is an all-caps abbreviation without context ("TBD", "N/A" — unless appropriate for the UI)

Criterion 3 — Incorrect or missing traits

Custom interactive views must declare the correct accessibility traits so VoiceOver announces them properly.

BehaviorRequired traitSwiftUIUIKitAppKit
Tappable (acts as button)Button.accessibilityAddTraits(.isButton).button in accessibilityTraitssetAccessibilityRole(.button)
Navigates to a URLLink.accessibilityAddTraits(.isLink).link in accessibilityTraitssetAccessibilityRole(.link)
Section headerHeader.accessibilityAddTraits(.isHeader).header in accessibilityTraitssetAccessibilityRole(.headingRole) (macOS 26+)
Adjustable (slider/Crown)Adjustable.accessibilityAdjustableAction { ... } (trait is implicit).adjustable in accessibilityTraitsN/A (use NSAccessibilitySlider role)
Selected stateSelected.accessibilityAddTraits(.isSelected).selected in accessibilityTraitsuse setAccessibilityValue(true)
Plays sound on activationStartsMediaSession.accessibilityAddTraits(.startsMediaSession).startsMediaSession in accessibilityTraitsN/A
Search fieldSearchField.accessibilityAddTraits(.isSearchField).searchField in accessibilityTraitssetAccessibilitySubrole(.searchField)
Tab in tab barTabBar / Tab(system: TabView).tabBar (set on the bar)setAccessibilityRole(.tabGroup)
Static text containerStaticText(default for Text).staticText in accessibilityTraitssetAccessibilityRole(.staticText)
Updates frequently (timers, counters)UpdatesFrequently.accessibilityAddTraits(.updatesFrequently).updatesFrequently in accessibilityTraitsN/A — post .valueChanged via NSAccessibility.post(element:notification:) when the value changes
Image (decorative wrapper)Image(default for Image).image in accessibilityTraitssetAccessibilityRole(.image)

Standard controls (Button, Toggle, UIButton, UISwitch, NSButton, etc.) already have correct traits — do not flag them. The first four rows above (Button, Link, Header, Adjustable) are FAIL-eligible when missing on custom interactive views. The remaining rows are recommendations — mention them in the report when applicable, but do not change the verdict.

Trait selection guide:

  • A custom view that the user taps to perform an action → Button.
  • A custom view that opens a URL or navigates externally → Link (in addition to Button if it is also tappable; UIKit allows multiple traits).
  • A label that styles itself like a heading (.font(.title), .bold(), size 20+ at the top of a content section) → Header.
  • A view exposing an incrementable/decrementable value (rating, brightness, volume) → Adjustable, plus implement accessibilityIncrement / accessibilityDecrement (UIKit) or .accessibilityAdjustableAction (SwiftUI).
  • A label whose text changes more than once per second (timers, scores, countdowns) → UpdatesFrequently (recommendation only).
  • A search-style text field that filters a list → SearchField (recommendation only — UISearchBar already has it; custom search inputs do not).

Criterion 4 — Inaccessible images

Images conveying meaningful content need accessibility labels. Decorative images should be excluded from VoiceOver.

Passing image patterns:

  • Image("photo").accessibilityLabel("Sunset over the ocean") — labeled
  • Image(decorative: "background") — explicitly decorative
  • Image("divider").accessibilityHidden(true) — hidden from VoiceOver
  • UIImageView with isAccessibilityElement = false — decorative
  • SF Symbols inside a labeled container (e.g., Label("Settings", systemImage: "gear")) — the container provides the label

Failing image patterns:

  • Image("photo") with no label and not marked decorative
  • UIImageView with default isAccessibilityElement (nil/false for image views) but displaying meaningful content without a label
  • Image(variableName) where the intent is unclear — lean toward flagging and state the assumption

Criterion 5 — Missing isAccessibilityElement (UIKit/AppKit)

Custom UIView/NSView subclasses that handle user interaction must be exposed to VoiceOver.

FAIL when:

  • A UIView subclass adds gesture recognizers or overrides touchesBegan/touchesEnded but does not set isAccessibilityElement = true
  • An NSView subclass overrides mouseDown/mouseUp or adds gesture recognizers but does not call setAccessibilityElement(true)

Exempt:

  • Standard controls (UIButton, UISwitch, NSButton, etc.) — accessible by default
  • Container views that only provide layout — not interactive
  • Views with isAccessibilityElement = false that serve as containers for accessible children

Exempt elements

Do not flag any of the following:

  • Elements explicitly hidden: .accessibilityHidden(true), isAccessibilityElement = false, setAccessibilityElement(false)
  • Decorative images: Image(decorative:), UIImageView with isAccessibilityElement = false
  • Disabled controls: .disabled(true), isEnabled = false
  • Standard framework controls with text content (Button("Save"), UIButton with title, NSButton with title) — these are accessible by default
  • Layout containers: VStack, HStack, ZStack, UIStackView, NSStackView
  • System-managed chrome: navigation titles, tab bar labels, toolbar items

Element grouping (informational only)

When sibling accessible elements should be read as a single unit by VoiceOver, recommend grouping in the Recommendations section. Common grouping triggers:

  • A row/cell containing 2+ static text elements that describe one logical item (e.g., title + subtitle + date) — recommend .accessibilityElement(children: .combine) or shouldGroupAccessibilityChildren = true.
  • A card with an image + title + price — recommend combining; if the image is decorative, mark it hidden and combine the rest.
  • A custom container that is itself the tap target (the parent has .onTapGesture) but its children are still individually accessible — recommend .accessibilityElement(children: .combine) to suppress the per-child elements and announce the parent as one button.

Do not recommend grouping when:

  • Children are individually interactive (separate buttons).
  • Children expose distinct accessibility actions (a list cell with multiple swipe actions — those should be exposed as custom actions instead).

Never change the verdict based on grouping.

Custom actions (informational only)

VoiceOver custom actions let users invoke alternate behaviors on an element without exposing extra buttons in the main UI (e.g., swipe-to-delete on a list row). When the audit notices a row/cell with multiple gestures — swipe-to-delete, swipe-to-archive, long-press menus — recommend exposing those as accessibility custom actions:

  • SwiftUI: .accessibilityAction(named: "Delete") { delete() } (multiple .accessibilityAction modifiers stack as custom actions)
  • UIKit: view.accessibilityCustomActions = [UIAccessibilityCustomAction(name: "Delete", target: self, selector: #selector(delete))]
  • AppKit: view.setAccessibilityCustomActions([NSAccessibilityCustomAction(name: "Delete") { self.delete(); return true }])

Trigger this recommendation when you see:

  • A List row with .swipeActions { ... } and no .accessibilityAction(named: ...) for the same actions.
  • A UITableViewCell with editing actions / leading-swipe / trailing-swipe configured but no accessibilityCustomActions populated.
  • A view with two or more gesture recognizers (long-press + tap, force-touch
    • tap) without a corresponding custom-actions list.

Never affect the verdict based on missing custom actions.

Reading order (informational only)

VoiceOver reads accessibility elements in a default order derived from the view hierarchy and on-screen geometry. When the visual layout intentionally differs from the reading order — overlay UI, ZStack, custom positioning, re-ordered grids — flag the opportunity to set explicit ordering:

  • SwiftUI: .accessibilitySortPriority(_:) — higher values are read first within the same container. Use sparingly.
  • UIKit: override accessibilityElements: [Any]? on the parent view and return children in the desired reading order. Setting this disables the automatic order.
  • AppKit: override accessibilityChildren() and return children in the desired reading order.

Trigger the recommendation when you see:

  • A ZStack where an overlay is visually first but is the last child in source order.
  • A grid that re-orders cells with .id(...) based on user filters.
  • A UIView parent that lays out children with absolute frames in an order that does not match subviews.

Never change the verdict based on ordering.

Step 3 — Report findings

PASS or FAIL

State the verdict prominently at the top.

Passing elements

For each element that is correctly configured for VoiceOver:

  • Element description and location (line number)
  • How it provides its accessibility label (explicit label, text content, or exempt)

Failing elements

For each element that is NOT correctly configured:

  • Element description and location (line number)
  • Which criterion it violates
  • Concrete fix suggestion referencing actual code. Examples:
    • "Line 8: Add .accessibilityLabel(\"Delete\") to Button { Image(systemName: \"trash\") }"
    • "Line 15: Change .accessibilityLabel(\"btn_save_v2\") to .accessibilityLabel(\"Save\") — labels must be human-readable"
    • "Line 22: Add .accessibilityAddTraits(.isButton) to the custom view with onTapGesture"
    • "Line 30: Add isAccessibilityElement = true and accessibilityLabel = \"Play\" and accessibilityTraits = .button to the custom UIView"
    • "Line 12: Add .accessibilityLabel(\"User avatar\") to Image(user.photo), or mark it decorative with .accessibilityHidden(true) if it is purely visual"

Recommendations

Surface any of the following as recommendations. None affect the verdict.

  • Grouping: opportunities to combine sibling elements with .accessibilityElement(children: .combine) or shouldGroupAccessibilityChildren = true.
  • Custom actions: rows/cells with multiple gestures that should be exposed via .accessibilityAction(named:) / accessibilityCustomActions.
  • Ordering: cases where the visual layout order will not match the default reading order — see Ordering section below.
  • Additional traits: opportunities to use traits beyond the four FAIL-eligible ones (UpdatesFrequently, SearchField, Selected, etc.).

Assumptions

List any elements where the determination was uncertain:

  • "Assumed Image(iconName) is a meaningful image — if it is decorative, add .accessibilityHidden(true) instead"
  • "Could not determine if the custom view handles taps — check if interaction is added elsewhere"

Error handling

  • If the file contains no interactive elements, images, or custom views, report PASS with a note that no auditable elements were found.
  • If you cannot determine whether an element is interactive or decorative, flag it in assumptions and lean toward flagging it — false positives are better than missing a real issue.
  • If accessibility configuration is applied in a separate file (e.g., a view extension or appearance proxy), note this in assumptions.

Example

Given a file containing:

swift
struct ItemRow: View {
    let item: Item

    var body: some View {
        HStack {
            Image(item.iconName)
                .frame(width: 40, height: 40)

            VStack(alignment: .leading) {
                Text(item.title)
                    .font(.headline)
                Text(item.subtitle)
                    .font(.subheadline)
                    .foregroundStyle(.secondary)
            }

            Spacer()

            Button {
                delete(item)
            } label: {
                Image(systemName: "trash")
                    .foregroundStyle(.red)
            }
        }
    }
}

Analysis:

  • Image(item.iconName) (line 6): Image loaded from a variable with no .accessibilityLabel() and not marked decorative. Cannot confirm whether it is meaningful. FAIL (Criterion 4 — inaccessible image).
  • Text(item.title) (line 10): Text element, exempt — not interactive.
  • Text(item.subtitle) (line 12): Text element, exempt — not interactive.
  • Button { } label: { Image(systemName: "trash") } (line 17): Icon-only button with no text content and no .accessibilityLabel(). VoiceOver will announce "button" with no description. FAIL (Criterion 1 — missing label).

Verdict: FAIL — icon-only delete button has no accessibility label, and item image may need a label or should be marked decorative.

Fixes:

  • Line 17: Add .accessibilityLabel("Delete") to the Button
  • Line 6: Add .accessibilityLabel("Item icon") to Image(item.iconName), or add .accessibilityHidden(true) if the icon is purely decorative

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Accessibility Voiceover Specialist ?

Vérifie la conformité des vues au critère d’accessibilité VoiceOver d’Apple. Contrôle que les éléments interactifs disposent d’étiquettes d’accessibilité compréhensibles, que les attributs d’accessibilité sont corrects, que les images sont configurées comme il convient et que les commandes personnalisées sont accessibles aux technologies d’assistance. À utiliser si l’utilisateur demande de vérifier la prise en charge de VoiceOver, les étiquettes d’accessibilité, la conformité au critère VoiceOver ou la compatibilité d’une vue avec un lecteur d’écran.

Pourquoi utiliser Accessibility Voiceover Specialist sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Accessibility Voiceover Specialist se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Accessibility Voiceover Specialist dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/artemnovichkov/xcode-skills/tree/main/skills/accessibility-voiceover-specialist. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Accessibility Voiceover Specialist ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Accessibility Voiceover Specialist ?

Autant que vous le souhaitez. Vous pouvez utiliser Accessibility Voiceover Specialist avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Accessibility Voiceover Specialist est-elle gratuite ?

Cette compétence est publiée sur GitHub par artemnovichkov. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇