Adopt three current Orca web behaviors:
- A native <summary> no longer forces focus mode, so its expanded
details can be read without switching back (Orca issue #543). ARIA
disclosure buttons keep focus mode.
- A focusable separator is a splitter and uses focus mode so arrow keys
resize the panes. Static separators stay in browse mode.
- Checkable tree items present checked, not checked or partially
checked on focus and on state change (Orca issue #777).
The web-widgets native proof records Chromium's exposure of each widget.
Verified live in Brave with tests/browser-web-widgets.html.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When a page removed the focused object before any navigation adopted it
(Steam's loading spinner after a popup closes), every browse key failed
with "Could not find current location" until focus moved natively. The
dead focus was never a saved place, so the existing anchor fallback did
not apply. Recapture through the most recent retained documents of the
same provider (at most two) and keep that document's reading place.
Document start and end now choose again once when their target died
before placement; they are idempotent, unlike relative moves.
Verified live in Steam Big Picture and ChatGPT.
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>
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.
Attach incoming software speech to reader sessions with lease checks, local output priority and isolated cancellation. Preserve every document fragment source for privacy checks and export reviewed browse current-line reading, spelling and phonetic output.
Verified focused reading and Remote race tests, complete review and external Remote race suites, private relay integration, speech regressions, affected-package vet, reader build and Tentacles make check. Audible speech, physical input/Braille and live interoperability remain unverified.
Keep failed cursor trials and native recapture anchored to the original document, and restore the requested cached root before LRU eviction. Base braille retry resets on established connection time rather than stalled startup. Poll private AT-SPI daemon ownership without triggering service activation and clean up partial startup failures. Add focused regressions and update browser testing notes.
Recreated-node caret recovery, tolerant caret validation, per-root retained document trees and cursors across tab switches, document warm-up, coalesced structural moves, and hung-provider fast-fail with an 'Application is not responding' announcement.
Bring the fragmented-line browser fixture into agreement with current browse
navigation. Rich editors are read through their text descendants, so Down from
the preceding heading must read "Review the code." directly. Remove the stale
empty editor-control stop while retaining forward and reverse line navigation,
character and word movement, Read All, and inline Braille-routing assertions.
Fix Firefox's missing announcement when creating a second tab. Firefox can emit
selection events before the new tab enters its accessible child list, causing
the native selected-child lookup to return nothing. Use the subsequent
child-added event only when its target is a live, freshly selected browser-chrome
tab with the emitting tab list as its direct parent. Keep document-authored tabs
and unselected background additions excluded, retain foreground filtering and
tab-identity deduplication, and release native references on the GLib owner.
Normalize child-added origin suffixes such as :system before event dispatch,
preserving the original native type in diagnostics. Rename the shared mutation
normalizer to reflect its expanded scope and update its callers, including the
Pidgin insertion check. Extend the normalization regression to cover child
additions and reject unrelated event names. Firefox keeps its normal animations
and all existing tab-announcement and address-editing assertions.
Make private-session teardown tolerate the document portal's asynchronous FUSE
unmount after D-Bus exits. Retry only ENOTCONN and EBUSY cleanup failures for at
most five seconds. Keep unrelated errors and persistent mount failures visible.
Add regressions for transient teardown, preservation of a failing child's exit
status, unrelated cleanup errors, and the cleanup deadline. Runtime directories
and accessibility buses remain private, with no init-system dependency.
Update browser verification notes and the parity ledger with the fixes, evidence,
regression risks, and concrete live acceptance procedures.
Validation:
- All 33 Chromium browser proofs passed in the final combined run.
- Firefox baseline and tab checks passed repeatedly with normal animations.
- All eight private-session isolation and cleanup regressions passed.
- AT-SPI, app, and review package race suites passed during development; focused
race regressions passed again after the final event-normalization change.
- Go vet passed for internal/atspi, internal/app, and internal/review.
- A separate reader binary built successfully.
- Parity-ledger validation passed for 75 rows; git diff --check passed.
Expanding embedded-object placeholders changes the displayed braille text
without changing native AT-SPI offsets. Several consumers still validated
native positions against the expanded string, which could reject a valid
line end after contraction, accept an offset beyond the native line after
expansion, or drop selection and text-attribute indicators on a plain-text
fragment following an embedded object.
Use RawText for native-offset validation and fragment comparisons whenever
a braille line is expanded. Apply the same rule to parent/child native-caret
handoff: identical displayed text must not authorize an offset transfer
when the underlying native strings differ. Expanded spans retain their
existing conservative presentation without native cell routes.
Restrict the assembled-line displayed-text fallback to lines from which
embedded-object placeholders were actually removed. Ordinary whitespace-only
lines now retain their spaces, cursor position, and native routing instead
of being replaced with the object's text or accessible name.
Add regressions for contracted and expanded native offset bounds, suffix
selection and attribute preservation, immutable line enrichment, ambiguous
caret transfer, and whitespace-only line routing. The regressions reproduced
the review findings before the fixes and pass afterward.
Validation:
- Full Go suite before fixes; full race and BrlAPI suites after fixes.
- Focused Braille and native-caret regressions, including race checks.
- go vet ./...; reader and BrlAPI helper builds; parity-ledger validation.
- Private Chromium linked-heading, selection, and browse-mode checks.
- Private Firefox baseline and linked-heading checks.
- git diff --check.
The Chromium fragment harness still fails its embedded-editor navigation
step, and the Firefox harness still times out in its New Tab test. Both
failures reproduce on the parent of the reviewed commit, 8ce5e5c, as well.
These failures are not claimed as passing checks.
The active reader was not replaced. Physical keyboard, audible speech, and
Braille acceptance remain for maintainer testing: check linked headings,
mixed inline-link text, selection indicators after links, and ordinary or
blank-line cursor routing in both browser families before submission.