RFR: 8286258: [Accessibility, macOS, VoiceOver] VoiceOver reads the spinner value wrong and sometime partially

Alexander Zuev kizune at openjdk.org
Wed Jan 21 20:00:49 UTC 2026


On Wed, 21 Jan 2026 08:30:29 GMT, Prasanta Sadhukhan <psadhukhan 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/NavigableTextAccessibility.m line 19:
> 
>> 17:  *
>> 18:  * You should have received a copy of the GNU General Public License version
>> 19:  * 2 along with this work; if not, write to the Free Software Foundation,
> 
> line deleted by mistake?

Oops... Thanks for pointing it out, restoring.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29235#discussion_r2714120932


More information about the client-libs-dev mailing list