The fix in 85c436d (Fix accessible label of checkboxes broken by
recent changes, 2026-03-06) made wxWindowAccessible::GetName() return
GetLabel() for all controls. However, GetLabel() returns the raw label
including '&' accelerator markers (e.g. "&Minimize to system tray"),
causing screen readers to announce the literal ampersand.
Fix this by passing the label through wxControl::GetLabelText(), which
strips accelerator markers, guarded by wxUSE_CONTROLS for configurations
that don't include controls.
See #26270.
https://github.com/wxWidgets/wxWidgets/pull/26275
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@vadz pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Ah, that's much smarter, thanks @vadz
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()