-
Bug
-
Resolution: Fixed
-
P2
-
21
-
b04
-
generic
-
os_x
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8311337 | 21.0.1 | Alexander Zuev | P2 | Resolved | Fixed | b02 |
JDK-8310824 | 21 | Alexander Zuev | P2 | Closed | Fixed | b29 |
JDK-8344195 | 17.0.15-oracle | Renjith Kannath Pariyangad | P2 | Closed | Fixed | b01 |
JDK-8322281 | 17.0.11 | Goetz Lindenmaier | P2 | Resolved | Fixed | b01 |
JDK-8346188 | 11.0.27-oracle | Renjith Kannath Pariyangad | P2 | Closed | Fixed | b01 |
JDK-8347639 | 8u451 | Renjith Kannath Pariyangad | P2 | Closed | Fixed | b02 |
Test environment
================
Apple M1 Pro, macOS Ventura version 13.4
openjdk version "21-ea"
OpenJDK Runtime Environment (build 21-ea+23-1988)
OpenJDK 64-Bit Server VM (build 21-ea+23-1988, mixed mode, sharing)
================
Test application
================
SwingSet2.jar
SwingSet2 can be downloaded from:
https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html#swingset2
======================
Test to reproduce bugs
======================
1. On macOS, start VoiceOver (for example with shortcut Option-Command-F5).
2. Start SwingSet2.jar with jdk-21.
-> SwingSet2 window is displayed. The Togglebutton “JInternalFrame demo” has the keyboard focus.
3. Press Right Arrow key once.
-> The ToggleButton “JButton JRadioButton JToggleButton JCheckbox demo” has the keyboard focus.
4. Press Space key.
-> The tab group “Button Demo” is shown.
5. Press Tab key twice.
-> The Buttons tab has the keyboard focus.
4. Press Right Arrow key once.
-> The Radio Buttons tab is selected.
5. Press Tab key once.
-> The “Radio One” RadioButton has the keyboard focus.
VoiceOver announces “Entering Radio Buttons tab group. Radio One, radio button. You are currently on a radio button. To select this option, press Control-Option-Space.”
6. Press Control-Option-Space.
-> The “Radio One” RadioButton is selected.
VoiceOver announces “Selected, Radio One, radio button. You are currently on a selected radio button.
7. Press Control-Option-Right Arrow.
-> The “Radio Two” RadioButton, which is not selected, has the keyboard focus.
VoiceOver announces “Selected, Radio One, radio button. You are currently on a radio button. To select this option, press Control-Option-Space.”
Bug: VoiceOver announces the wrong radio button (Radio One instead of Radio Two).
Expected announcement: "Radio Two, radio button, 2 of 3. ..."
Note 1: This bug does not happen with jdk-20, tested with:
java version "20" 2023-03-21
Java(TM) SE Runtime Environment (build 20+36-2344)
Note 2: Mentioning a bug on VoiceOver announcement does not mean that the issue is on VoiceOver’s side, rather it is the result of the issue and the cause of the issue needs to be found.
- backported by
-
JDK-8311337 [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
-
- Resolved
-
-
JDK-8322281 [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
-
- Resolved
-
-
JDK-8310824 [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
-
- Closed
-
-
JDK-8344195 [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
-
- Closed
-
-
JDK-8346188 [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
-
- Closed
-
-
JDK-8347639 [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
-
- Closed
-
- relates to
-
JDK-8283400 [macos] a11y : Screen magnifier does not reflect JRadioButton value change
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/97d8ed2d
-
Commit openjdk/jdk21/1bcf0016
-
Commit openjdk/jdk/d1d2b55c
-
Review openjdk/jdk17u-dev/2054
-
Review openjdk/jdk21/59
-
Review openjdk/jdk/14605