webui: Gauge aria-label announces the unrounded percentage #1137

Closed
opened 2026-10-27 13:39:10 +00:00 by sam · 0 comments
Owner

base/gauge.jsx:35 builds aria-label={${label}: ${pct}%} from the raw value while the
visible text uses Math.round(pct). A screen reader announces
"pass rate: 58.333333333333336%".

Expected

Round in the label the same way the visible value is rounded.

Close reason

Closed on GitHub; syncing bead state


Imported from beads archie-core-86au · GitHub #983 · type bug · priority P2 · created 2026-09-20 · closed 2026-09-26

`base/gauge.jsx:35` builds `aria-label={`${label}: ${pct}%`}` from the raw value while the visible text uses `Math.round(pct)`. A screen reader announces "pass rate: 58.333333333333336%". ### Expected Round in the label the same way the visible value is rounded. ### Close reason Closed on GitHub; syncing bead state --- _Imported from beads `archie-core-86au` · GitHub #983 · type bug · priority P2 · created 2026-09-20 · closed 2026-09-26_
sam added the mediumbug labels 2026-10-27 13:39:10 +00:00
sam self-assigned this 2026-10-27 13:39:10 +00:00
sam closed this issue 2026-10-27 13:39:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1137