Logo: Live Region Controller

Live Region Controller

Organisatioun
Community-Access
live-region-controller

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

Iwwersiicht

EditeurCommunity-Access
Repositoryaccessibility-agents
Skill-Nummlive-region-controller
Stären
429
Forks
51
Matgeliwwert Dateien
3
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Community-Access huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Live Region Controller an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Community-Access/accessibility-agents/tree/main/skills/live-region-controller
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Live Region Controller an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Live Region Controller automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Live Region Controller net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Live Region Controller?

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

Firwat Live Region Controller op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Live Region Controller besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Live Region Controller an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Community-Access/accessibility-agents/tree/main/skills/live-region-controller an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Live Region Controller benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Live Region Controller benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Live Region Controller domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Live Region Controller gratis?

Jo. Community-Access huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇