RFR: 8283400: [macos] a11y : Screen magnifier does not reflect JRadioButton value change

Abhishek Kumar abhiscxk at openjdk.org
Fri Mar 10 12:07:13 UTC 2023


Screen magnifier doesn't reflect the JRadiobutton checked/unchecked state.
After selecting JRadioButton, the screen magnifier does not show that JRadioButton is selected. When mouse is moved away and moved back on the JRadioButton, magnifier shows the checked state.

Correct behavior should be to show the checked/unchecked state immediately while using magnifier.

Solution:
Added a condition to check if component is JRadioBUtton and motified the native side whenever state change event occured.
Verified with the Swingset2 demo.

Steps to reproduce:
This can be verified using swingset2 demo. 
Steps to reproduce are mentioned in JBS.

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

Commit messages:
 - JRadiobutton value change fix for screen magnifier

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

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



More information about the client-libs-dev mailing list