The streak badge carries an accessible name only on the home screen (home.ts:39 sets aria-label "Streak: N days") #5

Open
opened 2026-12-02 14:26:35 -05:00 by cmoriarty · 0 comments
Owner

What happens: The streak badge carries an accessible name only on the home screen (home.ts:39 sets aria-label "Streak: N days"); on the quiz and results headers it is a bare emoji run, so a screen reader there reads just the number with nothing to say what it is.

Where: src/ui/quiz.ts:99 and src/ui/results.ts:163 (streak-badge spans)

How it was seen:

  • Checked against git show HEAD while reviewing the header rework: both screens shipped the badge without the label before this change, and this change did not touch those lines.

Found by Braid's run run_01M8VWVBDV6PB8SKYB2ABCPV7J, outside the work it was doing.

**What happens:** The streak badge carries an accessible name only on the home screen (home.ts:39 sets aria-label "Streak: N days"); on the quiz and results headers it is a bare emoji run, so a screen reader there reads just the number with nothing to say what it is. **Where:** src/ui/quiz.ts:99 and src/ui/results.ts:163 (streak-badge spans) **How it was seen:** - Checked against git show HEAD while reviewing the header rework: both screens shipped the badge without the label before this change, and this change did not touch those lines. Found by Braid's run `run_01M8VWVBDV6PB8SKYB2ABCPV7J`, outside the work it was doing.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
braid-testing/flash-leaf#5
No description provided.