Silence over empty space sounded like a broken screen reader to testers, so
exploring empty space, an unnamed container with no text, or no window at all
now says "Blank" once, until the finger reaches something again.
A finger that slides off one application into another, or onto the desktop,
had no way to know it had left. Crossing into another window now says that
window's title first, once per crossing. The title comes from the nearest
titled ancestor, because the window under a point can be an untitled inner
window; the native window locator test checks this with xterm.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A blind user can now run the desktop with the touch screen as the only
input, in the style of TalkBack, VoiceOver and NVDA touch. It is off by
default: "Use the touch screen with gestures" in preferences, the
"Touch screen" quick setting, or Cthulhu+Ctrl+Alt+T (toggle-touch-screen).
Input: internal/platform/evdev reads the touch screen from the Linux input
layer in pure Go and grabs it with EVIOCGRAB while touch is on, so no other
program sees touches until it is turned off. It needs read access to
/dev/input (the input group, as Fenrir already needs); Cthulhu never uses
sudo. internal/touch recognizes taps, double and triple taps, holds, double
tap and hold, flicks, two finger rotation and up to ten fingers.
Gestures send Cthulhu's keyboard commands through the normal command
dispatch. Modes, chosen with a three finger tap, each have their own rotor:
navigation (default: items, then scroll, windows, workspaces or
notifications), text (lines, words, characters), browse (page order, then
element types; entered automatically on web pages), object (tree) and
speech settings. Exploring speaks what is under the finger and moves object
review there; double tap activates. docs/touch-support.md has the full
gesture table, design, testing notes and open issues.
Supporting changes:
- Object review gains next and previous item in reading order, skipping
unnamed containers, and object-activate, which runs the default action of
the object of interest. Its results no longer need a known focus, because
a touch user may never produce a focus event.
- browserModeController exposes Browsing for other goroutines.
- internal/i3command sends i3 commands; internal/i3ipc stays observe-only.
- X11 helpers find the client under a point and send XTest clicks and keys.
The window lookup releases the X11 guard before the XRes fallback, which
takes the guard itself; a native test reproduces the old deadlock.
- Mouse review stays quiet for one second after touch input.
Tested live on a Lenovo Yoga 7 2-in-1 14AKP10 (Wacom HID 53FC, ten touch
points) under i3, MATE and in Brave, Thunar and GTK dialogs. Not yet
handled: the lock screen, rotation and multiple monitors, pass-through, and
touch typing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mouse review and touch exploration ask AT-SPI for the object at a point.
Some providers stop at a container: Chromium at tables, so cells were never
reached, and GTK notebooks report a page tab as only its label, so a page
such as the Thunar file view was never reached either.
When the provider returns nothing deeper, ask the children directly for the
smallest one containing the point, then search up to three levels below,
bounded at 512 children per object and 1024 objects in all.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- GPUI via AccessKit publishes frame extents of -1 and gives the
frame's root child window-local bounds at 0,0, so every GPUI
window failed foreground geometry correlation and all of its
events were ignored as background: total silence under a reader
that otherwise received a complete, well-formed tree.
- foregroundBounds keeps a valid frame rectangle and only falls
back to the root child's, which must still pass the existing
same-process, exact-client-size unpositioned-window rule.
- Factor the Component extents query into accessibleScreenExtents
shared by the frame and root-child lookups.
- Verified with GPUI's a11y example (crates/gpui/examples/a11y.rs)
in a private Xvfb/i3 session: focus, value, name, and pressed
announcements all spoken; foreground test suite passes.
Adopt screenreader-common v0.9.0 for in-place retuning and restore the complete effective speech configuration when retuning and fallback replacement fail. Add interruption diagnostics and require the retune and recovery regressions in the speech push gate.
Use common date/time formatting, locale voice selection, tone synthesis, phonetic spelling, and hardware command encoding. DECtalk now follows the common Fenrir mapping and command filtering; legacy saved settings are converted at the boundary.
Validated affected race-enabled tests and standalone builds with GOWORK=off against the published module. Common PCM hashes, serial cancellation, no-CGO datetime, and speech regression checks passed. Physical hardware, audible synthesis, keyboard, and braille remain separate live checks.
Move SSIP transport and protocol tests to screenreader-common. Recover both channels and voice settings for fresh speech after a daemon restart.
Validated race-enabled speech, preferences, and application speech tests and the standalone build with GOWORK=off. Physical keyboard, audible speech, and braille acceptance remain separate live checks.
Validate attached panel menus through fresh showing state and selected menu ancestors, and recognize explicit GTK menu focus without a FOCUSED state. Preserve X11 foreground ownership and reject stale menu focus and actions after dismissal.
Add native ownership and speech/braille regressions covering desktop, bottom panel, top panel, editor, reopening, submenus, and impostor rejection.
Validation: targeted native race tests, AT-SPI race suite, normal app suite, required speech regression check, build, vet, and parity ledger passed. The broader app race run exceeded its three-minute limit while compressing a Tentacle fixture. golangci-lint is unavailable; live MATE speech and physical braille acceptance remain pending.
Configure golangci-lint v2 for the whole tree (brlapi/duckdb build tags, curated linters, documented exclusions) and resolve what it reports: dead code, wrapped-error comparisons and %w wrapping, unclosed websocket handshake bodies, staticcheck SA/S items, ineffectual assignments, and explicit _ = discards for best-effort teardown errors. Document the gate in CONTRIBUTING and AGENTS.
New --debug-db flag writes the redacted debug record stream to a DuckDB database alongside or instead of the NDJSON --debug-file. Frequent type-stable attributes are promoted to typed columns; the complete record remains in attrs JSON. libduckdb is dlopen'ed at runtime (build tag duckdb, Arch optdepends) so the reader runs unchanged without it. v1 databases upgrade in place on append.