RFR: 8348936: [Accessibility,macOS,VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS [v2]
Abhishek Kumar
abhiscxk at openjdk.org
Wed Feb 5 14:02:30 UTC 2025
On Wed, 5 Feb 2025 13:49:00 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:
>>> It shouldn't impact the announcements. One button gets deselected, another one gets selected…
>>
>> >Yet now that I think about it more, we may want to skip announcing deselecting a button in the group when > selection moves to another button.
>>
>> I checked with the changes you suggested for RadioButton and that impacts the announcement. Checked with Swingset2 application and VO announce the RadioButtons incorrect.
>>
>> No such issue with existing condition.
>
>> Yet now that I think about it more, we may want to skip announcing deselecting a button in the group when selection moves to another button.
>
> Deselected state is not announced but RadioButton labels are incorrectly announced with the changes.
>What about the case where currently focused or unfocused selected button gets deselected programmatically? Is there an interactive way to deselect a radio button when it's the only button in its own group?
I tried deselecting a RadioButton programmatically by clicking on a button.
If RadioButton is a part of ButtonGroup, it won't get deselected. In case of standalone RadioButton, it will get deselected but VO won't announce anything as the focused element is the Button (clicked to change state of RB).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23436#discussion_r1942995883
More information about the client-libs-dev
mailing list