detached 78dc04f

docs(config): describe accessibility hint targets

commit
78dc04f03cf7dd7711b62b15971bf8290f075dbe
author
brice · · 2026-10-19 12:49 UTC
parent
2c13a99
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +3 -2
M docs/config.md +3 -2
@@ -300,16 +300,17 @@ Otherwise, left from the first column unfolds the stash. Up/down walk the cards,
300300
301301 ### Hint mode
302302
303-`hint` labels the links, URLs and buttons visible on the focused screen, so you can click one from the keyboard. No bind is set by default; for example `bind.cmd+g = hint`.
303+`hint` labels the links, URLs and buttons visible on the focused screen, so you can click one from the keyboard. Targets come from the accessibility tree when the app exposes it, and from the pixels of the screen otherwise. No bind is set by default; for example `bind.cmd+g = hint`.
304304
305305 - Each target gets a label of lowercase letters. With up to 26 targets the labels are one letter, with more they are two.
306306 - Type a label to click its target: the pointer moves to the center of the target and presses the left button. With two-letter labels, the labels that do not match what you typed disappear and the typed letters are dimmed.
307307 - `BackSpace` removes the last typed letter. `Escape` cancels, and so does any other key, which no window receives.
308308 - Only the visible area of windows is scanned: a target covered by another window or outside the screen has no label. Targets on other screens are not labeled.
309+- A window whose app exposes its accessibility tree gets exactly the links and controls the app reports; the other windows are scanned from pixels. NeferWL turns accessibility on when it starts. GTK apps and Firefox work once it is on. Chromium and Electron apps need `--force-renderer-accessibility` (some Electron apps need `ACCESSIBILITY_ENABLED=1` instead), and Qt apps need `QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1`. Without the accessibility bus, every window is scanned from pixels.
309310 - `hint.targets = links` labels links and URLs only, not buttons.
310311 - `hint` does nothing while the session is locked, on a rotated or flipped screen, while the overview is open, while a pointer button, drag or pointer constraint is active, or while hint mode is already active. Hint mode ends when the workspace on that screen changes or the overview opens.
311312 - No capture indicator appears: the scan happens inside NeferWL and no client receives the pixels. Screen captures do not contain the labels.
312313
313314 #### Debugging hint mode
314315
315-With `NEFERWL_HINT_DEBUG=1` set when NeferWL starts (for example `NEFERWL_HINT_DEBUG=1 make tty`, or the variable in the launch environment), every successful scan writes three files to `$XDG_STATE_HOME/neferwl/hints/` (`~/.local/state/neferwl/hints/` when unset): `<time>-<output>.png`, the frame as scanned; `<time>-<output>.annotated.png`, the same with each target outlined (links green, buttons blue, text grey); and `<time>-<output>.json`, the targets and timings. NeferWL keeps the 50 most recent scans and logs a warning at startup. The files contain the screen in clear: delete them after use.
316+With `NEFERWL_HINT_DEBUG=1` set when NeferWL starts (for example `NEFERWL_HINT_DEBUG=1 make tty`, or the variable in the launch environment), every successful scan writes three files to `$XDG_STATE_HOME/neferwl/hints/` (`~/.local/state/neferwl/hints/` when unset): `<time>-<output>.png`, the frame as scanned; `<time>-<output>.annotated.png`, the same with each target outlined (links green, buttons blue, text grey, targets from the accessibility tree magenta); and `<time>-<output>.json`, the targets (with their `source`, `atspi` or `pixels`) and timings. NeferWL keeps the 50 most recent scans and logs a warning at startup. The files contain the screen in clear: delete them after use.
@@ -300,16 +300,17 @@ Otherwise, left from the first column unfolds the stash. Up/down walk the cards,
300 300
301 ### Hint mode301 ### Hint mode
302 302
303-`hint` labels the links, URLs and buttons visible on the focused screen, so you can click one from the keyboard. No bind is set by default; for example `bind.cmd+g = hint`.303+`hint` labels the links, URLs and buttons visible on the focused screen, so you can click one from the keyboard. Targets come from the accessibility tree when the app exposes it, and from the pixels of the screen otherwise. No bind is set by default; for example `bind.cmd+g = hint`.
304 304
305 - Each target gets a label of lowercase letters. With up to 26 targets the labels are one letter, with more they are two.305 - Each target gets a label of lowercase letters. With up to 26 targets the labels are one letter, with more they are two.
306 - Type a label to click its target: the pointer moves to the center of the target and presses the left button. With two-letter labels, the labels that do not match what you typed disappear and the typed letters are dimmed.306 - Type a label to click its target: the pointer moves to the center of the target and presses the left button. With two-letter labels, the labels that do not match what you typed disappear and the typed letters are dimmed.
307 - `BackSpace` removes the last typed letter. `Escape` cancels, and so does any other key, which no window receives.307 - `BackSpace` removes the last typed letter. `Escape` cancels, and so does any other key, which no window receives.
308 - Only the visible area of windows is scanned: a target covered by another window or outside the screen has no label. Targets on other screens are not labeled.308 - Only the visible area of windows is scanned: a target covered by another window or outside the screen has no label. Targets on other screens are not labeled.
309+- A window whose app exposes its accessibility tree gets exactly the links and controls the app reports; the other windows are scanned from pixels. NeferWL turns accessibility on when it starts. GTK apps and Firefox work once it is on. Chromium and Electron apps need `--force-renderer-accessibility` (some Electron apps need `ACCESSIBILITY_ENABLED=1` instead), and Qt apps need `QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1`. Without the accessibility bus, every window is scanned from pixels.
309 - `hint.targets = links` labels links and URLs only, not buttons.310 - `hint.targets = links` labels links and URLs only, not buttons.
310 - `hint` does nothing while the session is locked, on a rotated or flipped screen, while the overview is open, while a pointer button, drag or pointer constraint is active, or while hint mode is already active. Hint mode ends when the workspace on that screen changes or the overview opens.311 - `hint` does nothing while the session is locked, on a rotated or flipped screen, while the overview is open, while a pointer button, drag or pointer constraint is active, or while hint mode is already active. Hint mode ends when the workspace on that screen changes or the overview opens.
311 - No capture indicator appears: the scan happens inside NeferWL and no client receives the pixels. Screen captures do not contain the labels.312 - No capture indicator appears: the scan happens inside NeferWL and no client receives the pixels. Screen captures do not contain the labels.
312 313
313 #### Debugging hint mode314 #### Debugging hint mode
314 315
315-With `NEFERWL_HINT_DEBUG=1` set when NeferWL starts (for example `NEFERWL_HINT_DEBUG=1 make tty`, or the variable in the launch environment), every successful scan writes three files to `$XDG_STATE_HOME/neferwl/hints/` (`~/.local/state/neferwl/hints/` when unset): `<time>-<output>.png`, the frame as scanned; `<time>-<output>.annotated.png`, the same with each target outlined (links green, buttons blue, text grey); and `<time>-<output>.json`, the targets and timings. NeferWL keeps the 50 most recent scans and logs a warning at startup. The files contain the screen in clear: delete them after use.316+With `NEFERWL_HINT_DEBUG=1` set when NeferWL starts (for example `NEFERWL_HINT_DEBUG=1 make tty`, or the variable in the launch environment), every successful scan writes three files to `$XDG_STATE_HOME/neferwl/hints/` (`~/.local/state/neferwl/hints/` when unset): `<time>-<output>.png`, the frame as scanned; `<time>-<output>.annotated.png`, the same with each target outlined (links green, buttons blue, text grey, targets from the accessibility tree magenta); and `<time>-<output>.json`, the targets (with their `source`, `atspi` or `pixels`) and timings. NeferWL keeps the 50 most recent scans and logs a warning at startup. The files contain the screen in clear: delete them after use.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 26

Tags 10

↑↓ moveenter openesc close