[Bug]: The ribbon's "tool active · Esc to stop" indicator is invisible to screen readers

Open Beginner friendly
#2,960 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@jgregoriorincon is already working on this.

Since Nov 25, 2026.

Assessment

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

Research direction

The indicator is tool_indicator in ribbon.rs around line 263; compare it with the labelled controls at ribbon.rs:315 and mapview.rs:4842 to see how they call widget_info. Give the clickable rectangle a button role and the indicator's text as its name, keeping the existing click that stops the tool. Done when a test finds the node by that label, activates it, and sees Explore active again.

Written by the indexing model from the issue text.

Description

bug
Before you start
  • I searched the existing issues and did not find a duplicate.
  • This is a bug report, not a usage question.
What happened?

When a tool other than Explore is active, the ribbon's tab strip shows a pill reading " tool active · Esc to stop" (tool_indicator, ribbon.rs:263). It is painted text over a clickable rectangle (allocate_exact_size(…, Sense::click())), and clicking it stops the tool, but it has no widget_info: the screen reader gets a node with no role or name, and nothing says that it can be activated. The other painted ribbon controls and the map tabs name themselves (ribbon.rs:315, mapview.rs:4842). No test sees the indicator.

Steps to reproduce
  1. Turn on a screen reader and pick a tool such as Measure.
  2. Move through the ribbon's tab strip.
  3. The pill is not announced.
Expected behavior

A button named with the indicator's text, which stops the tool when activated, and a test that finds it by its label, activates it and sees Explore again.

How are you running RustGIS?

Desktop app (built from source)

Version

main at the commit the PR starts from

Operating system, browser and graphics

Linux (Fedora), any.

Sample data

No response

Screenshots or logs

No response

Dominant language
Rust
Stars
1.9k
Forks
268
Avg merge
8h 43m
Merged PRs (30d)
931

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.