Deferred indefinitely: UI Automation text pattern for screen readers

Offen
#8 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
10/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
csharp

Rechercherichtung

The issue says work is deferred indefinitely and should resume only if the owner reopens it. If reopened, read the spike report at ~/work/gdr-design-20261102/reports/r6-uia-textpattern.md and inspect RichTextField's NativeControlHost approach; the spike code is at /mnt/h/spikes/uia-20261103/, both local to the author's machine. The described route was prototyped, but focus handoff, text and selection events, mouse pass-through, and the net10 apphost manifest remain risks.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

deferred

Narrator and NVDA read caret, selection, words and lines through UIA's text pattern (ITextProvider/ITextRangeProvider). Legacy FieldWorks never shipped one: Views is MSAA-only and its UIA provider is commented out (FWR-2874). So ADR 0017 sets the field's bar at FieldWorks' current level: name, role, value, state and bounds.

Deferred indefinitely by the owner, 2026-11-03.

What a spike found (2026-11-03)
  • Avalonia 11.3.17 and 12.1.2 have no text-pattern extension point. AutomationNode.GetPatternProvider is a fixed switch with no Text case. Upstream PRs #20890 and #21988 were closed unmerged.
  • Working route: RichTextField hosts an invisible child HWND through the public NativeControlHost. That window's WM_GETOBJECT returns our own providers. A spike proved DocumentRange.GetText, selection and word moves from an out-of-process UIA client on both versions.
  • Estimate: 2–3 weeks.
  • Risks:
    • the element can appear twice in the tree;
    • focus handoff to Narrator and NVDA, untested;
    • text and selection events;
    • mouse pass-through (HTTRANSPARENT);
    • the net10 apphost needs a supportedOS manifest.
  • Alternatives: patch Avalonia (3–4 weeks, two forked builds), or MSAA text, which gives too little.
  • Spike code and report: /mnt/h/spikes/uia-20261103/, ~/work/gdr-design-20261102/reports/r6-uia-textpattern.md (local to the author's machine).

Next: none until the owner reopens it.

🤖 Generated with Claude Code

Vorherrschende Sprache
C#
Sterne
0
Forks
0
Ø Merge
1 Std. 43 Min.
Gemergte PRs (30 T.)
43

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sillsdev/SIL.TextEditing

Alle Issues in sillsdev/SIL.TextEditing

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.