Deferred indefinitely: UI Automation text pattern for screen readers

Aberta
#8 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
10/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Estagnada
Stack de tecnologia
csharp

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
C#
Estrelas
0
Forks
0
Merge médio
1h 43min
PRs com merge (30d)
43

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sillsdev/SIL.TextEditing

Todas as issues de sillsdev/SIL.TextEditing

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.