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

Aperta Adatta ai principianti
#2,960 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@jgregoriorincon ci sta già lavorando.

Dal 25/11/2026.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
62/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

L'indicatore è tool_indicator in ribbon.rs intorno alla riga 263; confrontalo con i controlli etichettati in ribbon.rs:315 e mapview.rs:4842 per vedere come chiamano widget_info. Assegna al rettangolo cliccabile il ruolo button e il testo dell'indicatore come nome, mantenendo il clic esistente che interrompe lo strumento. È completato quando un test trova il nodo tramite quell'etichetta, lo attiva e verifica che Explore torni attivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Rust
Stelle
1.9k
Fork
268
Merge medio
8h 43m
PR unite (30g)
931

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opengeos/RustGIS

Tutte le issue di opengeos/RustGIS

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.