JDK-8348936 : [Accessibility,macOS,VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.accessibility
  • Affected Version: 8,11,21,23,24,25
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-01-29
  • Updated: 2025-03-10
  • Resolved: 2025-02-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 21 JDK 24 JDK 25
11.0.28-oracleFixed 17.0.16-oracleFixed 21.0.8-oracleFixed 24.0.2Fixed 25 b12Fixed
Related Reports
Relates :  
Description
Test Type: Accessibility
Tested With: SwingSet2.jar
Products Tested: jdk-8u451 b02, jdk-11.0.27 b01, jdk-17.0.9 b09, jdk-21.0.7 b03, 24.0.1 b02, JDK 25 b07

Steps to reproduce:
1. Run SwingSet2.jar
2. Go to checkbox demo
3. Turn on VoiceOver.
4. Navigate the focus on checkbox using tab key.
5. Press only "space" key: It will also tick or untick the checkbox, but VoiceOver announces the tick only, and it does NOT announce the untick.

Expectation: VoiceOver should announce both tick and untick.

Also tested the native macOS checkbox: on toggling the native checkbox using space key it announces both tick and untick, Java checkbox should also announce the same.

Note: Only with jdk-17.0.9 b09 it announces both tick and untick, for rest all the releases it announces tick only.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/3325 Date: 2025-03-05 13:28:31 +0000
08-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1450 Date: 2025-03-05 13:28:00 +0000
08-03-2025

Fix request [17u,21u] I backport this for parity with 17.0.16-oracle,21.0.8-oracle. No risk, only a test change Clean backport. Test passes on mac. SAP nightly testing passed.
08-03-2025

[jdk24u-fix-request] Clean backport to enable VoiceOver announcement for CheckBox unchecked state when toggled by space key. The current implementation doesn't support the VO announcement for CheckBox unchecked state.
21-02-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk24u/pull/85 Date: 2025-02-21 05:07:33 +0000
21-02-2025

Changeset: 1e87ff01 Branch: master Author: Abhishek Kumar <abhiscxk@openjdk.org> Date: 2025-02-20 09:17:40 +0000 URL: https://git.openjdk.org/jdk/commit/1e87ff01994df16df7de331040fc5d7a4a85f630
20-02-2025

[~aivanov] [~aivanov] Recently SQE team started updating the summary of VPAT bugs with this meta tags. I think it is consistent with all other bug summary. >Does it make sense to add ‘ voiceover’ label? Yeah, it can be added as the other two meta tags are part of labels.
05-02-2025

It makes sense
04-02-2025

Do we need three meta tags—[Accessibility,macOS,VoiceOver]—in the subject of the bug? Both ‘accessibility’ and ‘macOS’ are also used in labels, thus the meta information in the subject duplicates the additional info added by labels. Moreover, ‘macOS’ is in the subject of the bug twice: in the brackets and in the end. Does it make sense to add ‘voiceover’ label?
04-02-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/23436 Date: 2025-02-04 10:58:20 +0000
04-02-2025

Able to reproduce the isssue on macOS 15.1.1 with mainline JDK. If VO is able to announce the checked state, it should announce the unchecked state as well. This seems an issue in Java Side. Initially spotted the behaviour in JDK-8345728 I agree that there is a difference between native apps and Java application behaviour.
30-01-2025