Skip to content

fix: Add punctuation to live region announcements#9817

Open
mikeharv wants to merge 2 commits intoRaspberryPiFoundation:v13from
mikeharv:announcement-punctuation
Open

fix: Add punctuation to live region announcements#9817
mikeharv wants to merge 2 commits intoRaspberryPiFoundation:v13from
mikeharv:announcement-punctuation

Conversation

@mikeharv
Copy link
Copy Markdown
Contributor

@mikeharv mikeharv commented May 5, 2026

The basics

The details

Resolves

Fixes #9801

Proposed Changes

This adds punctation and capital letters where needed to Toast text and ARIA live region announcement messages. This makes things more readable, especially when multiple messages are coalesced.

image

Reason for Changes

The aria-live region now coalesces messages together when required, however, the messages lack punctuation, and when they are concatenated, the screen outputs one long sentence with varying levels of sense.

Example: "moving on workspace" is appended to the move mode hint but no full stop separates these two distinct sentences so they are no longer distinct.

(Without changes...)
Image

Test Coverage

Tests that expect exact string literals were also updated accordingly.

@mikeharv mikeharv requested a review from a team as a code owner May 5, 2026 20:17
@mikeharv mikeharv requested a review from maribethb May 5, 2026 20:17
@mikeharv mikeharv changed the title Fix: Add punctuation to live region announcements fix: Add punctuation to live region announcements May 5, 2026
@github-actions github-actions Bot added the PR: fix Fixes a bug label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants