Recover browser list selection on ticking pages
This commit is contained in:
1 parent
ac7f7acc43
commit
0d5a5f7ac1
4 files changed
+228
-29
No files matched your search
@@ -46,7 +46,11 @@ The native document capture limit also bounds lists. Core navigation lists can
|
||||
contain more than 256 items; external Tentacle forms retain their existing
|
||||
256-item limit. List selections retain exact accessible references and page
|
||||
ownership, so removed targets, replaced documents and changed focus cannot
|
||||
select a different item. A changed page can require reopening the list.
|
||||
select a different item. If a ticking page invalidates accessible semantics
|
||||
while the list is open, selection may refresh the same retained tree up to
|
||||
twice and retry only that exact generation-checked reference; it never
|
||||
re-finds an item by label, path or position. A changed page can require
|
||||
reopening the list.
|
||||
|
||||
Automated checks:
|
||||
|
||||
@@ -62,6 +66,10 @@ empty image list with actual X11 grabs and AT-SPI data. These checks inspect
|
||||
speech requests and synthetic input. They do not establish audible speech or
|
||||
physical keyboard/Braille behavior.
|
||||
|
||||
Go regressions also cover exact-target selection after a ticking semantic
|
||||
refresh, the two-recapture bound, and rejection when recapture returns a
|
||||
different tree.
|
||||
|
||||
Before submission, review the diff and test the rebuilt reader on a real page:
|
||||
|
||||
1. Open links with Alt+Shift+K. Move with arrows, type a name, select
|
||||
|
||||
@@ -44,6 +44,11 @@ focus anchor so recapture itself failed with `ErrObjectNotFound` forever.
|
||||
one batch (one sync, capture cycle, placement and result, full step
|
||||
count). Caret steps are excluded: queued character/word/line steps keep
|
||||
their own ordered results.
|
||||
- Browser-list selection keeps its exact generation-checked reference, but
|
||||
bounded same-tree recapture (at most two refreshes) now retries when a
|
||||
tick invalidates semantics while the list is open. A different captured
|
||||
tree, a removed or reused target, focus changes, and page reloads still
|
||||
reject the selection instead of substituting another item.
|
||||
|
||||
## Caret validation on ticking text
|
||||
|
||||
|
||||
Reference in new issue
Block a user