[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K078GTMS3PDZKDRFPA12HB":3,"skill-same:01M6K078GTMS3PDZKDRFPA12HB":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":13,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M6K078GTMS3PDZKDRFPA12HB","accessibility",null,"Accessibility guidelines for VS Code features — covers accessibility help dialogs, accessible views, verbosity settings, accessibility signals, ARIA alerts\u002Fstatus announcements, keyboard navigation, and ARIA labels\u002Froles. Applies to both new interactive UI surfaces and updates to existing features. Use when creating new UI or updating existing UI features.","sigitpoerwo\u002Frepoworkspace_zahra","sigitpoerwo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F260207224?v=4","01M6K000PB6NA0N6SQ7VFMEAFZ","01M6K000V4N0CEHNPPQA9TNQNX",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra\u002Fblob\u002Fmain\u002Fskills\u002F02-PERLU-SETUP\u002Fbutuh-belajar\u002Faccessibility\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"aria","labels","features","Existing","for","updates","keyboard","roles","signals","alerts","surfaces","use","settings","interactive","ui","help","code","guidelines","status","2026-11-10 10:12:30",false,"---\nname: accessibility\ndescription: Accessibility guidelines for VS Code features — covers accessibility help dialogs, accessible views, verbosity settings, accessibility signals, ARIA alerts\u002Fstatus announcements, keyboard navigation, and ARIA labels\u002Froles. Applies to both new interactive UI surfaces and updates to existing features. Use when creating new UI or updating existing UI features.\n---\n\nWhen adding a **new interactive UI surface** to VS Code — a panel, view, widget, editor overlay, dialog, or any rich focusable component the user interacts with — you **must** provide three accessibility components (if they do not already exist for the feature):\n\n1. **An Accessibility Help Dialog** — opened via the accessibility help keybinding when the feature has focus.\n2. **An Accessible View** — a plain-text read-only editor that presents the feature's content to screen reader users (when the feature displays non-trivial visual content).\n3. **An Accessibility Verbosity Setting** — a boolean setting that controls whether the \"open accessibility help\" hint is announced.\n\nExamples of existing features that have all three: the **terminal**, **chat panel**, **notebook**, **diff editor**, **inline completions**, **comments**, **debug REPL**, **hover**, and **notifications**. Features with only a help dialog (no accessible view) include **find widgets**, **source control input**, **keybindings editor**, **problems panel**, and **walkthroughs**.\n\nSections 4–7 below (signals, ARIA announcements, keyboard navigation, ARIA labels) apply more broadly to **any UI change**, including modifications to existing features.\n\nWhen **updating an existing feature** — for example, adding new commands, keyboard shortcuts, or interactive capabilities — you must also update the feature's existing accessibility help dialog (`provideContent()`) to document the new functionality. Screen reader users rely on the help dialog as the primary way to discover available actions.\n\n---\n\n## 1. Accessibility Help Dialog\n\nAn accessibility help dialog tells the user what the feature does, which keyboard shortcuts are available, and how to interact with it via a screen reader.\n\n### Steps\n\n1. **Create a class implementing `IAccessibleViewImplementation`** with `type = AccessibleViewType.Help`.\n   - Set a `priority` (higher = shown first when multiple providers match).\n   - Set `when` to a `ContextKeyExpression` that matches when the feature is focused.\n   - `getProvider(accessor)` returns an `AccessibleContentProvider`.\n\n2. **Create a content-provider class** implementing `IAccessibleViewContentProvider`.\n   - `id` — add a new entry in the `AccessibleViewProviderId` enum in `src\u002Fvs\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleView.ts`.\n   - `verbositySettingKey` — reference the new `AccessibilityVerbositySettingId` entry (see §3).\n   - `options` — `{ type: AccessibleViewType.Help }`.\n   - `provideContent()` — return localized, multi-line help text.\n\n3. **Implement `onClose()`** to restore focus to whatever element was focused before the help dialog opened. This ensures keyboard users and screen reader users return to their previous context.\n\n4. **Register** the implementation:\n   ```ts\n   AccessibleViewRegistry.register(new MyFeatureAccessibilityHelp());\n   ```\n   in the feature's `*.contribution.ts` file.\n\n### Example skeleton\n\nThe simplest approach is to return an `AccessibleContentProvider` directly from `getProvider()`. This is the most common pattern in the codebase (used by chat, inline chat, quick chat, etc.):\n\n```ts\nimport { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '…\u002FaccessibleView.js';\nimport { IAccessibleViewImplementation } from '…\u002FaccessibleViewRegistry.js';\nimport { AccessibilityVerbositySettingId } from '…\u002FaccessibilityConfiguration.js';\nimport { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId, IAccessibleViewContentProvider, IAccessibleViewOptions } from '..\u002F..\u002F..\u002F..\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleView.js';\nimport { IAccessibleViewImplementation } from '..\u002F..\u002F..\u002F..\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleViewRegistry.js';\nimport { AccessibilityVerbositySettingId } from '..\u002F..\u002F..\u002F..\u002Fplatform\u002Faccessibility\u002Fcommon\u002FaccessibilityConfiguration.js';\n\nexport class MyFeatureAccessibilityHelp implements IAccessibleViewImplementation {\n\treadonly priority = 100;\n\treadonly name = 'my-feature';\n\treadonly type = AccessibleViewType.Help;\n\treadonly when = MyFeatureContextKeys.isFocused;\n\n\tgetProvider(accessor: ServicesAccessor) {\n\t\tconst helpText = [\n\t\t\tlocalize('myFeature.help.overview', \"You are in My Feature. …\"),\n\t\t\tlocalize('myFeature.help.key1', \"- {0}: Do something\", '\u003Ckeybinding:myFeature.doSomething>'),\n\t\t].join('\\n');\n\t\treturn new AccessibleContentProvider(\n\t\t\tAccessibleViewProviderId.MyFeature,\n\t\t\t{ type: AccessibleViewType.Help },\n\t\t\t() => helpText,\n\t\t\t() => { \u002F* onClose — refocus whatever was focused before *\u002F },\n\t\t\tAccessibilityVerbositySettingId.MyFeature,\n\t\t);\n\t}\n}\n```\n\nAlternatively, if the provider needs injected services or must track state (e.g., storing a reference to the previously focused element), create a custom class that extends `Disposable` and implements `IAccessibleViewContentProvider`, then instantiate it via `IInstantiationService` (see `CommentsAccessibilityHelpProvider` for an example):\n\n```ts\nclass MyFeatureAccessibilityHelpProvider extends Disposable implements IAccessibleViewContentProvider {\n\treadonly id = AccessibleViewProviderId.MyFeature;\n\treadonly verbositySettingKey = AccessibilityVerbositySettingId.MyFeature;\n\treadonly options: IAccessibleViewOptions = { type: AccessibleViewType.Help };\n\n\tprovideContent(): string { \u002F* … *\u002F }\n\tonClose(): void { \u002F* … *\u002F }\n}\n\n\u002F\u002F In getProvider():\ngetProvider(accessor: ServicesAccessor) {\n\treturn accessor.get(IInstantiationService).createInstance(MyFeatureAccessibilityHelpProvider);\n}\n```\n\n---\n\n## 2. Accessible View\n\nAn accessible view presents the feature's visual content as plain text in a read-only editor. It is required when the feature renders rich or visual content that a screen reader cannot directly read (for example: chat responses, hover tooltips, notifications, terminal output, inline completions).\n\nIf the feature is purely keyboard-driven with native text input\u002Foutput (e.g., a simple input field), an accessible view is not needed — only an accessibility help dialog is required.\n\n### Steps\n\n1. **Create a class implementing `IAccessibleViewImplementation`** with `type = AccessibleViewType.View`.\n2. **Create a content-provider** similar to the help dialog, but:\n   - `options` — `{ type: AccessibleViewType.View }`, optionally with a `language` for syntax highlighting.\n   - `provideContent()` — return the feature's current content as plain text.\n   - Optionally implement `provideNextContent()` \u002F `providePreviousContent()` for item-by-item navigation.\n   - Implement `onClose()` to restore focus to whatever was focused before the accessible view was opened.\n   - Optionally provide `actions` for actions the user can take from the accessible view.\n3. **Register** alongside the help dialog:\n   ```ts\n   AccessibleViewRegistry.register(new MyFeatureAccessibleView());\n   ```\n\n### Example skeleton\n\n```ts\nexport class MyFeatureAccessibleView implements IAccessibleViewImplementation {\n\treadonly priority = 100;\n\treadonly name = 'my-feature';\n\treadonly type = AccessibleViewType.View;\n\treadonly when = MyFeatureContextKeys.isFocused;\n\n\tgetProvider(accessor: ServicesAccessor) {\n\t\t\u002F\u002F Retrieve services, build content from the feature's current state\n\t\tconst content = getMyFeatureContent();\n\t\tif (!content) {\n\t\t\treturn undefined;\n\t\t}\n\t\treturn new AccessibleContentProvider(\n\t\t\tAccessibleViewProviderId.MyFeature,\n\t\t\t{ type: AccessibleViewType.View },\n\t\t\t() => content,\n\t\t\t() => { \u002F* onClose — refocus whatever was focused before the accessible view opened *\u002F },\n\t\t\tAccessibilityVerbositySettingId.MyFeature,\n\t\t);\n\t}\n}\n```\n\n---\n\n## 3. Accessibility Verbosity Setting\n\nA verbosity setting controls whether a hint such as \"press Alt+F1 for accessibility help\" is announced when the feature gains focus. Users who already know the shortcut can disable it.\n\n### Steps\n\n1. **Add an entry** to `AccessibilityVerbositySettingId` in\n   `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002Faccessibility\u002Fbrowser\u002FaccessibilityConfiguration.ts`:\n   ```ts\n   export const enum AccessibilityVerbositySettingId {\n       \u002F\u002F … existing entries …\n       MyFeature = 'accessibility.verbosity.myFeature'\n   }\n   ```\n\n2. **Register the configuration property** in the same file's `configuration.properties` object:\n   ```ts\n   [AccessibilityVerbositySettingId.MyFeature]: {\n       description: localize('verbosity.myFeature.description',\n           'Provide information about how to access the My Feature accessibility help menu when My Feature is focused.'),\n       ...baseVerbosityProperty\n   },\n   ```\n   The `baseVerbosityProperty` gives it `type: 'boolean'`, `default: true`, and `tags: ['accessibility']`.\n\n3. **Reference the setting key** in both the help-dialog provider (`verbositySettingKey`) and the accessible-view provider so the runtime can check whether to show the hint.\n\n---\n\n## 4. Accessibility Signals (Sounds & Announcements)\n\nAccessibility signals provide audible and spoken feedback for events that happen visually. Use `IAccessibilitySignalService` to play signals when something important occurs (e.g., an error appears, a task completes, content changes).\n\n### When to use\n\n- **Use an existing signal** when the event already has one defined (see `AccessibilitySignal.*` static members — e.g., `AccessibilitySignal.error`, `AccessibilitySignal.terminalQuickFix`, `AccessibilitySignal.clear`).\n- **If no existing signal fits**, reach out to @meganrogge to discuss adding a new one. Do not register new signals without coordinating first.\n\n### How signals work\n\nEach signal has two modalities controlled by user settings:\n- **Sound** — a short audio cue, configurable to `auto` (on when screen reader attached), `on`, or `off`.\n- **Announcement** — a spoken message via `aria-live`, configurable to `auto` or `off`.\n\n### Usage\n\n```ts\n\u002F\u002F Inject the service via constructor parameter\nconstructor(\n\t@IAccessibilitySignalService private readonly _accessibilitySignalService: IAccessibilitySignalService\n) { }\n\n\u002F\u002F Play a signal\nthis._accessibilitySignalService.playSignal(AccessibilitySignal.terminalQuickFix);\n\n\u002F\u002F Play with options\nthis._accessibilitySignalService.playSignal(AccessibilitySignal.error, { userGesture: true });\n```\n\n---\n\n## 5. ARIA Alerts vs. Status Messages\n\nUse the `alert()` and `status()` functions from `src\u002Fvs\u002Fbase\u002Fbrowser\u002Fui\u002Faria\u002Faria.ts` to announce dynamic changes to screen readers.\n\n### `alert(msg)` — Assertive live region (`role=\"alert\"`)\n- **Use for**: Urgent, important information that the user must know immediately.\n- **Examples**: Errors, warnings, critical state changes, results of a user-initiated action.\n- **Behavior**: Interrupts the screen reader's current speech.\n\n### `status(msg)` — Polite live region (`aria-live=\"polite\"`)\n- **Use for**: Non-urgent, informational updates that should be spoken when the screen reader is idle.\n- **Examples**: Progress updates, search result counts, background state changes.\n- **Behavior**: Queued and spoken after the screen reader finishes its current output.\n\n### Guidelines\n\n- **Prefer `status()` over `alert()`** unless the information is time-sensitive or the result of a direct user action. Overusing `alert()` creates a noisy, disruptive experience.\n- **Keep messages concise.** Screen readers read the entire message; long messages delay the user.\n- **Do not duplicate** — if an accessibility signal already announces the event, do not also call `alert()` \u002F `status()` for the same information.\n- **Localize** all messages with `nls.localize()`.\n\n---\n\n## 6. Keyboard Navigation\n\nEvery interactive UI element must be fully operable via the keyboard.\n\n### Requirements\n\n- **Tab order**: All interactive elements must be reachable via `Tab` \u002F `Shift+Tab` in a logical order.\n- **Arrow key navigation**: Lists, trees, grids, and toolbars must support arrow key navigation following WAI-ARIA patterns.\n- **Focus visibility**: Focused elements must have a visible focus indicator (VS Code's theme system provides this via `focusBorder`).\n- **No mouse-only interactions**: Every action reachable by click or hover must also be reachable via keyboard (context menus, buttons, toggles, etc.).\n- **Escape to dismiss**: Overlays, dialogs, and popups must be dismissable with `Escape`, returning focus to the previous element.\n- **Focus trapping**: Modal dialogs must trap focus within the dialog until dismissed.\n\n---\n\n## 7. ARIA Labels and Roles\n\nAll interactive UI elements must have appropriate ARIA attributes so screen readers can identify and describe them.\n\n### Requirements\n\n- **`aria-label`**: Every interactive element without visible text (icon buttons, icon-only actions, custom widgets) must have a descriptive `aria-label`. Labels should be localized.\n- **`aria-labelledby`** \u002F **`aria-describedby`**: Use these to associate elements with existing visible text rather than duplicating strings.\n- **`role`**: Custom widgets that do not use native HTML elements must declare the correct ARIA role (e.g., `role=\"button\"`, `role=\"tree\"`, `role=\"tablist\"`).\n- **`aria-expanded`**, **`aria-selected`**, **`aria-checked`**: Toggle and selection states must be communicated via the appropriate ARIA state attributes.\n- **`aria-hidden=\"true\"`**: Decorative or redundant elements (icons next to text labels, decorative separators) must be hidden from the accessibility tree.\n\n### Guidelines\n\n- Avoid generic labels like \"button\" or \"icon\" — describe the action: \"Close panel\", \"Toggle sidebar\", \"Run task\".\n- Test with a screen reader (VoiceOver on macOS, NVDA on Windows) to verify labels are spoken correctly in context.\n- Lists and trees should use `aria-setsize` and `aria-posinset` when virtualized so screen readers report the correct count.\n\n---\n\n## Checklist for Every New Feature\n\n- [ ] New `AccessibleViewProviderId` entry added in `accessibleView.ts`\n- [ ] New `AccessibilityVerbositySettingId` entry added in `accessibilityConfiguration.ts`\n- [ ] Verbosity setting registered in the configuration properties with `...baseVerbosityProperty`\n- [ ] `IAccessibleViewImplementation` with `type = Help` created and registered\n- [ ] Content provider references the correct `verbositySettingKey`\n- [ ] Help text is fully localized using `nls.localize()`\n- [ ] Keybindings in help text use `\u003Ckeybinding:commandId>` syntax for dynamic resolution\n- [ ] `when` context key is set so the dialog only appears when the feature is focused\n- [ ] If the feature has rich\u002Fvisual content: `IAccessibleViewImplementation` with `type = View` created and registered\n- [ ] Registration calls in the feature's `*.contribution.ts` file\n- [ ] Accessibility signal played for important events (use existing `AccessibilitySignal.*` or register a new one)\n- [ ] `aria.alert()` or `aria.status()` used appropriately for dynamic changes (prefer `status()` unless urgent)\n- [ ] All interactive elements reachable and operable via keyboard\n- [ ] All interactive elements without visible text have a localized `aria-label`\n- [ ] Custom widgets declare the correct ARIA `role` and state attributes\n- [ ] Decorative elements are hidden with `aria-hidden=\"true\"`\n\n## Key Files\n\n- `src\u002Fvs\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleView.ts` — `AccessibleViewProviderId`, `AccessibleContentProvider`, `IAccessibleViewContentProvider`\n- `src\u002Fvs\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleViewRegistry.ts` — `AccessibleViewRegistry`, `IAccessibleViewImplementation`\n- `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002Faccessibility\u002Fbrowser\u002FaccessibilityConfiguration.ts` — `AccessibilityVerbositySettingId`, verbosity setting registration\n- `src\u002Fvs\u002Fplatform\u002FaccessibilitySignal\u002Fbrowser\u002FaccessibilitySignalService.ts` — `IAccessibilitySignalService`, `AccessibilitySignal`\n- `src\u002Fvs\u002Fbase\u002Fbrowser\u002Fui\u002Faria\u002Faria.ts` — `alert()`, `status()` for ARIA live region announcements\n\n","When adding a **new interactive UI surface** to VS Code — a panel, view, widget, editor overlay, dialog, or any rich focusable component the user interacts with — you **must** provide three accessibility components (if they do not already exist for the feature):\n\n1. **An Accessibility Help Dialog** — opened via the accessibility help keybinding when the feature has focus.\n2. **An Accessible View** — a plain-text read-only editor that presents the feature's content to screen reader users (when the feature displays non-trivial visual content).\n3. **An Accessibility Verbosity Setting** — a boolean setting that controls whether the \"open accessibility help\" hint is announced.\n\nExamples of existing features that have all three: the **terminal**, **chat panel**, **notebook**, **diff editor**, **inline completions**, **comments**, **debug REPL**, **hover**, and **notifications**. Features with only a help dialog (no accessible view) include **find widgets**, **source control input**, **keybindings editor**, **problems panel**, and **walkthroughs**.\n\nSections 4–7 below (signals, ARIA announcements, keyboard navigation, ARIA labels) apply more broadly to **any UI change**, including modifications to existing features.\n\nWhen **updating an existing feature** — for example, adding new commands, keyboard shortcuts, or interactive capabilities — you must also update the feature's existing accessibility help dialog (`provideContent()`) to document the new functionality. Screen reader users rely on the help dialog as the primary way to discover available actions.\n\n---\n\n## 1. Accessibility Help Dialog\n\nAn accessibility help dialog tells the user what the feature does, which keyboard shortcuts are available, and how to interact with it via a screen reader.\n\n### Steps\n\n1. **Create a class implementing `IAccessibleViewImplementation`** with `type = AccessibleViewType.Help`.\n   - Set a `priority` (higher = shown first when multiple providers match).\n   - Set `when` to a `ContextKeyExpression` that matches when the feature is focused.\n   - `getProvider(accessor)` returns an `AccessibleContentProvider`.\n\n2. **Create a content-provider class** implementing `IAccessibleViewContentProvider`.\n   - `id` — add a new entry in the `AccessibleViewProviderId` enum in `src\u002Fvs\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleView.ts`.\n   - `verbositySettingKey` — reference the new `AccessibilityVerbositySettingId` entry (see §3).\n   - `options` — `{ type: AccessibleViewType.Help }`.\n   - `provideContent()` — return localized, multi-line help text.\n\n3. **Implement `onClose()`** to restore focus to whatever element was focused before the help dialog opened. This ensures keyboard users and screen reader users return to their previous context.\n\n4. **Register** the implementation:\n   ```ts\n   AccessibleViewRegistry.register(new MyFeatureAccessibilityHelp());\n   ```\n   in the feature's `*.contribution.ts` file.\n\n### Example skeleton\n\nThe simplest approach is to return an `AccessibleContentProvider` directly from `getProvider()`. This is the most common pattern in the codebase (used by chat, inline chat, quick chat, etc.):\n\n```ts\nimport { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '…\u002FaccessibleView.js';\nimport { IAccessibleViewImplementation } from '…\u002FaccessibleViewRegistry.js';\nimport { AccessibilityVerbositySettingId } from '…\u002FaccessibilityConfiguration.js';\nimport { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId, IAccessibleViewContentProvider, IAccessibleViewOptions } from '..\u002F..\u002F..\u002F..\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleView.js';\nimport { IAccessibleViewImplementation } from '..\u002F..\u002F..\u002F..\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleViewRegistry.js';\nimport { AccessibilityVerbositySettingId } from '..\u002F..\u002F..\u002F..\u002Fplatform\u002Faccessibility\u002Fcommon\u002FaccessibilityConfiguration.js';\n\nexport class MyFeatureAccessibilityHelp implements IAccessibleViewImplementation {\n\treadonly priority = 100;\n\treadonly name = 'my-feature';\n\treadonly type = AccessibleViewType.Help;\n\treadonly when = MyFeatureContextKeys.isFocused;\n\n\tgetProvider(accessor: ServicesAccessor) {\n\t\tconst helpText = [\n\t\t\tlocalize('myFeature.help.overview', \"You are in My Feature. …\"),\n\t\t\tlocalize('myFeature.help.key1', \"- {0}: Do something\", '\u003Ckeybinding:myFeature.doSomething>'),\n\t\t].join('\\n');\n\t\treturn new AccessibleContentProvider(\n\t\t\tAccessibleViewProviderId.MyFeature,\n\t\t\t{ type: AccessibleViewType.Help },\n\t\t\t() => helpText,\n\t\t\t() => { \u002F* onClose — refocus whatever was focused before *\u002F },\n\t\t\tAccessibilityVerbositySettingId.MyFeature,\n\t\t);\n\t}\n}\n```\n\nAlternatively, if the provider needs injected services or must track state (e.g., storing a reference to the previously focused element), create a custom class that extends `Disposable` and implements `IAccessibleViewContentProvider`, then instantiate it via `IInstantiationService` (see `CommentsAccessibilityHelpProvider` for an example):\n\n```ts\nclass MyFeatureAccessibilityHelpProvider extends Disposable implements IAccessibleViewContentProvider {\n\treadonly id = AccessibleViewProviderId.MyFeature;\n\treadonly verbositySettingKey = AccessibilityVerbositySettingId.MyFeature;\n\treadonly options: IAccessibleViewOptions = { type: AccessibleViewType.Help };\n\n\tprovideContent(): string { \u002F* … *\u002F }\n\tonClose(): void { \u002F* … *\u002F }\n}\n\n\u002F\u002F In getProvider():\ngetProvider(accessor: ServicesAccessor) {\n\treturn accessor.get(IInstantiationService).createInstance(MyFeatureAccessibilityHelpProvider);\n}\n```\n\n---\n\n## 2. Accessible View\n\nAn accessible view presents the feature's visual content as plain text in a read-only editor. It is required when the feature renders rich or visual content that a screen reader cannot directly read (for example: chat responses, hover tooltips, notifications, terminal output, inline completions).\n\nIf the feature is purely keyboard-driven with native text input\u002Foutput (e.g., a simple input field), an accessible view is not needed — only an accessibility help dialog is required.\n\n### Steps\n\n1. **Create a class implementing `IAccessibleViewImplementation`** with `type = AccessibleViewType.View`.\n2. **Create a content-provider** similar to the help dialog, but:\n   - `options` — `{ type: AccessibleViewType.View }`, optionally with a `language` for syntax highlighting.\n   - `provideContent()` — return the feature's current content as plain text.\n   - Optionally implement `provideNextContent()` \u002F `providePreviousContent()` for item-by-item navigation.\n   - Implement `onClose()` to restore focus to whatever was focused before the accessible view was opened.\n   - Optionally provide `actions` for actions the user can take from the accessible view.\n3. **Register** alongside the help dialog:\n   ```ts\n   AccessibleViewRegistry.register(new MyFeatureAccessibleView());\n   ```\n\n### Example skeleton\n\n```ts\nexport class MyFeatureAccessibleView implements IAccessibleViewImplementation {\n\treadonly priority = 100;\n\treadonly name = 'my-feature';\n\treadonly type = AccessibleViewType.View;\n\treadonly when = MyFeatureContextKeys.isFocused;\n\n\tgetProvider(accessor: ServicesAccessor) {\n\t\t\u002F\u002F Retrieve services, build content from the feature's current state\n\t\tconst content = getMyFeatureContent();\n\t\tif (!content) {\n\t\t\treturn undefined;\n\t\t}\n\t\treturn new AccessibleContentProvider(\n\t\t\tAccessibleViewProviderId.MyFeature,\n\t\t\t{ type: AccessibleViewType.View },\n\t\t\t() => content,\n\t\t\t() => { \u002F* onClose — refocus whatever was focused before the accessible view opened *\u002F },\n\t\t\tAccessibilityVerbositySettingId.MyFeature,\n\t\t);\n\t}\n}\n```\n\n---\n\n## 3. Accessibility Verbosity Setting\n\nA verbosity setting controls whether a hint such as \"press Alt+F1 for accessibility help\" is announced when the feature gains focus. Users who already know the shortcut can disable it.\n\n### Steps\n\n1. **Add an entry** to `AccessibilityVerbositySettingId` in\n   `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002Faccessibility\u002Fbrowser\u002FaccessibilityConfiguration.ts`:\n   ```ts\n   export const enum AccessibilityVerbositySettingId {\n       \u002F\u002F … existing entries …\n       MyFeature = 'accessibility.verbosity.myFeature'\n   }\n   ```\n\n2. **Register the configuration property** in the same file's `configuration.properties` object:\n   ```ts\n   [AccessibilityVerbositySettingId.MyFeature]: {\n       description: localize('verbosity.myFeature.description',\n           'Provide information about how to access the My Feature accessibility help menu when My Feature is focused.'),\n       ...baseVerbosityProperty\n   },\n   ```\n   The `baseVerbosityProperty` gives it `type: 'boolean'`, `default: true`, and `tags: ['accessibility']`.\n\n3. **Reference the setting key** in both the help-dialog provider (`verbositySettingKey`) and the accessible-view provider so the runtime can check whether to show the hint.\n\n---\n\n## 4. Accessibility Signals (Sounds & Announcements)\n\nAccessibility signals provide audible and spoken feedback for events that happen visually. Use `IAccessibilitySignalService` to play signals when something important occurs (e.g., an error appears, a task completes, content changes).\n\n### When to use\n\n- **Use an existing signal** when the event already has one defined (see `AccessibilitySignal.*` static members — e.g., `AccessibilitySignal.error`, `AccessibilitySignal.terminalQuickFix`, `AccessibilitySignal.clear`).\n- **If no existing signal fits**, reach out to @meganrogge to discuss adding a new one. Do not register new signals without coordinating first.\n\n### How signals work\n\nEach signal has two modalities controlled by user settings:\n- **Sound** — a short audio cue, configurable to `auto` (on when screen reader attached), `on`, or `off`.\n- **Announcement** — a spoken message via `aria-live`, configurable to `auto` or `off`.\n\n### Usage\n\n```ts\n\u002F\u002F Inject the service via constructor parameter\nconstructor(\n\t@IAccessibilitySignalService private readonly _accessibilitySignalService: IAccessibilitySignalService\n) { }\n\n\u002F\u002F Play a signal\nthis._accessibilitySignalService.playSignal(AccessibilitySignal.terminalQuickFix);\n\n\u002F\u002F Play with options\nthis._accessibilitySignalService.playSignal(AccessibilitySignal.error, { userGesture: true });\n```\n\n---\n\n## 5. ARIA Alerts vs. Status Messages\n\nUse the `alert()` and `status()` functions from `src\u002Fvs\u002Fbase\u002Fbrowser\u002Fui\u002Faria\u002Faria.ts` to announce dynamic changes to screen readers.\n\n### `alert(msg)` — Assertive live region (`role=\"alert\"`)\n- **Use for**: Urgent, important information that the user must know immediately.\n- **Examples**: Errors, warnings, critical state changes, results of a user-initiated action.\n- **Behavior**: Interrupts the screen reader's current speech.\n\n### `status(msg)` — Polite live region (`aria-live=\"polite\"`)\n- **Use for**: Non-urgent, informational updates that should be spoken when the screen reader is idle.\n- **Examples**: Progress updates, search result counts, background state changes.\n- **Behavior**: Queued and spoken after the screen reader finishes its current output.\n\n### Guidelines\n\n- **Prefer `status()` over `alert()`** unless the information is time-sensitive or the result of a direct user action. Overusing `alert()` creates a noisy, disruptive experience.\n- **Keep messages concise.** Screen readers read the entire message; long messages delay the user.\n- **Do not duplicate** — if an accessibility signal already announces the event, do not also call `alert()` \u002F `status()` for the same information.\n- **Localize** all messages with `nls.localize()`.\n\n---\n\n## 6. Keyboard Navigation\n\nEvery interactive UI element must be fully operable via the keyboard.\n\n### Requirements\n\n- **Tab order**: All interactive elements must be reachable via `Tab` \u002F `Shift+Tab` in a logical order.\n- **Arrow key navigation**: Lists, trees, grids, and toolbars must support arrow key navigation following WAI-ARIA patterns.\n- **Focus visibility**: Focused elements must have a visible focus indicator (VS Code's theme system provides this via `focusBorder`).\n- **No mouse-only interactions**: Every action reachable by click or hover must also be reachable via keyboard (context menus, buttons, toggles, etc.).\n- **Escape to dismiss**: Overlays, dialogs, and popups must be dismissable with `Escape`, returning focus to the previous element.\n- **Focus trapping**: Modal dialogs must trap focus within the dialog until dismissed.\n\n---\n\n## 7. ARIA Labels and Roles\n\nAll interactive UI elements must have appropriate ARIA attributes so screen readers can identify and describe them.\n\n### Requirements\n\n- **`aria-label`**: Every interactive element without visible text (icon buttons, icon-only actions, custom widgets) must have a descriptive `aria-label`. Labels should be localized.\n- **`aria-labelledby`** \u002F **`aria-describedby`**: Use these to associate elements with existing visible text rather than duplicating strings.\n- **`role`**: Custom widgets that do not use native HTML elements must declare the correct ARIA role (e.g., `role=\"button\"`, `role=\"tree\"`, `role=\"tablist\"`).\n- **`aria-expanded`**, **`aria-selected`**, **`aria-checked`**: Toggle and selection states must be communicated via the appropriate ARIA state attributes.\n- **`aria-hidden=\"true\"`**: Decorative or redundant elements (icons next to text labels, decorative separators) must be hidden from the accessibility tree.\n\n### Guidelines\n\n- Avoid generic labels like \"button\" or \"icon\" — describe the action: \"Close panel\", \"Toggle sidebar\", \"Run task\".\n- Test with a screen reader (VoiceOver on macOS, NVDA on Windows) to verify labels are spoken correctly in context.\n- Lists and trees should use `aria-setsize` and `aria-posinset` when virtualized so screen readers report the correct count.\n\n---\n\n## Checklist for Every New Feature\n\n- [ ] New `AccessibleViewProviderId` entry added in `accessibleView.ts`\n- [ ] New `AccessibilityVerbositySettingId` entry added in `accessibilityConfiguration.ts`\n- [ ] Verbosity setting registered in the configuration properties with `...baseVerbosityProperty`\n- [ ] `IAccessibleViewImplementation` with `type = Help` created and registered\n- [ ] Content provider references the correct `verbositySettingKey`\n- [ ] Help text is fully localized using `nls.localize()`\n- [ ] Keybindings in help text use `\u003Ckeybinding:commandId>` syntax for dynamic resolution\n- [ ] `when` context key is set so the dialog only appears when the feature is focused\n- [ ] If the feature has rich\u002Fvisual content: `IAccessibleViewImplementation` with `type = View` created and registered\n- [ ] Registration calls in the feature's `*.contribution.ts` file\n- [ ] Accessibility signal played for important events (use existing `AccessibilitySignal.*` or register a new one)\n- [ ] `aria.alert()` or `aria.status()` used appropriately for dynamic changes (prefer `status()` unless urgent)\n- [ ] All interactive elements reachable and operable via keyboard\n- [ ] All interactive elements without visible text have a localized `aria-label`\n- [ ] Custom widgets declare the correct ARIA `role` and state attributes\n- [ ] Decorative elements are hidden with `aria-hidden=\"true\"`\n\n## Key Files\n\n- `src\u002Fvs\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleView.ts` — `AccessibleViewProviderId`, `AccessibleContentProvider`, `IAccessibleViewContentProvider`\n- `src\u002Fvs\u002Fplatform\u002Faccessibility\u002Fbrowser\u002FaccessibleViewRegistry.ts` — `AccessibleViewRegistry`, `IAccessibleViewImplementation`\n- `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002Faccessibility\u002Fbrowser\u002FaccessibilityConfiguration.ts` — `AccessibilityVerbositySettingId`, verbosity setting registration\n- `src\u002Fvs\u002Fplatform\u002FaccessibilitySignal\u002Fbrowser\u002FaccessibilitySignalService.ts` — `IAccessibilitySignalService`, `AccessibilitySignal`\n- `src\u002Fvs\u002Fbase\u002Fbrowser\u002Fui\u002Faria\u002Faria.ts` — `alert()`, `status()` for ARIA live region announcements\n\n",{"name":5,"description":7},"main","000d804ba753926ec0eca35be68bdb42da72c672","skills\u002F02-PERLU-SETUP\u002Fbutuh-belajar\u002Faccessibility","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo","2026-04-05 09:27:05",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add sigitpoerwo\u002Frepoworkspace_zahra --skill accessibility",{"tool":54,"command":55},"bunx","bunx skills add sigitpoerwo\u002Frepoworkspace_zahra --skill accessibility",{"tool":57,"command":58},"pnpm","pnpm dlx skills add sigitpoerwo\u002Frepoworkspace_zahra --skill accessibility","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra\u002Fblob\u002Fmain\u002Fskills\u002F02-PERLU-SETUP\u002Fbutuh-belajar\u002Faccessibility\u002FSKILL.md",true,[],[63,105,130,147,158,164],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":85,"publishedAt":37},"01M6K0FJ41XMDT72PK0E3ZJF9P","zahra-workspace-manager","Comprehensive workspace management skill for Zahra Maurita's development environment. Use when managing projects across 8 divisions (Web, App, AI Agent, Bot, Content, Marketing, Research, Business), organizing files, tracking progress, managing memory, or coordinating multi-domain work. Triggers on mentions of workspace organization, project management, division-specific tasks, memory updates, or cross-domain coordination.","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra\u002Fblob\u002Fmain\u002Fskills\u002Fzahra-workspace-manager\u002FSKILL.md",[69,74,77,80],{"categoryNo":70,"categoryName":71,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000019","营销推广","SCENARIO","使用场景",{"categoryNo":75,"categoryName":76,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":78,"categoryName":79,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},"01JBSEEDCAT000000000000035","市场营销","PROFESSION","适用职业",[86,87,88,89,90,23,91,92,93,94,95,96,97,98,99,100,101,102,103,104],"workspace","workspace manager","manager","zahra workspace manager","work","progress","app","project","across","multi-domain","files","command","coordination","projects","search","tasks","ai agent","memory","bot",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":112,"publishedAt":37},"01M6K0FBZYXG5M8VBW5R6TPKEP","tinyfish","AI-powered web automation using TinyFish Web Agent. Use when you need to scrape data from websites, automate form filling, extract structured information, or perform any web-based task using natural language instructions. Works with any website including those with JavaScript, dynamic content, and bot protection.","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra\u002Fblob\u002Fmain\u002Fskills\u002F05-CUSTOM-SKILLS\u002Ftinyfish\u002FSKILL.md",[111],{"categoryNo":78,"categoryName":79,"taxonomyType":72,"taxonomyTypeDesc":73},[107,113,114,115,116,117,118,119,120,121,29,122,123,104,124,125,126,127,128,129],"with","natural language","web automation","form","information","scrape","task","language","protection","instructions","automate","you","website","web","javascript","automation","data",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":137,"publishedAt":37},"01M6K0F57WDT62QNXTTC6YS34D","tinyfish-openclaw","TinyFish Web Agent integration for OpenClaw. Use this skill to scrape websites, automate web tasks, extract structured data, and perform browser automation using natural language. Works seamlessly with OpenClaw's MCP protocol.","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra\u002Fblob\u002Fmain\u002Fskills\u002F05-CUSTOM-SKILLS\u002Ftinyfish-openclaw\u002FSKILL.md",[136],{"categoryNo":78,"categoryName":79,"taxonomyType":72,"taxonomyTypeDesc":73},[107,138,139,128,140,141,142,126,123,22,113,114,29,118,129,143,144,145,146,101],"openclaw","tinyfish openclaw","structured data","browser automation","MCP","integration","mcp protocol","browser","protocol",{"skillNo":148,"name":149,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":157,"publishedAt":37},"01M6K0E9ZWFTG44SK6G2ARS39Z","autoresearchclaw","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra\u002Fblob\u002Fmain\u002Fskills\u002F05-CUSTOM-SKILLS\u002Fautoresearchclaw\u002FSKILL.md",[152,155,156],{"categoryNo":153,"categoryName":154,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":75,"categoryName":76,"taxonomyType":72,"taxonomyTypeDesc":73},{"categoryNo":78,"categoryName":79,"taxonomyType":72,"taxonomyTypeDesc":73},[149],{"skillNo":159,"name":160,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":37},"01M6K0E6ZAEJFYDXM4GANCKZY0","researchclaw","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra\u002Fblob\u002Fmain\u002Fskills\u002F05-CUSTOM-SKILLS\u002Fautoresearchclaw\u002F.claude\u002Fskills\u002Fresearchclaw\u002FSKILL.md",[],[160],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":171,"publishedAt":37},"01M6K0E1B6RZ8T2S7RMWQ6BVWW","academic-research-assistant","Research assistant for management & digital business academics - literature review, paper analysis, citation management, research methodology","https:\u002F\u002Fgithub.com\u002Fsigitpoerwo\u002Frepoworkspace_zahra\u002Fblob\u002Fmain\u002Fskills\u002F05-CUSTOM-SKILLS\u002Facademic-research-assistant\u002FSKILL.md",[170],{"categoryNo":75,"categoryName":76,"taxonomyType":72,"taxonomyTypeDesc":73},[172,173,174,175,176,177,22,178,179,180,181,182,183,184,185,186,187,188],"research assistant","academic research assistant","Academic","assistant","research","paper analysis","literature","paper","Citation","research methodology","business","management","literature review","analysis","citation management","methodology","review"]