RFR: 8286204: [Accessibility, macOS, VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS [v2]

Abhishek Kumar abhiscxk at openjdk.org
Mon Mar 3 12:11:31 UTC 2025


On Mon, 3 Mar 2025 10:19:53 GMT, Artem Semenov <asemenov at openjdk.org> wrote:

> > > > Since the fix is in Java Component, verified fix with JAWS on windows. I don't see any side effects in announcement. Manual test case is added to verify the fix.
> > > 
> > > 
> > > If this error affects only macOS, try looking for a solution somewhere in `src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/SpinboxAccessibility.m`.
> > 
> > 
> > Probable fix is related to the `Text Component` of a spinner and I didn't get any fix in SpinboxAccessibility.m. I can try to push the fix to macOS related class (which won't impact the Windows announcements). Will update the PR after testing it.
> 
> Many accessibility elements in macOS have native implementations… while others are implemented using a single universal component

Pushed fix to `src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessible.java` to have no impact on windows. VO announcements seems correct with the latest changes.

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

PR Comment: https://git.openjdk.org/jdk/pull/23841#issuecomment-2694112910


More information about the client-libs-dev mailing list