RFR: 8286258: [Accessibility, macOS, VoiceOver] VoiceOver reads the spinner value wrong and sometime partially
Artem Semenov
asemenov at openjdk.org
Fri Jan 16 10:20:34 UTC 2026
On Wed, 14 Jan 2026 20:18:08 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> The issue with the announcement of the custom spin boxes is that the text field inside when the value is being changed by the spinbox data model generates some events that are being interpreted by the accessibility subsystem as if text is being actively edited and the system tries to announce it accordingly. In order to stop it from happening we are going to generate correct events and temporarily suppress the text field's methods that reporting the editing-related changes until the actual editing is happened.
>
> Make embedded text field not to generate random edit-related events;
> Add manual test case;
src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/SpinboxAccessibility.m line 1:
> 1: /*
I'm a bit confused that you iterate through all the children in `accessibilityValue` and select the value of the last one.
And in `postValueChanged`, you post a whole stack of notifications for all the children.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29235#discussion_r2697878728
More information about the client-libs-dev
mailing list