Integrated: 8348936: [Accessibility, macOS, VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS

Abhishek Kumar abhiscxk at openjdk.org
Thu Feb 20 09:21:00 UTC 2025


On Tue, 4 Feb 2025 10:58:20 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

> VoiceOver doesn't announce the _untick state_ when Checkbox is `deselected` using **space** key. When CheckBox is deselected, the state change is not notified to a11y client (VoiceOver) and so the state is not announced by VO. 
> 
> Screen Magnifier is also unable to magnify the unchecked state of JCheckBox due to same reason and is captured as separate bug [JDK-8345728](https://bugs.openjdk.org/browse/JDK-8345728).
> 
> Proposed fix is to send the state change notification to a11y client when checkbox is deselected, this resolves the problem for VoiceOver and Screen Magnifier.
> 
> Similar issue observed for JToggleButton. So, I extended the fix for JToggleButton as well.
> 
> The proposed change can be verified the manual test in the PR.
> 
> CI pipeline testing is `OK`, link posted in JBS.

This pull request has now been integrated.

Changeset: 1e87ff01
Author:    Abhishek Kumar <abhiscxk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1e87ff01994df16df7de331040fc5d7a4a85f630
Stats:     133 lines in 2 files changed: 130 ins; 0 del; 3 mod

8348936: [Accessibility,macOS,VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS
8345728: [Accessibility,macOS,Screen Magnifier]: JCheckbox unchecked state does not magnify but works for checked state

Reviewed-by: aivanov, kizune, dnguyen, asemenov

-------------

PR: https://git.openjdk.org/jdk/pull/23436


More information about the client-libs-dev mailing list