On Fri, 28 Feb 2025 11:22:58 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:
> VoiceOver is unable to announce the correct value for spinner. For JSpinner > with maximum value of more than 10, VO announce 10 as 1, 20 as 2 and so on. > Probable reason is the "ACCESSIBLE_TEXT_PROPERTY" fired by accessible > JTextComponent that leads to wrong range value invoked for accessibility API > by VO. > Workaround fix is to ensure "ACCESSIBLE_TEXT_PROPOERTY" is not fired in case > of JSpinner with numeric values. > > 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. > > CI pipeline testing is ok for the proposed fix. This pull request has now been integrated. Changeset: cd9f1d3d Author: Abhishek Kumar <abhis...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/cd9f1d3d921531511a7552807d099d5d3cce01a6 Stats: 81 lines in 2 files changed: 80 ins; 0 del; 1 mod 8286204: [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS Reviewed-by: honkar, kizune, asemenov ------------- PR: https://git.openjdk.org/jdk/pull/23841