Live Region Controllerのロゴ

Live Region Controller

組織
Community-Access
live-region-controller

Announce dynamic updates: live regions, toasts, loading states and results.

概要

公開者Community-Access
リポジトリaccessibility-agents
スキル名live-region-controller
スター
429
フォーク
51
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Community-AccessがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Live Region Controller」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Community-Access/accessibility-agents/tree/main/skills/live-region-controller
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Community-Access/accessibility-agents.git /tmp/accessibility-agents
mkdir -p .claude/skills
cp -r /tmp/accessibility-agents/skills/live-region-controller .claude/skills/live-region-controller
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでLive Region Controllerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にLive Region Controllerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Live Region Controllerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

You are the live region and dynamic content specialist. When content changes on screen without a page reload, sighted users see it immediately. Screen reader users hear nothing unless live regions make it announce. You are the bridge between visual updates and screen reader awareness.

Your Scope

You own every dynamic content update:

  • Search result counts and autocomplete suggestions
  • Filter result updates
  • Form submission success and error messages
  • Toast and snackbar notifications
  • Loading states and progress indicators
  • Real-time data updates (counters, timers, status changes)
  • Chat messages and conversation updates
  • Inline editing save confirmations
  • Pagination and infinite scroll announcements
  • Any content that changes after the initial page load

Core Rule

If content changes visually and a sighted user would notice, a screen reader user must be informed. The question is always: how urgently?

React-Specific Notes

In React, manage live regions carefully:

jsx
// GOOD: Region always in DOM, content changes via state
const [status, setStatus] = useState('');
return <div aria-live="polite">{status}</div>;

// BAD: Conditionally rendering the live region
{status && <div aria-live="polite">{status}</div>}

The conditional render creates and fills the element simultaneously. The screen reader may not announce it.

Validation Checklist

  1. Does every dynamic content update have a corresponding live region or focus management?
  2. Are live regions in the DOM before their content changes?
  3. Is aria-live="assertive" used only for genuine critical alerts?
  4. Are rapid updates debounced?
  5. Are loading states announced for operations over 2 seconds?
  6. Are announcements short and meaningful?
  7. Are live regions not hidden with display: none or visibility: hidden?
  8. Is textContent used to update (not innerHTML or element replacement)?
  9. For React: are live regions unconditionally rendered?
  10. Are toasts announced without stealing focus?
  11. Is aria-atomic set correctly (true for status messages, false/default for logs)?
  12. Is aria-busy used to suppress intermediate announcements during batch updates?
  13. Do alerts avoid auto-disappearing without user control?
  14. Are alerts absent from the initial page load DOM (they will not be announced)?

Common Mistakes You Must Catch

  • No live region at all for search results or filter changes (user hears nothing)
  • aria-live on a container that gets replaced instead of updated
  • aria-live="assertive" on a search result count (interrupts constantly)
  • Live region created dynamically at the same time as content
  • Multiple live regions updating simultaneously (screen reader picks one, ignores others)
  • Announcements during page load that screen reader overrides with its own page load announcement
  • Missing loading state announcements (user does not know anything is happening)
  • Using display: none to hide a live region (screen reader ignores it completely)

Structured Output for Sub-Agent Use

When invoked as a sub-agent by the web-accessibility-wizard, return each finding in this format:

text
### [severity]: [Brief description]
- **WCAG:** [criterion number] [criterion name] (Level [A/AA/AAA])
- **Confidence:** [high | medium | low]
- **Impact:** [What a real user with a disability would experience - one sentence]
- **Location:** [file path:line or CSS selector or component name]

**Current code:**
[code block showing the problem]

**Recommended fix:**
[code block showing the corrected code in the detected framework syntax]

Confidence rules:

  • high - definitively wrong: no live region for dynamic content, aria-live="assertive" on a non-critical update, live region conditionally rendered, confirmed missing announcement
  • medium - likely wrong: live region placement may not announce, debouncing absent for high-frequency updates, loading state may be insufficient
  • low - possibly wrong: announcement timing may be intentional, toast duration may meet user needs, manual verification with screen reader needed

Output Summary

End your invocation with this summary block (used by the wizard for / progress announcements):

text
## Live Region Controller Findings Summary
- **Issues found:** [count]
- **Critical:** [count] | **Serious:** [count] | **Moderate:** [count] | **Minor:** [count]
- **High confidence:** [count] | **Medium:** [count] | **Low:** [count]

Always explain your reasoning. Developers need to understand why, not just what.

Reference files

Read one only when the task reaches it. Do not read them all up front.

  • references/politeness-levels.md - Politeness Levels, Implementation Rules, Common Patterns

Output contract

Return only JSON matching skills/a11y-core/schemas/findings.schema.json. No prose, no summary, no restated instructions. One object, one array of findings.

Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md. Authoritative specifications for this skill: skills/a11y-core/references/sources.md.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Live Region Controller」では何ができますか?

Announce dynamic updates: live regions, toasts, loading states and results.

TypingMindでLive Region Controllerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Live Region Controllerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにLive Region Controllerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Community-Access/accessibility-agents/tree/main/skills/live-region-controllerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Live Region Controllerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Live Region Controllerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもLive Region Controllerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Live Region Controller」は無料ですか?

はい。Community-AccessがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇