[Bug]: A text box's suggestion list tells a screen reader nothing about the highlighted entry
Maintainers usually reply within 1 day
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
- Domain
- accessibility, desktop
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
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
- Turn on a screen reader (Orca, NVDA, VoiceOver).
- In the Script pane, put the cursor on an empty line and press Ctrl+Space.
- Press ↓ a few times.
- 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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opengeos/RustGIS
-
[Bug]: layer.move to the place a layer already has fails and stops a script; with several layers it leaves an empty undo stepPossibly taken @jgregoriorincon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opengeos/RustGIS#2621 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
opengeos/RustGIS#1446 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Maintainers usually reply within 1 day
All issues in opengeos/RustGIS
Similar issues
-
文件夹重大BUG:不支持重命名Open
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
postgresql-rules / queue-rules: implicit KEY SHARE before a parent key update, and job self-overlapOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jonathanong/no-mistakes#3879 ·
Maintainers usually reply within 1 day
-
area:index v0.35.0
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pbakaus/impeccable#1653 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
nautechsystems/nautilus_trader#5741 ·
Maintainers usually reply within 1 day