[Bug]: A text box's suggestion list tells a screen reader nothing about the highlighted entry

Open
#2,619 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@jgregoriorincon is already working on this.

Since Nov 21, 2026.

  • #2654 by @jgregoriorincon — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust

Research direction

The gap is in List::show in completion.rs, which passes |_| None to rows. Start by reading how the Functions and Variables menus supply describe for their rows, then check how List::show builds its rows. Done means that moving the highlight with ↑/↓ in a text box's open list makes a screen reader announce the entry and its short help, while focus stays in the box. Verify by hand with a screen reader, since the payload names no automated test.

Written by the indexing model from the issue text.

Description

unconfirmed possible issue
Before you start
  • I searched the existing issues and did not find a duplicate.
  • This is a bug report, not a usage question (questions belong in Discussions).
What happened?

The Functions ▾ and Variables ▾ menus give each row a description for a screen reader (menu's describe). A text box's own suggestion list doesn't: List::show passes |_| None to rows (completion.rs). Its focus stays on the box while ↑/↓ move the highlight, so a screen reader announces neither the highlighted entry nor its help. Someone using one can open the list (Ctrl+Space in the Script pane, typing in an expression box) but can't tell what Enter will insert.

Steps to reproduce
  1. Turn on a screen reader (Orca, NVDA, VoiceOver).
  2. In the Script pane, put the cursor on an empty line and press Ctrl+Space.
  3. Press ↓ a few times.
  4. The reader says nothing about the entry highlighted or its help; the visible help card changes.

Also in any expression box (Select By Attributes, Calculate Field) while typing a function name.

Expected behavior

While the box has the focus and a list is open, the screen reader hears the highlighted entry and a short form of its help (what the help card shows) each time the highlight moves, as it does for a menu's rows. The focus stays in the box, so typing goes on as now.

How are you running RustGIS?

Desktop app built from source

Version

76a6f33b

Operating system, browser and graphics

Any; found testing #2343.

Sample data

Not needed.

Screenshots or logs

No response

Dominant language
Rust
Stars
1.9k
Forks
268
Avg merge
11h 1m
Merged PRs (30d)
942

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from opengeos/RustGIS

All issues in opengeos/RustGIS

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.