On Fri, 10 Mar 2023 11:59:07 GMT, Abhishek Kumar <[email protected]> wrote:

> 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 notified the 
> native side whenever state change event occurred.
> Verified with the Swingset2 demo.
> 
> Steps to reproduce:
> This can be verified using swingset2 demo. 
> Steps to reproduce are mentioned in JBS.
> 
> Note: The same behavior is observed for JTogglebutton also, added the same 
> logic to handle toggle button too.

This pull request has now been integrated.

Changeset: eefbaa29
Author:    Abhishek Kumar <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/eefbaa29567f89e0c28425fe4ed4bddef3a14891
Stats:     10 lines in 1 file changed: 10 ins; 0 del; 0 mod

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

Reviewed-by: serb, asemenov

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

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

Reply via email to