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 06:42:02 UTC 2025


On Tue, 4 Mar 2025 05:47:32 GMT, Artem Semenov <asemenov at openjdk.org> wrote:

>> Native spinner and Java spinner is not a similar UI component and the issue lies in the text component of JSpinner. I don't find any probable solution in native side implementation of spin box.
>> 
>> This seems a simple workaround fix for the issue right now.
>
> I like this solution, I just ask you to consider replacing the ```instance of``` check with a role comparison…

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.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23841#discussion_r1978716578


More information about the client-libs-dev mailing list