RFR: 8286204: [Accessibility, macOS, VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS [v3]
Abhishek Kumar
abhiscxk at openjdk.org
Tue Mar 4 11:40:56 UTC 2025
On Tue, 4 Mar 2025 11:12:55 GMT, Artem Semenov <asemenov at openjdk.org> wrote:
>> ohh ok... role comparison will not work here because the role is "AccessibleRole.TEXT" and we want to ignore the property change only if the parent is a JSpinner with NumberEditor.
>
> We can check the role of the parent and the current element.
> The parent should be a spin box, the current one should be a text element.
I checked it before, the parent role is `Panel` and current element role is `Text` and that results in inconsistent announcement.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23841#discussion_r1979256513
More information about the client-libs-dev
mailing list