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

Abhishek Kumar abhiscxk at openjdk.org
Tue Aug 1 05:51:20 UTC 2023


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 using arrow key. 

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:
 - RadioButtonMenuItem and CheckBoxMenuItem fix

Changes: https://git.openjdk.org/jdk/pull/15098/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15098&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/jdk/pull/15098.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15098/head:pull/15098

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



More information about the client-libs-dev mailing list