[jdk21u] RFR: 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem

Abhishek Kumar abhiscxk at openjdk.org
Wed Aug 9 06:07:45 UTC 2023


This is backport of https://bugs.openjdk.org/browse/JDK-8311160 to jdk21u.

VoiceOver doesn't announce anything for JRadioButtonMenuItem and JCheckBoxMenuItem when navigated with down arrow key. JRadioButtonMenuItem and JCheckBoxMenuItem are having an accessible role of RadioButton and CheckBox respectively and it is required to notify native side whenever they are selected.

Added the required fix and tested with SwingSet2 application. CI testing is also fine.

Fix can be tested with SwingSet2 application and test instructions are mentioned in [JDK-8311160](https://bugs.openjdk.org/browse/JDK-8311160) description.

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

Commit messages:
 - Backport c1f4595e64b0ea0439c6e7f61a6a92b56b526d97

Changes: https://git.openjdk.org/jdk21u/pull/48/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21u&pr=48&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8311160
  Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk21u/pull/48.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u.git pull/48/head:pull/48

PR: https://git.openjdk.org/jdk21u/pull/48


More information about the jdk-updates-dev mailing list