← Back to wkappbot-core
wkappbot-core ★★☆

# a11y hack: --ocr opt-in + VisionWorker sentinel bridge (focusless)

a11y hack used to run CCA + UIA + OCR + Gemini Vision always. Heavy runs (every invocation) would fire CDP tab activation from the Vision worker and steal foreground. Now OCR/Vision are opt-in via --ocr; default path is CCA + UIA only. When --ocr is passed, VisionWorker's CDP call is bracketed with the main sentinel's Checkpoint so theft is caught immediately, not at end of pipeline.

user/developer
a11y hack ocr vision cdp focus-steal sentinel focusless-first

## Steps

1. Default: a11y hack returns CCA segments + UI...
2. Opt-in: a11y hack <grap> --ocr enables OcrWo...
3. HackWorkerContext gains CheckpointFocus dele...
4. VisionWorker wraps AskGemini call with ctx.C...
5. For text extraction without hack use a11y oc...